Force scan of directory

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1920
    sonichouse
    Participant

    When I have loaded new files to my podcast directory I issue the following

    wget --delete-after -q "http://mt-daapd:mt-daapd@slug:3689/config-update.html?action=rescan"

    Would it be possible to specify a specific sub directory rather than the whole music folders ? e.g.

    wget --delete-after -q "http://mt-daapd:mt-daapd@slug:3689/config-update.html?action=rescan&dir=mp3/podcasts"

    This would be a more efficient process if only a few files have been added/removed.

    thanks, Steve

    #14281
    rpedde
    Participant

    @sonichouse wrote:

    When I have loaded new files to my podcast directory I issue the following

    wget --delete-after -q "http://mt-daapd:mt-daapd@slug:3689/config-update.html?action=rescan"

    Would it be possible to specify a specific sub directory rather than the whole music folders ? e.g.

    wget --delete-after -q "http://mt-daapd:mt-daapd@slug:3689/config-update.html?action=rescan&dir=mp3/podcasts"

    This would be a more efficient process if only a few files have been added/removed.

    thanks, Steve

    Yeah, actually that would. I need to do something for a single file as well, but I don’t have that yet either.

    I’ll add that on the current feature request list.

    #14282
    sonichouse
    Participant

    @rpedde wrote:

    Yeah, actually that would. I need to do something for a single file as well, but I don’t have that yet either.

    I’ll add that on the current feature request list.

    Hi Ron,

    Whilst we are at it, can we have a function to remove a file from the database.

    I delete podcasts after they are 35 days old, but unless I force a full scan, they are still in the database.

    I could write some shell script to delete the associated row from the songs table, but I would prefer to send this as a http request.

    Thanks, Steve.

    #14283
    rpedde
    Participant

    @sonichouse wrote:

    @rpedde wrote:

    Yeah, actually that would. I need to do something for a single file as well, but I don’t have that yet either.

    I’ll add that on the current feature request list.

    Hi Ron,

    Whilst we are at it, can we have a function to remove a file from the database.

    I delete podcasts after they are 35 days old, but unless I force a full scan, they are still in the database.

    I could write some shell script to delete the associated row from the songs table, but I would prefer to send this as a http request.

    Thanks, Steve.

    That makes sense…

    — Ron

    #14284
    sonichouse
    Participant

    @rpedde wrote:

    That makes sense…
    — Ron

    Wow, two sensible suggestions in a row, I’m on a roll 😆

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Feature Requests’ is closed to new topics and replies.