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 »
MusicLibrary2 - Version 5.2/5.3

 
  • 0 Vote(s) - 0 Average
MusicLibrary2 - Version 5.2/5.3
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#31
2007-01-16, 07:25 PM
No HtV was correct, it's actually the update time.

So for yours you would probably want:
  • scan every - 1 day (I have mine on 5, my collection doesn't change that much
  • Scan hour = 3 (= 3 am or whenever your machine starts up)


The update frequency you are talking about is the fast scan, which is not really relelvant for you as your machine is mostly asleep when it gets it's changes.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#32
2007-01-16, 07:28 PM
melearp Wrote:Problem: I just downloaded the latest from the wiki - hope it includes your patch - and now when I select any Artist or Album which contains a single quote character, the subordinate panes are empty (if All is selected it is OK). So Oasis (What's the Story) Morning Glory has no tracks displayed. It is all there and in the Database of course.

As for this one, did you always have a problem, or just one the recent version (5.4)??. I imagine this would probably be worse in 5.4 as I did away with some of the nice parameters in the db queries. THere was something funny about them if you were an MDB user.

I think I'll be putting them back it and doing something else for MDB - especially if I've broken yours, or are you MDB?
melearp
Offline

Member

Posts: 93
Threads: 11
Joined: Oct 2005
#33
2007-01-16, 07:33 PM
Yes, sorry I was reading the wrong line. Anyway, the question still stands, as I would like to be sure that the update occurs at a particular point (not time) in the job.

I suppose that I am a bit old fashioned in that many years ago I used to produce systems with substantial nightly processing. The best design for such systems is event based (things happen in sequence or in parallel and synchronise on events) rather than time based. It just seems messy to have one set of activities having to finish by a particular time and then wait until another time to restart. And I would have to put in reasonably large margins so that stuff didn't get entangled. Unless you have any other suggestions?
melearp
Offline

Member

Posts: 93
Threads: 11
Joined: Oct 2005
#34
2007-01-16, 07:37 PM
The quote problem is definately new. It didn't happen at all before. I am on SQLite. It is also quite consistent. I heve checked it out an several artist and album names.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#35
2007-01-16, 07:56 PM
Ok, I'll have to split my code further for the MDB users and go back to using parameters.

As for the other one I could potentially knock together a little command line app to run the update externally - hmm, isn't this how reven did things with MyMusic??

If you've got some programming experience with C# of Vb.Net you may be able to see what is exposed from ML2, but I'll have a look for you as well.

You just want it to scan all directories and update the DB?
melearp
Offline

Member

Posts: 93
Threads: 11
Joined: Oct 2005
#36
2007-01-16, 08:43 PM
I haven't done any c# or VB.Net. I use Java for serious stuff these days. But for this kind of processing I use a combination of plain old batch files plus JScript and/or VBScript with the cscript interpreter. The latter two can do most things that I need, including accessing exposed methods from other applications.

I would be very happy with the equivalent to hitting the Scan Now button in the config application. Even with a large collection this is fast and only goes to get tags for changed or new files. Removing entries for missing files would also be necessary - it's amazing how often I find it necessary to rename files (which counts as an add and a delete).

I am very grateful for the help.
And my wife likes ML2 as well.
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#37
2007-01-28, 06:41 PM
Hi psycik,
I noticed quite a lot of ML2-logs in the log dir. Maybe add some automatic removing of the older ones? For the rest I'm completely happySmile
Re-installed the complete system last week. Something always goes wrong then doesn't it. I had everything prepared very good, clicked one ok too many in xp-install and got all my drive-letters mixed up.:eek: Took me a while too get that fixed. But as I said before I'm happy now and have time to bother other peopleWink
Cya Hans
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#38
2007-01-28, 06:54 PM
Yeah i thought I had that happening, guess not - that code was from somewhere else, I guess I missed the "clean up after yourself" bit.. Big Grin
melearp
Offline

Member

Posts: 93
Threads: 11
Joined: Oct 2005
#39
2007-01-31, 01:45 PM
Did you get anywhere with the "quote" problem? I can't move to the latest release until that is fixed :-(

And since my last post I have picked up some c#. the syntax isn't very different from java - it's just all the libraries are different. If you are able to expose the ability to poke ML2 to do a rescan then I can do the CL utility to invoke it.
melearp
Offline

Member

Posts: 93
Threads: 11
Joined: Oct 2005
#40
2007-01-31, 03:37 PM
Just been doing a bit of tinkering. How come I never noticed this before (I must be dumb):

MusicLibrary2: DB Error retrieving titles : SQLite error near "s": syntax error
31/01/2007 15:26:03.073 VERBOSE [1] MusicLibrary2: Query: SELECT artist,title,filename,album,tracknumber,duration,datemodified,hasart,pathid,composer FROM musiclibrary WHERE excludedatabase=0 AND (pathID=2 ) AND ARTIST='Oasis' AND ALBUM='(What's The Story) Morning Glory' ORDER BY tracknumber


So the problem is not a failure of some string routine. It is as simple as the quote in the album name (or any other query string) conflictig with the syntax of sql. This must be reasonably easy to fix, but it might mean scanning the text and escaping any quotes.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (7): « Previous 1 2 3 4 5 6 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Music Box 4 - Version 9.2 mvallevand 54 40,948 2011-11-09, 12:00 AM
Last Post: nia
  Music Box 4 - Version 9.1 mvallevand 116 51,600 2011-06-29, 03:40 AM
Last Post: Northpole
  MusicLibrary3 - Version 8.1 psycik 6 8,783 2011-01-06, 12:37 AM
Last Post: mvallevand
  MusicLibrary2 - Version 7 Support thread. psycik 124 64,039 2009-05-18, 06:26 AM
Last Post: pz1
  ML2 version 8 bugs pz1 9 5,081 2009-03-29, 07:50 AM
Last Post: psycik
  MusicLibrary2 and NAS? nchamp 23 9,473 2008-09-16, 08:56 PM
Last Post: psycik
  How do I clean isntall MusicLibrary2? vskatusa 23 9,326 2008-08-10, 11:02 PM
Last Post: psycik
  CDRipper Version 1.0 BETA - Support Thread psycik 22 8,492 2008-04-02, 08:25 PM
Last Post: MixMan
  gbpvr.exe (v1.1.5) and MusicLibrary2 (v7.1) Denjet 6 3,426 2008-03-25, 08:48 PM
Last Post: Denjet
  Managing Lists in Musiclibrary2 Sam 11 5,206 2008-03-11, 07:03 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