andyg;423788 Wrote: 
> On May 16, 2009, at 2:27 AM, erland wrote:
> 
> >
> > andyg;423371 Wrote:
> >>
> >> You may want to take a look at what I did for the tracks_persistent
> >> table.  In 7.3.3 it exports a JSON file of all the data and this is
> >> imported back into SQLite the first time you run 7.4.
> >>
> > Is this only available in 7.3.3 and not in 7.4 trunk ?
> >
> > The reason I'm asking is because I did as follows on my development
> > machine and all my ratings were lost.
> >
> > 1. Used latest 7.4 trunk svn version and performed a rescan and  
> > ratings
> > are shown in the web interface in Song Info page.
> > 2. Shutdown the 7.4 trunk version
> > 3. Checked out latest 7.4 noweb-sqlite branch and started it
> pointing
> > to the same cache directory as used in step 1.
> 
> Yep this should have worked.  Look for tracks_persistent.json in the  
> same place as server.prefs.  Also check the scanner.log for a  
> "Migrating" line.
> 
> Try updating to the latest code, the playlist transaction issues  
> should be fixed.

Tried latest svn (26681), still the same problems. Both the playlist
transction issues and the missing ratings problem remain.

scanner.log and server.log and tracks_persistent.json attached.

The server log also contains old entries, so look at the end which
shows the latest try. The tracks_persistent.json file seems to contain
the ratings but they aren't transferred to the
squeezecenter-persistent.db file for some reason.

I'm starting SqueezeCenter with the following script (if it matters):

Code:
--------------------
    
  #!/bin/sh
  export 
PERL5LIB=$PERL5LIB:/opt/squeezecenter74_sqlite:/opt/squeezecenter74_sqlite/CPAN
  export PATH=/opt/squeezecenter74_sqlite:$PATH
  slimserver.pl --cachedir /var/lib/squeezecenter/Cache74LiteSmall --prefsdir 
/home/erland/Configurations/Prefs74LiteSmall --logdir 
/var/lib/squeezecenter/Logs74LiteSmall $*
  
--------------------


I could write a bug report but it feels like there are tons of errors
in there when looking at the log files and I currently don't have the
time to investigate them all so I can write separate bug reports.


+-------------------------------------------------------------------+
|Filename: track_persistent.zip                                     |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=7430|
+-------------------------------------------------------------------+

-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) 'My download page'
(http://erland.isaksson.info/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=63397

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to