Bug 4917 - After deleting a track from Music folder, the track is still in the Browser frame.
: After deleting a track from Music folder, the track is still in the Browser f...
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 6.5.2
: PC Windows XP
: -- enhancement (vote)
: Future
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-13 16:25 UTC by Wallace Lai
Modified: 2011-11-06 23:23 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
Deleted tracks still on SlimServer web page. (2.25 MB, image/bmp)
2007-04-13 16:28 UTC, Wallace Lai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wallace Lai 2007-04-13 16:25:09 UTC
System Info:  Gateway, P4, 2.0 GHz, 1.25 GB in RAM, XP SP2, IE 6.0.2900.2180
SlimServer Version:  6.5.2 - 11726
Perl Version:  5.8.8 MSWin32-x86-multi-thread
MySQL Version:  5.0.22-community-nt

Steps:
1.  Start SlimServer.
2.  Start the web interface.
3.  In Windows, add some songs to the Music Folder.
4.  On SlimServer web page, go to Music Folder.  The songs are there.  Play them, and they play.
5.  On Windows, delete the songs from the Music Folder.
6.  Close the SlimServer web interface.
7.  Start the web page again.
8.  Go to Music Folder.
9.  Notice the songs are still there.
10.  Play one of them.  As expected, it does not play.  In fact, the frame on the right hand side becomes completely blank.
Comment 1 Wallace Lai 2007-04-13 16:28:35 UTC
Created attachment 1906 [details]
Deleted tracks still on SlimServer web page.
Comment 2 KDF 2007-04-13 18:35:02 UTC
I believe you should find this already reported elsewhere.  the database doesn't handle deleted tracks in any quick fashion (if at all)
Comment 3 KDF 2007-04-30 21:29:37 UTC
If you do a scan for "new and changed" is it cleaned up at that time?  
Comment 4 Wallace Lai 2007-05-01 14:51:59 UTC
Yes, rescanning takes care of the problem.  It would be nice to have it updated automatically.  I am lowering the priority to  enhancement request.
Comment 5 KDF 2007-05-01 21:39:22 UTC
it was on the "todo" list.  I'm not sure what Dan had in mind for how to implement, but at least the code to do cleanup is there once we come up with the appropriate mechanics for calling the code.

- do we check during browse music folder and delete?
- do we set up an automatic scanner.pl launch in background every so often
- does someone really kind come up with a way to monitor the filesystem live?

 
Comment 6 Chris Owens 2007-05-02 14:33:30 UTC
In windows at least there is some kind of system notification you can subscribe to that can inform your application of filesystem changes, but I don't know anything about it really other than I've heard it exists.  And it wouldn't work on macs or any other platform.
Comment 7 Alan Young 2011-11-06 23:23:18 UTC
Unassigned bugs cannot have a priority.