Rygel removes media file unexpectedly



Hi,

This shows up because SickBeard is trying to replace an existing file
(new copy downloaded, so SB runs rm-then-cp)

To replicate the problem by hand:
* Have a file ready, e.g. /tmp/vid.mp4 and a media dir that Rygel
monitors, e.g. /home/rygel/media/
* rm -f /home/rygel/media/vid.mp4; cp /tmp/vid.mp4 /home/rygel/media/

At this point -- if /home/rygel/media/vid.mp4 already existed -- every
once in a while the end result is that /home/rygel/media/vid.mp4 does
not exist!
If it does exist, re-run the command (rm..; cp..) a few (10?) times
until the file does not exist.

Interestingly, SickBeard is able to trigger this 100% of the time, since
it does operations in Python (maybe faster than shell commands?). Note:
bug is gone when Rygel is not running, so it's not really a SickBeard bug.


~Konstantin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]