Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #59 (new defect)

Opened 5 years ago

Last modified 5 years ago

Discoved new music through Browse Music Folder can't be lazy searched

Reported by: stuarth Owned by: stuarth
Priority: major Milestone:
Component: Plugin Version: 2.3
Keywords: Cc:

Description

When using the Browse Music Folder function to discovery newly added music to the library, that new music cannot then be searched with the Lazy Search Music plugin until a database rescan is performed.

Change History

comment:1 Changed 5 years ago by stuarth

The reason for this is that SlimServer adds such music to the database, but it doesn't notify plugins of this database change. Thus, the Lazy Search Music plugin isn't aware that there is new music to lazify in the database.

Ways to solve this include:

  1. This plugin could periodically look to see if there is content in the database to lazify. That would work, but I'm concerned that it may create seemingly-random performance problems (stuttering etc on slow systems), and so I'm reluctant to go down that path.
  2. Modify SlimServer to notify plugins when it has updated the database in this way.

comment:2 Changed 5 years ago by stuarth

This problem, and a patch that addresses approach 2 above, can be found in  SlimBugzilla:4812.

As I think this is a SlimServer problem I'll leave that SlimServer Bugzilla entry to track it. If the core devs squash it I might do something to address case 1 (I'd make it configurable, though, so the user could enable or disable that functionality).

Note: See TracTickets for help on using tickets.