Re: [SlimDevices: Plugins] Trackstat: Unrated tracks appear as rated with 1 star

2014-10-06 Thread erland

chaug wrote: 
> 
> As regards the first point, I would like to understand what the root of
> the problem is. Unfortunately, I have not the slightest clue.
> 
It's probably easiest if you shutdown LMS and send me a zip with the
library.db and persist.db files from your setup, you will find them in
the LMS cache directory. This way it's possible for me to look at your
database and see if I can see what's going on.

Alternatively, you could install the free "Database Query" plugin and
run its "TrackStat inconsistency/problems" report and post the result.
I'm just a bit afraid that it can cause more problems, because it can
take a while to run and I know some user managed to corrupt their whole
LMS database by aborting it in the middle of the run. If you try it,
please make sure you have shutdown LMS and taken a copy of the
library.db and persist.db files before, so you can restore them if
something goes wrong.

chaug wrote: 
> 
> As regards the second point, I can at least make a suggestion for an
> alternative way of getting rid of the duplicates: I guess I need to find
> a way to merge (rather than delete) the remaining duplicates in my
> backup file, i.e. to tell Excel that it should keep the latest "played"
> date, the highest "rating", and add up all the playcounts, or something
> like that. Or can Trackstat do that?
> 
The restore operation itself will never remove data.

Currently the restore operation always overwrites the information, I'll
consider adding a features in the future that can pick the entry with
latest played date, highest rating, but it will probably not be added in
the next couple of weeks.

Also, please note that the TrackStat backup entries contains two type of
elements:
-  : Which represent the current play count, added time, rating
-  : Which represent all previous times when a track has
changed rating or been played

The  entry should have a single occurrence for each track.
The  should have an occurrence for each time a track has
been played and it's normal that a track have multiple 
elements but they should have different values in their  or
 sub elements.

It's possible to disable the history logging which cause the
historyentry elements if you like, this is done through the "History"
option in TrackStat setting page. Disabling it won't delete the history,
but you can clear all TrackStat data and restore the backup and then the
restore process should only restore the  elements and not the
 elements from the backup file.

chaug wrote: 
> 
> P.S. One quick comment on the "'Issues with duplicate musicbrainz tags'
> (http://wiki.slimdevices.com/index.php/TrackStat_plugin#Issues_with_duplicate_musicbrainz_tags)":
> why is this an issue anyway? As far as I understood things, the
> Musicbrainz policy is that "duplicate" IDs will only be given to
> identical -recordings-. Which makes sense, because it simply is a
> duplicate and I thought the whole point of enabling Musicbraniz tags in
> Trackstat was that it will make Trackstat recognize these duplicates as
> such and treat the same song as the same, even when it exists in two
> files, e.g. one on the original album, and another one in some
> compilation so that if I rate the track on the original album, the same
> rating will be applied to the same song in the compilation. I'd consider
> this a feature, not a bug, as they say.
> 
It's a feature on musicbrainz side and it's the right way for them to
handle it.

The problem for TrackStat is that it assumed that it would identify a
track uniquely (which it did a couple of years ago), but TrackStat can't
presume musicbrainz tags exists since only some users have musicbrainz
tags, so TrackStat database is based on the file path and it just use
musicbrainz tags (if they exist). Due to this TrackStat will have two
entries if you have two tracks in your library that represents the same
recording. Normally this wouldn't be a problem but due to how TrackStat
refresh operation is implemented the tracks with same musicbrainz id
will be duplicated each time the TrackStat refresh operation runs. It
would be possible to fix this but it would significantly increase the
scanning time so I've avoided it so far.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(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))

*Interested in the future of music streaming ? 'ickStream -  A world of
music at your fingertips'
(http://forums.slimdevices.com/showthread.php?98467-Pre-Announcement-ickStream&p=743516)*.

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

_

Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2014-10-06 Thread Michael Herger

I remember awhile back that there was an issue with Smart Mix and
Spotify when Spotify would serve-up tracks that were not playable in the
U.S. (I switched to Rhapsody due to this issue)

Does this issue still exist?


Unfortunately yes. TEN mentioned this would be resolved now that they 
were owned by Spotify. But I recently tried to play a mix which would 
stop after almost any track played :-(.


--

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2014-10-06 Thread Tony T

I remember awhile back that there was an issue with Smart Mix and
Spotify when Spotify would serve-up tracks that were not playable in the
U.S. (I switched to Rhapsody due to this issue)

Does this issue still exist?



Tony
  SBTouch ♪ SBRadio ♬

Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] Triode spotify - don't retry when 'play token lost' / playing from another location.

2014-10-06 Thread benlumley

It's playing out via squeezelite (thanks for that too!) on a pi - I tend
to turn the stereo off when I leave the house, don't always bother to
stop the player itself.

Thanks for that - without repeat, it does as you say and tries each
track once before giving up at the end of the playlist which isn't so
bad. (I'd still vote for it not retrying when the play token is lost -
but sure you've got your reasons for the way you've done it!)



benlumley's Profile: http://forums.slimdevices.com/member.php?userid=63391
View this thread: http://forums.slimdevices.com/showthread.php?t=102250

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


Re: [SlimDevices: Plugins] Trackstat: Unrated tracks appear as rated with 1 star

2014-10-06 Thread chaug

Yes, I can follow those instructions, but I'm still not sure whether
this is getting to the source of the problem. The thing is that my
duplicate MB tags are not due to the same song existing on different
records. Maybe I got some of those, but the vast majority of what is
blowing up my trackstat database are duplicate records of the exact same
same file. The one with the most duplicates actually had 652 dupes, and
there were many more with hundreds of duplicates.

I have discovered a convenient feature in Excel that actually allows you
to remove duplicates with just a few clicks. I did that and it removed
45000 duplicates (and I defined a duplicate as having the exact same
data in each and every column of the table). After that cleanup, I still
have 2 records left,, while I have around 9000 tracks on my server.
The largrest number of duplicate MB tags for any one track is now 7. The
reason why there are still duplicate MB tags left is that those records
differ in some other aspect, such as "date added", "last played",
"playcount" or "rating". But not (except some very few exceptions) the
URL (i.e. the file). I can see that by having excel highlight all
duplicate values within a specific column.

As far as I can see, this means two things: one is that my (main)
problem is not the one described at
http://wiki.slimdevices.com/index.php/TrackStat_plugin#Issues_with_duplicate_musicbrainz_tags

And second, I will loose quite a lot of data if I let trackstat do the
cleaning up by following by following the instructions at
http://wiki.slimdevices.com/index.php/TrackStat_plugin#Restore_statistics_after_upgrade.2Freinstall
because (I suppose) trackstat cannot reconcile the different
"playcounts", "last played dates" or "ratings" that its database
contains for identical files (not just identical MB tags, which will be
gone by then).

As regards the first point, I would like to understand what the root of
the problem is. Unfortunately, I have not the slightest clue.

As regards the second point, I can at least make a suggestion for an
alternative way of getting rid of the duplicates: I guess I need to find
a way to merge (rather than delete) the remaining duplicates in my
backup file, i.e. to tell Excel that it should keep the latest "played"
date, the highest "rating", and add up all the playcounts, or something
like that. Or can Trackstat do that?

P.S. One quick comment on the "'Issues with duplicate musicbrainz tags'
(http://wiki.slimdevices.com/index.php/TrackStat_plugin#Issues_with_duplicate_musicbrainz_tags)":
why is this an issue anyway? As far as I understood things, the
Musicbrainz policy is that "duplicate" IDs will only be given to
identical -recordings-. Which makes sense, because it simply is a
duplicate and I thought the whole point of enabling Musicbraniz tags in
Trackstat was that it will make Trackstat recognize these duplicates as
such and treat the same song as the same, even when it exists in two
files, e.g. one on the original album, and another one in some
compilation so that if I rate the track on the original album, the same
rating will be applied to the same song in the compilation. I'd consider
this a feature, not a bug, as they say.



*Server*: LMS 7.7.3 on a ReadyNAS Ultra 2
*Players*: Radio, Touch, Duet (Receiver & Controller), Boom,
Squeezeplayer on iPad 2
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Switch Player, SmartMix, Custom Browse

chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=102245

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


Re: [SlimDevices: Plugins] Triode spotify - don't retry when 'play token lost' / playing from another location.

2014-10-06 Thread Triode

benlumley wrote: 
> Hi,
> 
> First off - if triode is around, thanks for the hard work on the plugin
> - makes LMS for me.
> 
> Quick question - I often forget to turn spotify off at home, and then
> want to use it on my laptop at work. With other spotify clients if you
> start playing elsewhere, it cuts off the existing session. LMS/Triode is
> no exception - however, unlike other players, it then retry's and cuts
> my laptop off again.
> 
> Is there a setting somewhere to alter this behaviour so that it won't
> retry?
> 
> Thanks!
> 
> Ben

I think it will only retry if the server is set to repeat the playlist -
I think it will try each track once?  Are you saying you leave LMS
playing when you do this or is it retrying when players are off?



Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=102250

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


Re: [SlimDevices: Plugins] Any controller apps cast status/playing screen to chromecast?

2014-10-06 Thread local.bin

wt0 wrote: 
> How often does it crash? If it's not too often, I'd prefer to wait till
> I've collected a few more bugs and/or added some more options/features
> before I publish another update.

It crashes immediately on startup and every time.

The app is useless on that device, but I have a couple of others I can
use, so no rush from me.



local.bin's Profile: http://forums.slimdevices.com/member.php?userid=22053
View this thread: http://forums.slimdevices.com/showthread.php?t=102017

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


Re: [SlimDevices: Plugins] Any controller apps cast status/playing screen to chromecast?

2014-10-06 Thread wt0

local.bin wrote: 
> Ok, typical, the only error I have had with your app and its google
> spying on me ;) that's progress!
How often does it crash? If it's not too often, I'd prefer to wait till
I've collected a few more bugs and/or added some more options/features
before I publish another update.



--
Squeezebox apps for webOS, Android and Windows Phone,
http://www.angrygoatapps.com

wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760
View this thread: http://forums.slimdevices.com/showthread.php?t=102017

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


Re: [SlimDevices: Plugins] Any controller apps cast status/playing screen to chromecast?

2014-10-06 Thread local.bin

wt0 wrote: 
> OK, got it. 
> 
> Hmm... Looks like the error is within the Google analytics package. I'll
> probably just take out the package since I never even look at the
> collected usage data.

Ok, typical, the only error I have had with your app and its google
spying on me ;) that's progress!



local.bin's Profile: http://forums.slimdevices.com/member.php?userid=22053
View this thread: http://forums.slimdevices.com/showthread.php?t=102017

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


Re: [SlimDevices: Plugins] Any controller apps cast status/playing screen to chromecast?

2014-10-06 Thread wt0

local.bin wrote: 
> Submitted about an hour ago, so hopefully you will receive it soon.
OK, got it. 

Hmm... Looks like the error is within the Google analytics package. I'll
probably just take out the package since I never even look at the
collected usage data.



--
Squeezebox apps for webOS, Android and Windows Phone,
http://www.angrygoatapps.com

wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760
View this thread: http://forums.slimdevices.com/showthread.php?t=102017

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


Re: [SlimDevices: Plugins] Any controller apps cast status/playing screen to chromecast?

2014-10-06 Thread local.bin

local.bin wrote: 
> Sure, will do it in the morning now, cheers

Submitted about an hour ago, so hopefully you will receive it soon.



local.bin's Profile: http://forums.slimdevices.com/member.php?userid=22053
View this thread: http://forums.slimdevices.com/showthread.php?t=102017

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


[SlimDevices: Plugins] Triode spotify - don't retry when 'play token lost' / playing from another location.

2014-10-06 Thread benlumley

Hi,

First off - if triode is around, thanks for the hard work on the plugin
- makes LMS for me.

Quick question - I often forget to turn spotify off at home, and then
want to use it on my laptop at work. With other spotify clients if you
start playing elsewhere, it cuts off the existing session. LMS/Triode is
no exception - however, unlike other players, it then retry's and cuts
my laptop off again.

Is there a setting somewhere to alter this behaviour so that it won't
retry?

Thanks!

Ben



benlumley's Profile: http://forums.slimdevices.com/member.php?userid=63391
View this thread: http://forums.slimdevices.com/showthread.php?t=102250

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