Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#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


  • Anonymous
    2013-03-03

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

     

  • Anonymous
    2013-04-21

    • summary: File not add to minidlna sever --> Media file not add to minidlna sever
    • priority: 5 --> 7
     

  • 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

     

  • Anonymous
    2013-04-21

    • assigned_to: nobody --> jmaggard
     
    Last edit: Anonymous 3 days ago
  • 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.