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 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


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/

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


[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