Fix for droopy and minidlna June 19, 2015 12:31PM |
Registered: 9 years ago Posts: 5 |
--- /opt/piratebox/bin/droopy 2015-06-19 11:33:20.216375704 +0000 +++ /opt/piratebox/bin/droopy.2 2015-06-19 11:33:30.306281245 +0000 @@ -918,6 +918,7 @@ fout = file(localpath, 'wb') shutil.copyfileobj(fileitem.file, fout) fout.close() + os.chmod(localpath, 0644) self.log_message("Received: %s", os.path.basename(localpath)) # -- ReplyThis will add one line in droopy to automatically change permission on dropped file to world-readable. That way minidlna will notice the file, read it and update its database, and provides the newly dropped file.
Re: Fix for droopy and minidlna June 24, 2015 08:37PM |
Registered: 9 years ago Posts: 36 |
Re: Fix for droopy and minidlna June 25, 2015 02:58PM |
Admin Registered: 14 years ago Posts: 4,680 |
Re: Fix for droopy and minidlna June 25, 2015 07:38PM |
Registered: 9 years ago Posts: 36 |
Re: Fix for droopy and minidlna June 25, 2015 08:25PM |
Admin Registered: 14 years ago Posts: 4,680 |