#189 Media file not add to minidlna sever

open
None
7
2013-04-21
2013-03-03
Anonymous
No

Reproduction procedure :

* Start minidlna
* Delete a multimedia file that is alone in a directory
* Restart minidlna
* Put a multimedia file back to the previous directory

=> File is not add to minidlna database

This is due to the fact that when we delete a file and the contener is now empty we delete the directory fron the database. This should not be the case as we store empty directory in the database in order to use then for inotify.

Find attach patch fixing the problem.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2013-03-03

    Patch also available at github repo : https://github.com/trishika/minidlna

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2013-04-21
    • summary: File not add to minidlna sever --> Media file not add to minidlna sever
    • priority: 5 --> 7
     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2013-04-21

    Patch fixing the problem

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2013-04-21

    Proposed patch fix wrong deletion of object

    * Remove only parent from object table not details to keep inotify
    * Remove it recursively on empty container

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2013-04-21
    • assigned_to: nobody --> jmaggard
     
    Last edit: Anonymous 2014-09-21
  • TeHashX

    TeHashX - 2013-05-13

    Thanks for this patch, solved my issue too:
    - if I copy a folder with a video file and a jpg inside
    - delete the jpg file
    - folder name is changing to NULL if I browse from dlna player
    the only way was to rebuild entire db

     
  • TeHashX

    TeHashX - 2013-05-23

    I used this patch for some time but unfortunately sometimes, minidlna stop working and I have to restart manually.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks