Re: [SlimDevices: Plugins] Trackstat restore only partially restores ratings

2016-02-08 Thread yocky

I did all that last month. Did you get a chance to take a look?



yocky's Profile: http://forums.slimdevices.com/member.php?userid=16305
View this thread: http://forums.slimdevices.com/showthread.php?t=104919

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore only partially restores ratings

2016-01-07 Thread erland

yocky wrote: 
> I re-ran the restore operation with exactly the same result. The same
> ratings are missing as before.
> 
> I can see the same musicbrainz tag referred to in the backup file as in
> one of the tracks still  missing its rating.
> 
Would it be possible for you to do the following ?
1. Shutdown LMS and take a copy of library.db file in LMS Cache
directory and zip it and mail it to me
2. Mail me the server.log file or the section of the server.log file
which contains the errors regarding the files that aren't properly
restored
3. Zip and mail me the TrackStat backup file which you are trying to
restore

This will make it a bit easier for me to understand what's going on.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
LEAD PLATFORM DEVELOPER OF 'ICKSTREAM MUSIC PLATFORM'
(HTTP://WWW.ICKSTREAM.COM) -  A WORLD OF MUSIC AT YOUR FINGERTIPS

(Also developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). If you like to
encourage future presence on this forum and/or third party plugin/applet
development, 'consider purchasing some plugins'
(http://license.isaksson.info))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=104919

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore only partially restores ratings

2016-01-04 Thread yocky

I re-ran the restore operation with exactly the same result. The same
ratings are missing as before.



yocky's Profile: http://forums.slimdevices.com/member.php?userid=16305
View this thread: http://forums.slimdevices.com/showthread.php?t=104919

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore only partially restores ratings

2016-01-04 Thread erland

yocky wrote: 
> I just installed LMS 7.9 on a second PC and copied my music library
> over.
> 
> The file names are identical but the path is slightly different
> (e:\music\ instead of  i:\all\music), however the files I'm really
> interested in are musicbrainz tagged so I didn't think this was
> important.
> 
> I did a fresh scan and then a trackstat restore from my latest backup
> file.
> 
> This has partially worked. Some ratings have been restored and some
> haven't. Even stranger is that the playcount seems to have been restored
> for even the tracks that haven't had the ratings restored.
> 
> Any ideas?

Have you waited for the restore operation to finish ?
It runs in the background and it can take a few hours if you have a
large library or a large backup file.
There is a message in the LMS server.log file when the restore has
completed.

If you have the "Find alternative files" option enabled in TrackStat
backup settings page it should find the files as long as it's only the
beginning of the path that has changed. However, it can take a long time
to run the restore operation with this option enabled.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
LEAD PLATFORM DEVELOPER OF 'ICKSTREAM MUSIC PLATFORM'
(HTTP://WWW.ICKSTREAM.COM) -  A WORLD OF MUSIC AT YOUR FINGERTIPS

(Also developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). If you like to
encourage future presence on this forum and/or third party plugin/applet
development, 'consider purchasing some plugins'
(http://license.isaksson.info))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=104919

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore only partially restores ratings

2016-01-04 Thread yocky

erland wrote: 
> Have you waited for the restore operation to finish ?
> It runs in the background and it can take a few hours if you have a
> large library or a large backup file.
> There is a message in the LMS server.log file when the restore has
> completed.
> 
> If you have the "Find alternative files" option enabled in TrackStat
> backup settings page it should find the files as long as it's only the
> beginning of the path that has changed. However, it can take a long time
> to run the restore operation with this option enabled.

Yes, I left the operation running and went out for the day (I remember
it taking a long time previously).

I think I checked the server log and saw that the restore has finished,
can't be sure though.

I did have the "find alternative files option enabled" as well as using
musicbrainz tags...but like I said the strange thing is that some
rating have been restored and some haven't.

I'll re-run the restore and see what happens.



yocky's Profile: http://forums.slimdevices.com/member.php?userid=16305
View this thread: http://forums.slimdevices.com/showthread.php?t=104919

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] Trackstat restore only partially restores ratings

2015-12-30 Thread yocky

I just installed LMS 7.9 on a second PC and copied my music library
over.

The file names are identical but the path is slightly different
(e:\music\ instead of  i:\all\music), however the files I'm really
interested in are musicbrainz tagged so I didn't think this was
important.

I did a fresh scan and then a trackstat restore from my latest backup
file.

This has partially worked. Some ratings have been restored and some
haven't. Even stranger is that the playcount seems to have been restored
for even the tracks that haven't had the ratings restored.

Any ideas?



yocky's Profile: http://forums.slimdevices.com/member.php?userid=16305
View this thread: http://forums.slimdevices.com/showthread.php?t=104919

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat Restore

2013-06-13 Thread erland

mherger wrote: 
  By the way, I continued having problems with MIP stalling when
  dynamically update was enabled in custom scan for MIP export. I now
 just
  update it during scans. MIP doesn't crash or hang, but the database
 just
  stops updating and the service has to be restarted to make it work
  again.
 
 Unless this is Erland's custom MIP code in his plugins and he did a
 better  
 job than we did, then the issue might be that the plugin is still using 
 
 synchronous HTTP calls to MIP. This can block the server when responses 
 
 take a long time. It's been a thorn in our flesh for a long time, but we
 
 never got around to fix it...
 
 -- 
 
 Michael
 
I think the issue MeSue is is that MIP isn't updating its database, I
don't think this is related to the synchronous HTTP calls.
However, you are correct that my MIP integration is using synchronous
HTTP so if MIP stops responding it can cause LMS to be slow or
unresponsive.



erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=98959

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat Restore

2013-06-13 Thread MeSue

I disabled the option to look for alternates, and it seems to be
throwing a lot less errors. Hopefully this speeded it up, too. I am
still getting no matching file entries in the log for files I really
did remove from my library. How do I generate a Trackstat backup that is
cleaned of all these non-existant files? Some of these were deleted
years ago.



MeSue's Profile: http://forums.slimdevices.com/member.php?userid=985
View this thread: http://forums.slimdevices.com/showthread.php?t=98959

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat Restore

2013-06-13 Thread Michael Herger

By the way, I continued having problems with MIP stalling when
dynamically update was enabled in custom scan for MIP export. I now just
update it during scans. MIP doesn't crash or hang, but the database just
stops updating and the service has to be restarted to make it work
again.


Unless this is Erland's custom MIP code in his plugins and he did a better  
job than we did, then the issue might be that the plugin is still using  
synchronous HTTP calls to MIP. This can block the server when responses  
take a long time. It's been a thorn in our flesh for a long time, but we  
never got around to fix it...


--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat Restore

2013-06-13 Thread lrossouw

MeSue wrote: 
 Got it! Thanks for answering my many questions. 
 
 No pain no gain. This new server has already cut my scan times in half
 so when the painful switching part is over, it's going to be nice. 
 
 By the way, I continued having problems with MIP stalling when
 dynamically update was enabled in custom scan for MIP export. I now just
 update it during scans. MIP doesn't crash or hang, but the database just
 stops updating and the service has to be restarted to make it work
 again. 
 
 
 (Sent from my iPad using Tapatalk. Please pardon any typos!)

I also upgraded my server recently and it was a bit painful getting
everything as it was.  I ended up dropping MusicIP.  SmartMix plugin
does what MusicIP does and does it better in my mind.



lrossouw's Profile: http://forums.slimdevices.com/member.php?userid=3416
View this thread: http://forums.slimdevices.com/showthread.php?t=98959

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] Trackstat Restore

2013-06-13 Thread MeSue

I was 3 hours into a Trackstat restore and I know I should have not come
near anything, but I changed a setting and it triggered a rescan...
aaagghh! I suppose I have to start it all over.

Why does trackstat restore take so long and is there anything I can do
to speed it up? Last time I did it, it took--literally--half a day. Now
I am on a more powerful server but it still takes so darn long.

Also, I noticed the log is filling up with a lot of entries like:
[13-06-12 21:26:38.5028] Plugins::TrackStat::Storage::addToHistory (824)
No matching alternative path found for
file:GANDALF/Music/U2/1991%20-%20Achtung%20Baby/03%20One.mp3.

But I know the files are there.



MeSue's Profile: http://forums.slimdevices.com/member.php?userid=985
View this thread: http://forums.slimdevices.com/showthread.php?t=98959

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat Restore

2013-06-13 Thread MeSue

For the record, Trackstat restore took 3 hours the second time with the
option disabled for trying to match files. For around 25,000 tracks. I
also had MIP update disabled because that seems to slow it down, also. 

After it finished, I did what you said to remove unused statistics. It
only took a minute or two to complete, and then when I created a backup
it was very close in file size to the one I just restored, so I'm not
sure if that did anything. I'll check the XML when I gat back to my PC. 
Anyway, hopefully won't need another restore for a long long time. 

lrossouw wrote: 
 I also upgraded my server recently and it was a bit painful getting
 everything as it was.  I ended up dropping MusicIP.  SmartMix plugin
 does what MusicIP does and does it better in my mind.

I kind of like having MIP as a secondary storage for my stats. I have
needed it a few times when my ratings got hosed. I wasn't using Smart
Mix all that much because of the volume changes between local music and
Rhapsody, but I see Michael has included a setting for that and I'm
going to install it today. It's exciting to have some LMS development
going on again!



(Sent from my iPad using Tapatalk. Please pardon any typos!)



MeSue's Profile: http://forums.slimdevices.com/member.php?userid=985
View this thread: http://forums.slimdevices.com/showthread.php?t=98959

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat Restore

2013-06-13 Thread MeSue

Got it! Thanks for answering my many questions. 

No pain no gain. This new server has already cut my scan times in half
so when the painful switching part is over, it's going to be nice. 

By the way, I continued having problems with MIP stalling when
dynamically update was enabled in custom scan for MIP export. I now just
update it during scans. MIP doesn't crash or hang, but the database just
stops updating and the service has to be restarted to make it work
again. 


(Sent from my iPad using Tapatalk. Please pardon any typos!)



MeSue's Profile: http://forums.slimdevices.com/member.php?userid=985
View this thread: http://forums.slimdevices.com/showthread.php?t=98959

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat Restore

2013-06-13 Thread MeSue

Does Trackstat import in the same order that files are listed in the
backup XML file? If so, then it appears everything is there, even though
Custom Scan said it was still running. And the songs with those no
matching path entries have their stats when I check them. 

I will do a TrackStat export now, and see if the filesize matches pretty
closely to the one I imported. No, it is only 1/3 of the file size, so I
will try restoring again.



MeSue's Profile: http://forums.slimdevices.com/member.php?userid=985
View this thread: http://forums.slimdevices.com/showthread.php?t=98959

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat Restore

2013-06-13 Thread erland

MeSue wrote: 
 I disabled the option to look for alternates, and it seems to be
 throwing a lot less errors. Hopefully this speeded it up, too. 
 
Disabling the Find alternative files option should speed up the
restore process significantly.
If it does a rescan in the middle of the restore I think you need to
redo the restore to ensure everything is restored safely.

MeSue wrote: 
 
 I am still getting no matching file entries in the log for files I
 really did remove from my library. How do I generate a Trackstat backup
 that is cleaned of all these non-existant files? Some of these were
 deleted years ago.
 
After the restore have completed, use the Delete unused statistics
button in TrackStat settings page in the Backup/Restore/Clear section,
this will remove any TrackStat entries that points to non existing
files. This operation is likely going to completely hang LMS for a
while, so don't executing it when you are about to use the system to
play music.

The TrackStat data consists of:
- Current rating, playcounts and last played times: This is what you see
in most TrackStat based menus
- History of previous, ratings, play counts and last played times: This
is what you see in the ... recently... TrackStat browsed menus

The current rating, playcounts and last played times are restored first
and later in the restore process the history is restored, so possibly
this might be what makes it look like it had restored files which were
at the end of the file, it probably had restored the current statistics
for that file but not the history.



erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=98959

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] TrackStat restore on SBS 7.6

2011-07-27 Thread ltb76

Hi,

I just made a fresh SBS 7.6 install on Debian 6. I cannot restore my
TrackStat info, I get the error:


Code:


  [11-07-27 15:43:32.5177] Plugins::TrackStat::Storage::saveTrack (983) No 
matching alternative path found for 
file:///mnt/musik/ACDC/Black%20Ice%20(Rock%20-%202008)/02%20-Skies%20On%20Fire%20.flac.
  [11-07-27 15:43:32.8749] Plugins::TrackStat::Storage::saveTrack (983) No 
matching alternative path found for 
file:///mnt/musik/ACDC/Black%20Ice%20(Rock%20-%202008)/03%20-Big%20Jack%20.flac.
  [11-07-27 15:43:33.2339] Plugins::TrackStat::Storage::saveTrack (983) No 
matching alternative path found for 
file:///mnt/musik/ACDC/Black%20Ice%20(Rock%20-%202008)/04%20-Anything%20Goes.flac.
  



On my old SBS server I had the music in /mnt/musik - and I have keept
that folder structure.


Code:


  /mnt/musik/ACDC/Black Ice (Rock - )/02 -Skies On Fire.flac
  /mnt/musik/ACDC/Black Ice (Rock - )/03 -Big Jack.flac
  /mnt/musik/ACDC/Black Ice (Rock - )/04 -Anything Goes.flac
  



In the backup (XML) the urls for the files is looking like this


Code:


  
urlfile%3A%2F%2F%2Fmnt%2Fmusik%2FACDC%2FBlack%2520Ice%2520(Rock%2520-%25202008)%2F02%2520-Skies%2520On%2520Fire%2520.flac/url
  
urlfile%3A%2F%2F%2Fmnt%2Fmusik%2FACDC%2FBlack%2520Ice%2520(Rock%2520-%25202008)%2F03%2520-Big%2520Jack%2520.flac/url
  
urlfile%3A%2F%2F%2Fmnt%2Fmusik%2FACDC%2FBlack%2520Ice%2520(Rock%2520-%25202008)%2F04%2520-Anything%2520Goes.flac/url
  



I'm guessing its the spaces in the folder / file names that is causing
the issue.

Would it be enough to modify the XML file to:


Code:


  urlfile/mnt/musik/ACDC/Black Ice (Rock - )/02 -Skies On Fire.flac/url
  urlfile/mnt/musik/ACDC/Black Ice (Rock - )/03 -Big Jack.flac/url
  urlfile/mnt/musik/ACDC/Black Ice (Rock - )/04 -Anything Goes.flac/url
  



Or do I need to rename all my files/folders and get rid of the spaces?
Or is there another way to fix this?

Any input much appreciated.

Cheers,


-- 
ltb76

ltb76's Profile: http://forums.slimdevices.com/member.php?userid=5763
View this thread: http://forums.slimdevices.com/showthread.php?t=89076

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat restore on SBS 7.6

2011-07-27 Thread erland

The backup file url's are URL encoded, so it should in the database in
tracks table match an entry referred to as:

Code:


  
file:///mnt/musik/ACDC/Black%20Ice%20(Rock%20-%202008)/02%20-Skies%20On%20Fire%20.flac
  



Which on the file system should match:

Code:


  /mnt/musik/ACDC/Black Ice (Rock - 2008)/02 -Skies On Fire .flac
  



Is this the correct path on the file system ?
With Rock - 2008 in the middle and not just Rock -  as you wrote ?
And an extra space before .flac at the end ?

Do you get these warnings on all files or just a few of them ?

If you have renamed files previously, this might just be warning about
old entries in the backup which no longer exist on the file system but
if you get them for all or most entries something is wrong.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=89076

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat restore on SBS 7.6

2011-07-27 Thread ltb76

I'm getting the message for a large amount of tracks.
However, after a reboot my trackstats appears to be back, so I'm
guessing that it must be warnings about old entries. (its been months
since the mentioned folder was renamed)

Do I need to press Delete unused statistics to clean up my DB?
Is there a way to get the plug-in to do this cleaning as a part of a
maintenance schedule?

Cheers,

Lasse


-- 
ltb76

ltb76's Profile: http://forums.slimdevices.com/member.php?userid=5763
View this thread: http://forums.slimdevices.com/showthread.php?t=89076

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat restore on SBS 7.6

2011-07-27 Thread erland

ltb76;643879 Wrote: 
 
 Do I need to press Delete unused statistics to clean up my DB?
 
No I don't think that should be necessary it should be clean if you
just upgraded to 7.6 as 7.6 creates a new fresh database. 

ltb76;643879 Wrote: 
 
 Is there a way to get the plug-in to do this cleaning as a part of a
 maintenance schedule?
 
Not at the moment.

If you like to ensure TrackStat data is ok, you can install the
Database Query plugin and look at its TrackStat Statistics query.
In a setup that has been using TrackStat for a while the Number of
history entries entry should be considerably higher than the Number
of songs entry.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=89076

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TrackStat restore on SBS 7.6

2011-07-27 Thread ltb76

erland;643884 Wrote: 
 If you like to ensure TrackStat data is ok, you can install the
 Database Query plugin and look at its TrackStat Statistics query.
 In a setup that has been using TrackStat for a while the Number of
 history entries entry should be considerably higher than the Number
 of songs entry.

Great thanks for the tip :)


-- 
ltb76

ltb76's Profile: http://forums.slimdevices.com/member.php?userid=5763
View this thread: http://forums.slimdevices.com/showthread.php?t=89076

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] trackstat restore

2009-10-06 Thread noguru

Not even sure how it happened, but after a reinstall of 7.4 now seem to
have Trakstat stats restored.
Thanks to everyone who offered help.
Now just need to work out why Squeezebox server is taking up to an hour
to start up.

Noguru


-- 
noguru

noguru's Profile: http://forums.slimdevices.com/member.php?userid=27520
View this thread: http://forums.slimdevices.com/showthread.php?t=68572

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] trackstat restore

2009-10-06 Thread erland

noguru;467548 Wrote: 
 
 Now just need to work out why Squeezebox server is taking up to an hour
 to start up.
 
It's probably caused by TrackStat (or possibly Custom Scan) plugin if
you have that installed.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(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=68572

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] trackstat restore

2009-10-05 Thread noguru

Still banging my head against a brick wall with this. Any one any
suggestions. I can't see where trakstat data is stored. Error log seems
to suggest to me that the location no longer exists so restore is not
possible.

Noguru


-- 
noguru

noguru's Profile: http://forums.slimdevices.com/member.php?userid=27520
View this thread: http://forums.slimdevices.com/showthread.php?t=68572

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] trackstat restore

2009-10-02 Thread noguru

Hi Earland 
Thanks for responding to my post.
The only thing that may unusual is that I use Google Chrome as my
browser. Other possible factors are that I use windows XP and AVG for
viruse protection. I was not even aware of skins so assume mine is the
default.
Log show a whole series of this type of thing:

[09-10-01 23:17:10.1876] Plugins::TrackStat::Storage::addToHistory
(791) No matching alternative path found for
file:///C:/Documents%20and%20Settings/Mike/My%20Documents/My%20Music/Billboard%20Top%20100%20Of%201967/Buffalo%20Springfield/For%20What%20It%27s%20Worth.mp3.

I guess this is connected to my attempts to restore lost Trakstat
data.

After this is 
[09-10-01 23:17:51.5939] Plugins::TrackStat::Backup::File::doneScanning
(230) Restore completed at 2009-10-01 23:17:51

Thanks Noguru


-- 
noguru

noguru's Profile: http://forums.slimdevices.com/member.php?userid=27520
View this thread: http://forums.slimdevices.com/showthread.php?t=68572

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] trackstat restore

2009-10-01 Thread noguru

I am also having problems with restore (although no progress bar). I
have located daily backups of trakstat data. These look OK in text
editor. When attempting to restore from backup file I get egg timer for
a while, then Oops this link appears to be broken I am using Google
Chrome as browser by the way.
Have tried this several times with different backup files but always
with same result.


-- 
noguru

noguru's Profile: http://forums.slimdevices.com/member.php?userid=27520
View this thread: http://forums.slimdevices.com/showthread.php?t=68572

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] trackstat restore

2009-10-01 Thread ae67

Progress bar was the wrong word. Meant was the loading bar of the
browser. It runs for a minute and then the typical page not found
webpage appears.

Btw it works now. Reinstalled the plugin, rebooted the computer and
used an older backup, one of this did it.
Thanks for your help.


-- 
ae67

ae67's Profile: http://forums.slimdevices.com/member.php?userid=29964
View this thread: http://forums.slimdevices.com/showthread.php?t=68572

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] trackstat restore

2009-10-01 Thread noguru

Unfortunately I still have the problem. Every time I try to restore I
get web page no available. Further details gives the following message -

Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error.
Any suggestions, I really can't face having to re rate 1000's of
tracks.

Noguru


-- 
noguru

noguru's Profile: http://forums.slimdevices.com/member.php?userid=27520
View this thread: http://forums.slimdevices.com/showthread.php?t=68572

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] trackstat restore

2009-10-01 Thread erland

noguru;464590 Wrote: 
 Unfortunately I still have the problem. Every time I try to restore I
 get web page no available. Further details gives the following message -
 
 Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error.
 Any suggestions, I really can't face having to re rate 1000's of
 tracks.
 
 Noguru
 
Is there anything special with your setup ? 
What web browser ? What skin are you using ? Anything else ?

Do you get any errors in the server.log file which you can reach from
the Squeezebox Server settings page Advanced/Logging ?


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(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=68572

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] trackstat restore

2009-09-30 Thread ae67

After upgrading to 7.4 und installing trackstat 2.9, I tried to restore
my trackstat data from a backup using restore from backup in the web
interface.
Restore starts and the progress bar moves, but after around half of the
process, the restore stops and a no connection webpage is shown. And
nothing is restored. It looks like a timeout. The backup size is 5 MB.

Is there a way to change the timeout or another way to restore the
trackstat data form 7.3.3 in 7.4?


-- 
ae67

ae67's Profile: http://forums.slimdevices.com/member.php?userid=29964
View this thread: http://forums.slimdevices.com/showthread.php?t=68572

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] trackstat restore

2009-09-30 Thread erland

ae67;463160 Wrote: 
 
 Restore starts and the progress bar moves, but after around half of the
 process, the restore stops and a no connection webpage is shown. And
 nothing is restored. It looks like a timeout. The backup size is 5 MB.
 
Progress bar ? Is there a progres bara somewhere in TrackStat ?
Either my memory is starting to get really bad or you are looking at
something else then TrackStat.

Could you describe exactly how you perform the restore, what menus do
you enter and what are the attribute values and what buttons to you
click ?

There are two ways to perform a restore as far as I know:
- From the TrackStat settings menu where you will only see the progress
in the server.log file. There will be one entry in the beginning that
indicates which file it tries to restore and one entry at the end when
the restore is finished.
- From the Custom Scan interface if you have Custom Scan installed. In
this case you can see directly in the Custom Scan settings interface
when the restore is finished.

There aren't any progress bars involved in any of the solutions as far
as I know.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(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=68572

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore vs. MusicIP Stats restore

2009-08-06 Thread lrossouw

erland;445315 Wrote: 
 
 The historical information is barely used in TrackStat, I think it's
 only used in some TrackStat browse menus/playlists called ... recently
 played  I've actually been thinking about removing it as I think
 that most users only really need the latest state to be able to get the
 browsing/playlist functionality they want. 
 

I haven't implemented this but would appreciate keeping this in.

Removing this would preclude playlists such as:
- Music I often listen to on the weekend.  
- Or songs I listen to at night
etc.

I presume that it is possible to setup such Dynamic
Playlists/SQLPlaylists?  Maybe ones like these could be added to the
default Dynamic Playlists?

My trackstat history is still a bit short for those to work on SC yet. 
But these kind of playlists are available in Windows Media player.  I
don't use them there as I don't often play music on my pc. And now when
I do I do it through SC/SqueezeSlave so I can consolidate my trackstats
:)


-- 
lrossouw

-* 'Recently Played on my Squeezebox 3s'
(http://www.last.fm/user/lrossouw/charts/?charttype=recenttracks) *-

lrossouw's Profile: http://forums.slimdevices.com/member.php?userid=3416
View this thread: http://forums.slimdevices.com/showthread.php?t=66261

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore vs. MusicIP Stats restore

2009-08-03 Thread Phil Meyer
If you have MIP being dynamically updated with stats, but a Trackstat
restore is scheduled for once a day, then the MIP stats should be the
most up to date, and it would be preferable to restore this, wouldn't
it?

I'm not sure I'd trust MIP for all stats.  eg. MIP doesn't scan as well as SC 
scanner, eg. if you have a song not on an album, it gives the album name as 
Miscellaneous, so I'm not sure album stats would be right in all cases.

Also, MIP doesn't handle as many file formats as SC.  eg. MIP doesn't interpret 
.cue files.
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore vs. MusicIP Stats restore

2009-08-03 Thread erland

MeSue;445258 Wrote: 
 Just curious... Is there any difference between one or the other? Do
 they both import the same data? Is one or the other any faster? 
 
 If you have MIP being dynamically updated with stats, but a Trackstat
 restore is scheduled for once a day, then the MIP stats should be the
 most up to date, and it would be preferable to restore this, wouldn't
 it?

I suppose you with MusicIP Stats restore are talking about the
MusicIP Statistics Import module provided by TrackStat and shown in
the Custom Scan user interface ?

Assuming you do, the difference is as follows:

TrackStat restore:
- Always writes the information in the TrackStat backup file directly
to the database, if there already is information for a track it will be
overwritten. 
- Restores both latest state and historical information for each track
with information about exactly when it has been rated/played not just
the last time.
- Information in the database for tracks that isn't in the TrackStat
backup file won't be removed. To remove this data you need to do a
Remove all data operation from the TrackStat settings page before
starting the restore.

MusicIP Statistics Import:
- Play counts are only imported if they are higher in MusicIP
- Last played times are only imported if play count is higher in
MusicIP and the last played time is newer in MusicIP
- Ratings are always imported
- It will only restore the latest state for each track, no historical
information is imported regarding exactly when you have played or rated
a track before it was last rated and played.

The reason MusicIP is a bit smarter is to make it possible to have a
two way synchronization with the Export/Import modules. This makes more
sense for the iTunes Import/Export modules where you might have played
some tracks on the iPod and played other tracks on SqueezeCenter and
then you don't want everything in iTunes to overwrite SqueezeCenter
data. 

There is a risk to accidentally overwrite ratings during two way
synchronization, so the order is important to avoid this. I think the
correct procedure to do a two way synchronization with iTunes is:
1. Synchronize the iPod with iTunes
2. Run the TrackStatiTunesUpdate.pl script to update iTunes with the
change file since last time (this only exports incremental changes, not
everything in the SqueezeCenter dataabse)
3. Run the iTunes Statistics Import module to update SqueezeCenter with
all new ratings and play counts produced by the iPod

If you perform step 2 before step 3 it will make sure that iTunes is
updated with the latest SqueezeCenter changes before you run step 3 to
import it the other way. This way there isn't any risk that old iTunes
ratings overwrite newer ratings in SqueezeCenter.

Step 2 would in the MusicIP case be the same as having the Dynamically
update statistics option enabled in the MusicIP Statistics Export
module.

So to sum it up:
- If you don't care about historical information, you should be fine
doing a MusicIP Statistics Import
- If you want a complete restore you should use the TrackStat restore
option

The historical information is barely used in TrackStat, I think it's
only used in some TrackStat browse menus/playlists called ... recently
played  I've actually been thinking about removing it as I think
that most users only really need the latest state to be able to get the
browsing/playlist functionality they want. 

Another reason to remove the historical information is that there isn't
anything similar in the standard SqueezeCenter database. Currenlty
TrackStat stores its information in separate tables to be able to have
the above mentioned merge logic during two way synchronization but
eventually I think I will switch so it uses the standard SqueezeCenter
tables and then there isn't a place for the historical information.
Today SqueezeCenter is able to persistently store statistics so it
survives a rescan without TrackStat. TrackStat is only needed to make it
possible to browse the statistics, do two way synchronzation and to
change ratings directly in SqueezeCenter. As an example, if you use
iTunes and only change ratings directly in iTunes or iPod, the latest
ratings will be imported from iTunes to SqueezeCenter during a
SqueezeCenter rescan without TrackStat.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(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=66261

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore vs. MusicIP Stats restore

2009-08-03 Thread MeSue

Thanks so much for explaining all that. Yes, MusicIP Statistics Import
is what I was referring to. I appreciate the iTunes info too since I am
thinking of getting an iPod in the future.

I needed a complete restore so I'm glad I went with the Trackstat
restore option. I guess if I wanted to fill in the last played counts
for the time since my last good Trackstat backup, I could have  done the
MusicIP Statistics import after the Trackstat restore, but I'm not going
to bother.

I think you're safe doing away with historical information. I only care
about the date added, last played, and number of plays.


-- 
MeSue

Sue
http://www.last.fm/user/MeSue

MeSue's Profile: http://forums.slimdevices.com/member.php?userid=985
View this thread: http://forums.slimdevices.com/showthread.php?t=66261

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] Trackstat restore vs. MusicIP Stats restore

2009-08-02 Thread MeSue

Just curious... Is there any difference between one or the other? Do
they both import the same data? Is one or the other any faster? 

If you have MIP being dynamically updated with stats, but a Trackstat
restore is scheduled for once a day, then the MIP stats should be the
most up to date, and it would be preferable to restore this, wouldn't
it?


-- 
MeSue

Sue
http://www.last.fm/user/MeSue

MeSue's Profile: http://forums.slimdevices.com/member.php?userid=985
View this thread: http://forums.slimdevices.com/showthread.php?t=66261

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore problem

2007-10-29 Thread erland

ZeddZull;238708 Wrote: 
 How do I turn on the TrackStat debugging parameter?  I don't see it on
 the web page.
 
That part of the file looks fine, so I suspect maybe the wrong file is
read for some reason.

The debug parameter is called DEBUG LOGGING and is found in Server
Settings/Plugins at the bottom of the TrackStat section.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.homeip.net/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=39748

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore problem

2007-10-29 Thread ZeddZull

How do I turn on the TrackStat debugging parameter?  I don't see it on
the web page.

The following is an extract of the file:


Code:


  track
  
urlfile%3A%2F%2F%2Fmnt%2Fshare%2Fshare%2FDocuments%2520and%2520Settings%2FShared%2520Documents%2FShared%2520Music%2FThe%2520Canadian%2520Brass%2FThe%2520Essential%2520Canadian%2520Brass%2F08%2520Beale%2520Street%2520Blues.wma/url
  playCount1/playCount
  lastPlayed1166125892/lastPlayed
  added1135263720/added 
  /track
  track
  
urlfile%3A%2F%2F%2Fmnt%2Fshare%2Fshare%2FDocuments%2520and%2520Settings%2FShared%2520Documents%2FShared%2520Music%2FLiz%2520Story%2FSolid%2520Colors%2F07%2520Bradley%2527s%2520Dream.mp3/url
  playCount3/playCount
  lastPlayed1176500226/lastPlayed
  added1158193628/added
  /track
  



I have noted line 3672 with =


-- 
ZeddZull

ZeddZull's Profile: http://forums.slimdevices.com/member.php?userid=7678
View this thread: http://forums.slimdevices.com/showthread.php?t=39748

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore problem

2007-10-29 Thread ZeddZull

Restarting slimserver seems to have fixed the problem.  As best as I can
tell, for some reason slimserver was caching the corrupted file and
changing the name or even deleting the file didn't seem to make any
difference.  I restarted slimserver and resubmitted the name of the
fixed file and it ran like a charm.  

Thanks for the help and a great plugin.  I couldn't live without it.  I
wrote a script that uses my ratings to create a sync batch file so that
I can synch my MP3 player based on the trackstat ratings.  This saves
me from having to rate the music twice - once for my squeezebox and
once for my MP3 play synch routine.


-- 
ZeddZull

ZeddZull's Profile: http://forums.slimdevices.com/member.php?userid=7678
View this thread: http://forums.slimdevices.com/showthread.php?t=39748

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


[SlimDevices: Plugins] Trackstat restore problem

2007-10-28 Thread ZeddZull

I am trying to restore my trackstat ratings from a backup file.  I have
deleted all of the records (using the Plugins page).  When I try to
restore, no records are created.  I have checked to make sure that the
URL is the same between the backup file and the database.  Any
suggestions on how I can restore my data?


-- 
ZeddZull

ZeddZull's Profile: http://forums.slimdevices.com/member.php?userid=7678
View this thread: http://forums.slimdevices.com/showthread.php?t=39748

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Trackstat restore problem

2007-10-28 Thread erland

ZeddZull;238611 Wrote: 
 I am trying to restore my trackstat ratings from a backup file.  I have
 deleted all of the records (using the Plugins page).  When I try to
 restore, no records are created.  I have checked to make sure that the
 URL is the same between the backup file and the database.  Any
 suggestions on how I can restore my data?

Have you entered the complete path to the backup file in the backup
file parameter ?
That is, you shouldn't just enter mybackup.xml, you should enter
something like C:\My Documents\mybackup.xml

If that doesn't help, could you turn on the debugging messages flag at
the bottom of the TrackStat section in Server Settings/Plugins and
perform a restore and post the log from: http://localhost:9000/log.txt


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.homeip.net/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=39748

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins