NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) Recording2, MusicLibrary2, SystemStatus Support v
« Previous 1 … 6 7 8 9 10 Next »
Problem playing random music when library updating

 
  • 0 Vote(s) - 0 Average
Problem playing random music when library updating
tkgafs
Offline

Senior Member

Posts: 594
Threads: 61
Joined: Jun 2004
#1
2007-03-16, 08:55 AM
Psycik,

I was playing a random stream on my mvp as usual last night, but it crashed when I suspect a new set of random tracks were about to be requested from the db, at the same time the daily scan for new tracks had just started.

below is an extract from the gbpvr log and I have attached extracts from the musiclibrary2 log as well

I'm using latest versions of gbpvr and musiclibrary2

Tkgafs


2007-03-16 03:03:07.843 VERBOSE [25] MVP request processed
2007-03-16 03:03:07.843 VERBOSE [26] Request 20000 bytes (file size:5018325 file location: 5018325)
2007-03-16 03:03:07.843 VERBOSE [26] Not all bytes read. Got:0 Filesize now:5018325
2007-03-16 03:03:07.843 VERBOSE [26] End of stream
2007-03-16 03:03:07.875 VERBOSE [25] MVP data read: 1 (9)
2007-03-16 03:03:07.875 VERBOSE [25] MVP request processed
2007-03-16 03:03:07.875 VERBOSE [26] MVP Streaming Server received STOP message
2007-03-16 03:03:07.875 VERBOSE [26] Song ended. Checking if there are more songs to play.
2007-03-16 03:03:07.875 VERBOSE [26] Playlist size: 39 current index: 37
2007-03-16 03:03:07.875 VERBOSE [26] About to start playback of Q:\Music\Include\Hugh Banton - Goldberg Variations\11 - Variation X (Fughetta).mp3
2007-03-16 03:03:08.843 ERROR [26] Media stream thread caught exception: System.Data.SQLite.SQLiteException: Library used incorrectly
library routine called out of sequence
at System.Data.SQLite.SQLite3.Close()
at System.Data.SQLite.SQLiteConnection.Close()
at MusicLibrary.MediaLibrary.GetTitles(String primary, String secondary, Boolean checkMissing, Boolean orderByTrack, Boolean keyByFilename, Boolean random)
at MusicLibrary.MediaLibrary.RandomPlaylist(String primary, String secondary, Int32 minutes)
at MusicLibrary.MediaLibrary.Notify(EventTypes eventType, String eventText)
at GBPVR.Backend.Common.xc4f12ec3a8a4c96b.x85b8d963f05ddf09(EventTypes x4f04899de3605e17, String xbc19b591abc4848a)
at GBPVR.x62b73fb0db4f3947.x826e5d374a1e5ab9(String x8b449efd64797843, Boolean x859a785ef30c9007, Boolean xe1ea8da9364d6bfb)
at GBPVR.x62b73fb0db4f3947.x2cf8d59067433309()
at GBPVR.xbb1566157f5f8b1f.xf9d81bb81f7c2ff0()
2007-03-16 03:03:08.843 VERBOSE [26] MVP Streaming Thread shutting down...
2007-03-16 03:03:08.921 VERBOSE [26] MVP Streaming Thread shutdown finished
2007-03-16 03:03:10.640 VERBOSE [1] videoInsetVisible = false
2007-03-16 03:03:10.718 VERBOSE [1] MusicPlaybackManager.stop()
2007-03-16 03:03:11.109 VERBOSE [25] MVP data read: 1 (7)
2007-03-16 03:03:11.109 VERBOSE [25] Got ACK
2007-03-16 03:03:11.375 VERBOSE [25] MVP request processed
2007-03-16 03:03:11.375 VERBOSE [25] MVP data read: 1 (3)
2007-03-16 03:03:11.375 VERBOSE [25] MVP request processed
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#2
2007-03-16, 07:43 PM
hmm, not sure what could be done about this. I'm seriously thinking of "externalising" the library update part, because some other requests by users.

Does it happen often or has it just been a one off at this stage?
tkgafs
Offline

Senior Member

Posts: 594
Threads: 61
Joined: Jun 2004
#3
2007-03-16, 10:09 PM
psycik Wrote:hmm, not sure what could be done about this. I'm seriously thinking of "externalising" the library update part, because some other requests by users.

Does it happen often or has it just been a one off at this stage?

Probably a one-off my normal update is scheduled for 03:00 in the morning and last night I happened to be working very late and was listening to ML2 at the same time. And presumably it just happened that the random playlist needed refreshed just as the daily update was taking place

presumably you could set a flag that the update was in progress and that no access to the library was available at this point, then have the playing code check every minute or so until it can get access again when the flag is unset.

It may have happened before but I have no actual idea

I'd be quite happy to have to manually update the library externally

tkgafs
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Music Box 4 - M3U files and Genres R1Dave 5 13,991 2011-12-03, 07:27 PM
Last Post: R1Dave
  Music Box 4 - Version 9.2 mvallevand 54 40,924 2011-11-09, 12:00 AM
Last Post: nia
  Music Box 4 - Version 9.1 mvallevand 116 51,501 2011-06-29, 03:40 AM
Last Post: Northpole
  windows updates broken ML2 random play fuzzweed 1 5,594 2010-08-21, 05:31 PM
Last Post: fuzzweed
  Move ML2/ML3 to open source library psycik 3 6,774 2009-08-23, 06:06 PM
Last Post: pz1
  ML2v8 stops after 3 random play lists fuzzweed 2 2,859 2009-05-21, 10:56 PM
Last Post: psycik
  Problem reading Files Flyndr 14 6,643 2009-01-01, 10:19 AM
Last Post: Flyndr
  ML2 Not Playing Some MP3s fional 1 2,248 2008-08-14, 03:51 PM
Last Post: fional
  visualisations and Music Videos Captcol 5 3,766 2008-05-02, 12:46 AM
Last Post: Captcol
  Music Library2 v6.7 - BETA psycik 204 52,064 2008-03-23, 10:21 PM
Last Post: psycik

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode