Re: [SlimDevices: Plugins] [Announce] Spicefly SugarCube - DSTM and Google Traffic

2022-04-03 Thread chaug


goharbourview123 wrote: 
> 
> 
> http://:9000/plugins/SugarCube/settings/quickplay.html?player=
> 
> 

What a great end-of-the-week treat! Will try it out right away (I'm
using OpenHAB, but basically same usage as with Home Assistant).

So great to be part of this little (?) community of SugarCube users.

BTW: Are you using it with Trackstat? To me the ratings are an important
part of my recipes, but I'm not sure how long Trackstat will remain
functional since it is no longer maintained. There is an alternative
("Ratings light") which seems to be future proof, but which I haven't
looked closer at because it doesn't help me with SugarCube. I wonder
whether there is a chance that SugarCube will become compatible with the
new plugin?



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] [Announce] Spicefly SugarCube - DSTM and Google Traffic

2022-04-02 Thread chaug


I have been using Sugarcube for over 10 years now and it is probably the
main reason (together with Trackstat) why I have not followed the trend
of abandoning my own music collection for some streaming service, so
thank you for maintaining this awesome plugin! 

My partner and I are again and again amazed by the the excellent
play-sequences it creates. Of course, Trackstat also plays an important
role in that (and it did take a while until we had most of our tracks
rated, but even in that process, Sugarcube helped by preferring unrated
or not recently played songs). 

Anyway, I wanted to ask whether the Sugarcube Automix can be triggered
via some URL. That would allow me to start it via my home automation
system and/or Alexa. Alternatively, if I could achieve the same if I
could save Autoplay as a Favourite or a Playlist.



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)

2022-02-15 Thread chaug


Great to see this plugin being maintained. Thanks a lot!

I use the plugin especially for playing my playlists in random order (I
believe it is the only way to play playlists in random order, including
the first track). 

Some of my playlists consist of youtube tracks, though, and while I can
select them as static playlists in DPL, they won't play (at least not in
random mode) .

I read about songs from online services only being integrated when they
are part of an album, but since youtube isn't an integrated online music
service, I thought I'd ask if there is a way of playing those playlists
with DPL too. If not, I'd suggest that these are not shown as static
playlists in DPL.



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-02-01 Thread chaug


This morning I had major issues with getting the skill to shuffle play
my playlist. There were three songs that produced just silence, two of
which I noted down and later tried to play using stream.mp3 as described
above. Both of them played in the web browser.

I also checked the alexa voice history to see if that would explain some
of the other failures. Turns out that in one case, she understood "tell
me the server" instead of tell media server. Which is obviously pretty
poor AI performance, given that she has a skill called "media server".
In fact, I would claim that there is no AI involved here. It's just
stupid to immediately fall back on the default answer "Here's something
I found on the web..." I don't get why you wouldn't check against
similar sounding skill names before coming up with a nonsense guess of
what the user might have meant by "tell me the server". 

In another situation alexa just heard the wake word but not the
following wake word. The only difference to the second time I said it
was that the pause between "Alexa" and "next" was a tiny fraction of a
second shorter. She simply doesn't seem to listen long enough after the
key word. Half or even a quarter of a second more would probably solve a
lot of issues. I noticed earlier that "Alexa, skip" works most of the
time while "Alexa, next" doesn't. My explanation for this is now that
the "s" in skip makes enough of a hissing sound to keep Alexa awake
while the "n" in next doesn't. That's how tiny the difference is. 

The only thing I can do as a user here is try and ignore the Alexa ring
light and just talk. What I mean is that I noticed a tendency in my
family to say "Alexa", then wait for here to indicate that she's
listening, and then give the command. As I noticed this kinda natural
behaviour in others, I realised that I was also doing it, though to a
lesser extent. I don't really like to train myself, though, to not wait
for the light to go on. Firstly, because it means that I will have to
repeat commands when it turns out that Alexa didn't wake up, but also
because Alexa is already teaching us habits that are not good for human
interaction (like not saying thank you when someone did something for
you or ordering her to stop talking) so that I think it would be good to
maintain the attitude of waiting for a response before starting the
conversation. 

Nut apart from those concerns, I won't quite understand why the slight
pause between the wake word and the command works without problems
outside of the media server skill. It's only when MediaServer is active
that this problem occurs. Do you as skill developer have control over
the waiting period or is Amazon defining shorter in-skill periods?

philchillbill wrote: 
> Of the 14 Echos I've owned over time, two had microphones go bad so
> Alexa misinterpreted a lot of my commands (they were both 2nd generation
> Echo Dots). That might be your issue too because I agree there's not
> much can go wrong with just saying 2 words. You can try 'Simon Says'
> with a longish sentence (she reads back what you say). For example,
> "Alexa, Simon Says this is a test of the microphone in my device". If
> the audio stutters, you know you have a hardware problem.
> 

I will try simon says asap but I don't think that is the issue. The Echo
dot that I've tested this most on is brand new and the same problem has
occurred on at least one other echo dot.

philchillbill wrote: 
> I might be able to add a 'shuffled' qualifier to the StreamPlaylist
> command. That would have to be an an exact syntax where you'd say
> 'stream the playlist -whatever- *shuffled*'. Not a natural flow of words
> but it would work. I'll do all that after the current certification
> submission passes because I can't touch the live skill at the moment or
> risk rejection. Amazon normally certifies in 1-2 days but it's been over
> a week already so they are apparently slow due to Covid understaffing.

If "shuffled" is added at the end, isn't there a risk that it gets
interpreted as part of the playlist name? Then again, always removing
the last "shuffled" from the playlist name would probably work. So even
if you had a playlist ending with "shuffled" saying playlist something
shuffled shuffled would work. So, yea, that would be great have!

Alternatively: how about "shuffleplay" and "shufflestream" as commands?
i.e. "Alexa, tell mediaserver to shufflestream favourite 8" instead of
"Alexa, tell mediaserver to stream favourite 8 shuffled"



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-31 Thread chaug

philchillbill wrote: 
> >   > 
  -  "Alexa, tell MediaServer to stream my -whatever- playlist".
  > Subsequently: "Alexa, shuffle". You cannot do it with a single
  > combined command. And it will not persist, because AlexaPlayers are
  > temporary/ephemeral. An LMS limitation.
  -  It's not only pronunciation, it's pacing. If you speak too slowly
  > she assumes you broke off the command before you complete it. Too
  > fast and she will miss pieces. Background noise doesn't help. Any
  > skill has those problems. A workaround until you get used to keeping
  > her happy is to 'open' the skill so you're in a session rather than
  > doing a one-shot. And look at the Echo while speaking to it. That
  > way, the skill has her attention and she's (hopefully) not going to
  > send your command to some other skill.
  -  Getting audio from LMS to an Echo is not the same as from LMS to
  > a squeezebox. It all goes via /stream.mp3 and has to be transcoded.
  > An Echo can handle anything you throw at it but LMS cannot stream
  > anything other than mp3 (LMS is the limiting factor here). It's very
  > likely a transcoding issue (I presume you have LAME installed?).
  > Visit e.g. the -h t t p://:9000/stream.mp3?player=Test-
  > endpoint from a browser and play some stuff in the newly-created
  > 'Test' player from the LMS GUI. I'll bet the sources/tracks that
  > fail with the Echo also produce silence in the browser.
  -  AlexaPlayers are -network clients- to LMS, not regular players.
  > They appear and disappear. However, they always get the same name
  > when created (Alexa-x, where the 'x' is constant). To
  > protect your privacy, Amazon does not allow ANY skill to request the
  > name you gave to your Echo in the app — imagine if you called it
  > "Bathroom Echo", skill developers would know you had a bathroom in
  > your house ! :rolleyes: What problem would it solve for you if the
  > names were remembered by LMS? Maybe you mean that the players should
  > be permanent so that their settings persisted? Well, that would
  > require @philippe to create a bridge for them...
  > > > 

I don't see how the speed of my commands is a source of error. I speak
at the same pace as you do in your demonstration video (which is good,
btw. Very nice to get an idea of the app). Besides, there is not much
pacing involved in "Alexa shuffle" or "Alexa, next". Background noise
can be safely excluded too when I'm in the room by myself, with no noise
source anywhere and my standing about half a meter away from the Echo
dot. There is something else going on here.

I will check the test-player next time when the echo dot doesn't want to
play something. 

I suppose it's not a big problem when the custom names for my echo dots
don't persist. The reason I was trying to do it was so that I don't have
to remember which is which player when I'm testing things. I didn't
think that the players announce their name to the server but rather that
the server remembers the association between Name and MAC address, so it
looked like something else might be wrong.

That a playlist cannot be shuffled before starting playback is a bummer.
I'm trying to work around that by concatenating the stream command +
Alexa shuffle + Alexa next (in an Alexa routine) but it doesn't work
because whatever comes after "playlist" is interpreted as part of the
name of the playlist. And Alexa doesn't allow two actions with the same
skill in one routine. So it really looks like there is no way of getting
a playlist played in random order without manually issuing the commands
every time.



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2022-01-31 Thread chaug


I'm desperately trying to get Alexa to stream a playlist (to Alexa
player) in shuffle mode but I can't figure out how to do it. It does
play the playlist but it always starts at the beginning. When I then say
"Alexa, shuffle" she doesn't recognize the command a lot of the times
and when she does, she says "Shuffle on", yay! If I then say "Alexa,
next", she doesn't recognise the command. When I say "Alexa, skip" she
says "Next" and does indeed play the track. Except, sometimes she
doesn't. She just stops playing and the next track never starts. Except
that it does show as playing on the LMS web-UI. I hoped that once I set
the Alexa player on shuffle, it would stay there and next time I play
that playlist, it will shuffle, but no. I noticed that when I change the
name of the "ALEXA-*" player to something else, LMS (or Alexa?) will
eventually forget that name and go back to "ALEXA-*", so I assume
that this forgetfulness is also the reason why the shuffle state doesn't
persist.

So I have four questions (relating to each of the four issues just
mentioned): 

  
- How can I start streaming an LMS-playlist in shuffle mode (so that
  it starts with a different track every time)
- What am I doing wrong with the no-invocation commands? I can
  confidently say that my english pronounciation is in no way unusual or
  difficult to understand. Alexa understands me fine all the time,
  except when using the MediaServer app. In fact, the problem exists not
  just with no-invocation commands. It also occurs when I try to invoke
  a mediaserve one-shot command, Alexa never gets the entire command.
  For example, when I say "Alexa, tell media server to play favourite
  Amina 8", most of the time, she will either say nothing or "Say a
  mediaserver command".
- What might be the reason that skipping to the next song will
  sometimes lead to silence despite the track actually being streamed by
  LMS? My best guess is that it has to do with encoding. This is
  happening on a youtube playlist and I believe youtube tracks sometimes
  use different codecs. But since it is LMS streamingt to Alexa, I would
  still blame LMS/the plugin for not transcoding into a codec that Alexa
  understands.
- Is there any way of making LMS remember the name of the Alexa
  players?



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2022-01-25 Thread chaug


philippe_44 wrote: 
> I've just redone all steps following #1 post of this thread to create a
> key for a new account on a fresh computer and it worked.

I recently had to re-do the procedure for oauth (to access subscriptions
and playlists) and I noticed that the instructions don't quite match the
UI anymore. For example, there is no "other" type app to choose. I think
it didn't work when I chose "Desktop app" but now I use "TV" or
something and it works.

I don't remember where I found these instructions, but I had reasons to
believe they were the latest version. Could it have been somewhere in
the LMS plugins UI?

Anyway, I just wanted to mention that.

Then I have a question to @philippe: I'm struggling a bit with using
YouTube music URLs to work with the plugin. Part of the reason is that
some URLs (e.g. the Radio URLs) don't seem to work independently of the
page on which they're on (I assume they need a correct referrer url to
work).

But part of it also seems to be that the plugin doesn't seem to accept
urls starting with music.youtube A lot of the time, "music" can just
be manually replaced my "www" and then it works. Do you think you could
make the plugin accept music. youtube urls directly?



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2022-01-24 Thread chaug


philchillbill wrote: 
> When you say 'a US address', did you need a* physical street address* in
> the US to do that or do you mean just selecting the *.com *domain?
> 

Yes, a physical address. The support agent said I could just enter a
random address, but I used one where I did indeed live for some time.
The confusing thing is that it's not just about which amazon domain
(they call it "marketplace") you use, but that the address has to match
the marketplace. Based on that, I would assume (just a hypothetical
example), that if you're on amazon.com with a british address, it won't
work, even though the app is available in both countries.

I sent you the chat via PM FYI.

philchillbill wrote: 
>  When I click under those devices, there's no option to select
> store/region, just to change the device name.
> 

It should be under preferences (shown on your screenshot)

philchillbill wrote: 
> 
> 
> If you could share a screenshot and/or URL of where in the Amazon portal
> you succeeded (blur any sensitive data) it would be very helpful and I
> can add a description to the docs to help others. I know people have
> done this from Italy and Germany in the past before skills were
> supported natively in Italian and German and things changed since. TBH I
> never went through the process myself because it always worked for me as
> dev.

So the MediaServer skill is available in German? (It doesn't say so on
your website). If that is the case, that explains why the agent says it
is available on the German store.

Anyway, here is the setting that Alexa checks when you try to
subscribe:

37007

(OMG, iserting pictures is such a pain on this forum... 'I wish they'd
change to discourse.'
(https://forums.slimdevices.com/showthread.php?107791-Any-chance-that-this-forum-will-migrate-to-discourse))


+---+
|Filename: 2022-01-24_10-10-38.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37007|
+---+


*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2022-01-23 Thread chaug


Okay, I just had a longish chat with the amazon.com support and learned
that the country that Alexa checks (and that she refers to when she says
that something is not available in your country) is the country set
under Content and Devices. As soon as I changed it to a US address, it
worked. 

According to the very helpful agent, in some skills the important thing
is that that address matches the marketplace that you are on (in my
case: amazon.com). Before, that address was set to Germany and it didn't
matter (I was able to get and use all the english apps I wanted. It was
only the subscription that required the US address.

Now the next step will be to figure out how to get Alexa to play music
from my LMS. Too tired now to dig into that.



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2022-01-23 Thread chaug


philchillbill wrote: 
> 
> I live in NL and Amazon used to be ok with my getting skills in the
> .co.uk store when there was no Amazon.nl site and we were 'expected' to
> shop on Amazon.de. Ironically, after they created Amazon.nl, they expect
> our skills to come from Amazon.de and no longer from .co.uk. Might be
> the same for you (.de expected). However, to be in the .de store, a
> skill -must -be available in the German language which MediaServer is
> not. AFAIK, this means you will not be able to subscribe unless you
> somehow set all your locations for shipping and digital content and
> whatever to either .co.uk or .com.

So are you saying that if you only had amazon.de and amazon.nl accounts,
you would not be able to subscribe to your skill (because the
MediaServer skill is available in neither Dutch nor German)?

There might indeed be a similar scenario with amazon.se and amazon.de
(my case). But it doesn't quite make sense, though. Because I basically
had the same problem when I wasn't able to get Alexa to speak English
(or get English-only apps) and that was solved by switching my digital
content  amazon.com and it has worked ever since.  So, for example, when
I buy an Echo device on Amazon.de, it gets automatically linked to my
amazon.de account, but in order to "manage", I have to go to amazon.com
and sign in there. 

When I now log into amazon.com, I am told that I now also have the
choice to manage may devices and digital content on amazon.de:

36999

I'm not sure, but I don't believe that option was there when I made the
switch to amazon.com a year or two ago. So my guess is that they are now
allowing me to move my stuff back because they are now also allowing
people to purchase english language content directly on amazon.de. But
then again it also says under "Apps & Games" that while existing
subscriptions will continue, the availability of new subscriptions is
not guaranteed. Either way, nothing really indicates my being on
amazon.com explains the rejection of the subscription. I will try to see
if changing my country in digital contents changes anything (if I even
can easily change it).

Don't you have any subscribers from Germany? As a
skill-developer/seller, do you have some support at amazon that you can
ask what either your customers or you can do, to make the subscription
available in non-english speaking countries like, well, most European
countries?


+---+
|Filename: 2022-01-23_21-36-07.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=36999|
+---+


*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2022-01-23 Thread chaug

philchillbill wrote: 
> It should just work. Or has Amazon decided to link the Swedish store to
> Germany? Anyway, a workaround is to temporarily set your Amazon store
> account for digital content to .co.uk for locale en-GB. Start the
> subscription. Then change back.
> 

Okay, so it is the location under "digital content" that's relevant
here. Good to know. Unfortunately that doesn't explain why Alexa won't
let me subscribe because my location under digital content is Germany: 

36997

It's not as simple as that though. Because I manage my digital content
on amazon.com (even though the actual amazon account is on amazon.de).
If I remember correctly that was the only way to get Alexa to speak
English. I remember it said something that customers on certain amazon
country stores are allowed to move their digital content to amazon.com,
or something, and Germany being one of them. So I followed the
instructions and voilá, Alexa finally spoke english. We can choose
British or American English and we can even choose English -and- German.
But I don't think language has anything to do with it.

Well, and digital content location doesn't seem to matter either, since
I assume that the the subscription works both in the USA and Germany,
right? So it must be my physical location (which is Sweden). But it
would have to take that either from my current delivery address (not for
digital but for physical items) or from my IP-address.

Do you have any other suggestions? (I find this really hard to trouble
shoot because Amazon is so unclear about which location it uses/assumes
in various situations)

P.S. Sorry for posting in the wrong thread.


+---+
|Filename: CleanShot 2022-01-23 at 16.35...@2x.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=36997|
+---+


*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2022-01-22 Thread chaug


I have successfully installed the free version of Mediaserver, yay! But
when I say "Alexa, tell mediaserver I want a subscription" she says
something like "the content is not available in your country".Why would
the subscription not be available in Sweden? Where do I set "my
country"?

Amazon has so many different location settings, it's utterly confusing.
I don't even know which country Alexa/Amazon thinks I'm in... 

Sent from my KB2003 using Tapatalk



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] Why didn't I do this earlier (CLI + Alfred) ?

2022-01-19 Thread chaug


mamema wrote: 
> using quicksilver for shortcuts..

In that case the alfred workflow wont be of much help, though. You'll
probably have to put together your own quicksilver workflow (or
shortcuts) based on the CLI commands for LMS. I believe some (if not
all) commands can also be triggered by calling certain URL paths but I
haven't been able to figure out how exactly those work. 

Sent from my KB2003 using Tapatalk



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] Why didn't I do this earlier (CLI + Alfred) ?

2022-01-18 Thread chaug


I would love to try that Alfred Workflow. Would you share it?



*Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-04-07 Thread chaug


nickey wrote: 
> You must be running LMS on some pretty decent hardware...

LOL, never thought about that. It's a home server running a dozen docker
containers and two virtual machines, all on a Celeron G3930 CPU at 2.9
GHz. So nothing special but obviously a bit faster than a first gen Pi.



*Server*: LMS 8.8.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

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

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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-04-06 Thread chaug


TeraX wrote: 
> Till now my setup was like "never change a running system" but it seems
> the period end here ;)
> 

Same here. If it aint broken, don't fix it. But since it's broken now, I
went ahead and fixed it, i.e. I updated from 7.9.3 to 8.1.1 and I'm
baffled by how fast and easy it went:


Code:

$ sudo dpkg -i 
/var/lib/squeezeboxserver/cache/updates/logitechmediaserver_8.1.1_amd64.deb
  [sudo] password for christoph: 
  (Reading database ... 150036 files and directories currently installed.)
  Preparing to unpack .../logitechmediaserver_8.1.1_amd64.deb ...
  Unpacking logitechmediaserver (8.1.1) over (7.9.3) ...
  Setting up logitechmediaserver (8.1.1) ...
  Installing new version of config file /etc/squeezeboxserver/convert.conf ...
  Installing new version of config file /etc/squeezeboxserver/types.conf ...
  Processing triggers for systemd (237-3ubuntu10.42) ...
  Processing triggers for ureadahead (0.100.0-21) ...
  $



I think it took less than 15 seconds and I was like "Damn it! Didn't
work!" But when I checked, my LMS was running on 8.1.1. as if it had
been doing it forever...

So thanks for the great work that keeps this great piece of software
alive!

Oh, and, yes, the YT plugin also works now. :D



*Server*: LMS 7.9.3 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: SqueezePad (iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library, Material Skin

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

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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-04-05 Thread chaug


Unfortunately, I'm not as lucky as others who reported success. I
updated to 0.130.2 and it's still not working. From the server.log:


Code:

[21-04-05 13:39:07.7003] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state IDLE
  [21-04-05 13:39:07.7004] Slim::Player::Song::new (107) index 1 -> 
youtube://www.youtube.com/v/oB8nURyH4zA
  [21-04-05 13:39:07.7006] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state TRACKWAIT
  [21-04-05 13:39:07.7010] Slim::Player::StreamingController::_playersMessage 
(796) Getting stream info...: youtube://www.youtube.com/v/oB8nURyH4zA
  [21-04-05 13:39:07.7020] Slim::Player::Song::getNextSong (228) 
youtube://www.youtube.com/v/oB8nURyH4zA
  [21-04-05 13:39:07.7032] Slim::Control::Request::execute (1888) Error: While 
trying to run function coderef [Slim::Control::Commands::playlistJumpCommand]: 
[Can't locate object method "get_cookies" via package "HTTP::Cookies" at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
 line 386.
  ]
  [21-04-05 13:39:20.9978] Slim::Player::StreamingController::play (2120) 
00:04:20:1f:16:50
  [21-04-05 13:39:20.9984] Slim::Player::StreamingController::_Stop (610) Song 
queue is now 1
  [21-04-05 13:39:20.9985] Slim::Player::StreamingController::_setPlayingState 
(2377) new playing state STOPPED
  [21-04-05 13:39:20.9986] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state IDLE
  [21-04-05 13:39:20.9989] Slim::Player::Song::new (107) index 7 -> 
youtube://www.youtube.com/v/RZb1KISCkJA
  [21-04-05 13:39:20.9991] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state TRACKWAIT
  [21-04-05 13:39:20.9998] Slim::Player::StreamingController::_playersMessage 
(796) Getting stream info...: youtube://www.youtube.com/v/RZb1KISCkJA
  [21-04-05 13:39:21.0008] Slim::Player::Song::getNextSong (228) 
youtube://www.youtube.com/v/RZb1KISCkJA
  [21-04-05 13:39:21.0011] Slim::Control::Request::execute (1888) Error: While 
trying to run function coderef [Slim::Control::Commands::playlistJumpCommand]: 
[Can't locate object method "get_cookies" via package "HTTP::Cookies" at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
 line 386.
  ]
  [21-04-05 13:39:21.0014] Slim::Web::JSONRPC::requestMethod (455) Request 
failed with error: Bad dispatch!
  [21-04-05 13:39:21.0069] Slim::Player::StreamingController::play (2120) 
00:04:20:1f:16:50
  [21-04-05 13:39:21.0075] Slim::Player::StreamingController::_Stop (610) Song 
queue is now 7
  [21-04-05 13:39:21.0076] Slim::Player::StreamingController::_setPlayingState 
(2377) new playing state STOPPED
  [21-04-05 13:39:21.0077] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state IDLE
  [21-04-05 13:39:21.0079] Slim::Player::Song::new (107) index 7 -> 
youtube://www.youtube.com/v/RZb1KISCkJA
  [21-04-05 13:39:21.0083] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state TRACKWAIT
  [21-04-05 13:39:21.0089] Slim::Player::StreamingController::_playersMessage 
(796) Getting stream info...: youtube://www.youtube.com/v/RZb1KISCkJA
  [21-04-05 13:39:21.0096] Slim::Player::Song::getNextSong (228) 
youtube://www.youtube.com/v/RZb1KISCkJA
  [21-04-05 13:39:21.0099] Slim::Control::Request::execute (1888) Error: While 
trying to run function coderef [Slim::Control::Commands::playlistJumpCommand]: 
[Can't locate object method "get_cookies" via package "HTTP::Cookies" at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
 line 386.
  ]
  [21-04-05 13:39:21.0102] Slim::Web::JSONRPC::requestMethod (455) Request 
failed with error: Bad dispatch!
  [21-04-05 13:39:26.0827] Slim::Player::TranscodingHelper::getConvertCommand2 
(442) Error: Didn't find any command matches for type: mp3
  [21-04-05 13:39:26.0883] Slim::Player::TranscodingHelper::getConvertCommand2 
(445) Matched: flc->flc via: -
  [21-04-05 13:42:07.5727] Slim::Control::Request::execute (1888) Error: While 
trying to run function coderef [Slim::Control::Commands::playlistJumpCommand]: 
[Can't locate object method "get_cookies" via package "HTTP::Cookies" at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
 line 386.
  ]
  [21-04-05 13:42:07.5732] Slim::Web::JSONRPC::requestMethod (455) Request 
failed with error: Bad dispatch!
  [21-04-05 13:42:07.5843] Slim::Control::Request::execute (1888) Error: While 
trying to run function coderef [Slim::Control::Commands::playlistJumpCommand]: 
[Can't locate object method "get_cookies" via package "HTTP::Cookies" at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/ProtocolHandler.pm
 line 386.
  ]
  [21-04-05 13:42:07.5847] Slim::Web::JSONRPC::requestMethod (455) Request 
failed with error: Bad dispatch!
  [21-04-05 13:42:18.4245] Slim::Control::Request::execute (1888) Error: While 

Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-04-01 Thread chaug


I have the same issue and posted my "garbage" as a github issue because
it was too long for a forum post:
https://github.com/philippe44/LMS-YouTube/issues/32#issue-848086293



*Server*: LMS 7.9.3 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: SqueezePad (iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library, Material Skin

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

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


Re: [SlimDevices: Plugins] MusicIP on Ubuntu 18.04

2021-01-04 Thread chaug


I have finally figured out the location of the recipes.xml file. Or
rather: I figured out that the mmm.ini also needs to be in the correct
place (apparently, MusicIP just runs with some hard coded default
settings if it doesn't find the mmm.ini.)

So here is what I did:

  
- Locate the file MusicMagicServer in the terminal
- run   
Code:

./MusicMagicServer -verbose start


- In the response you will see where it is looking for the mmm.ini:
Code:

Reading settings from /home/username/.MusicMagic/mmm.ini


- Make sure your mmm.ini is exactly in that location and check/modify
  the cache path to your default.m3lib provided in the mmm.ini. (I
  believe that if it doesn't find any mmm.ini it assumes that same path
  as the location for the default.m3lib, but if you specify a different
  path in the mmm.ini, it will use that.
- Put your recipes.xml in the same directory as the default.m3lib
  mm.ini (e.g. /home/username/.MusicMagic/) [Disclaimer: if this doesn't
  work, try putting it where the mmm.ini is. In my case the two are
  identical]
- Restart MusicMagicServer (it seems to read the recipe files only at
  startup)
- Point your broswer to   
Code:

http://:10002/api/recipes?submit=Show+Recipes

 and you should see a list of your recipes as defined in the
  recipes.xml.
  

Since the existing Web-UI doesn't have a button to show the recipes, I
added one. Feel free to use my index.html which you can find at
https://github.com/tophee/MusicIP-Web-UI/blob/main/index.html



*Server*: LMS 7.9.3 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: SqueezePad (iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library, Material Skin

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

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


Re: [SlimDevices: Plugins] MusicIP on Ubuntu 18.04

2021-01-03 Thread chaug


I still haven't gotten those Music IP recipes to work. No I'm checking
if I can get them to work when running MusicIP in a docker container.
I'm using 'this image' (https://hub.docker.com/r/ptoulouse/musicip) and
the container seems to work fine (it started scanning the music files).
But adding my recipes.xml file into the config Volume doesn't lead to
those recipes becoming available in MusicIP's web interface (even after
restarting the container).

Someone said earlier in this thread that it might be good to correctly
set the cache path in the mmm.ini file so I checked whether that might
be an issue here, but based on how the container is constructed, I
conclude that the path is being pointed to the default.m3lib file and my
recipes.xml is in the same directory, so that seems fine. 

But then again that's how I have it on my production server too and it
didn't work, so musicIP obviously expects the recipes.xml to be in a
different folder. But whoch one?



*Server*: LMS 7.9.3 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: SqueezePad (iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library, Material Skin

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

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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2020-07-19 Thread chaug


I am unable to play any more clips from youtube and I can't quite figure
out why but it might have something to do with having (almost) reached
the maximum number of api queries:

31087

But then again, I have not yet reached the maximum, so it should still
work.

I have no idea where all those queries come from, given that I have
maybe searched for 5-10 videos in the past week or so. How many queries
is each search supposed to consume?

I set the logging level for the youtube plugin to DEBUG and found this
hundreds of these:


Code:

[20-07-19 14:46:22.5661] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(783) getmetadata: youtube://www.youtube.com/v/y2Ffjx2qGjY
  [20-07-19 14:46:22.5663] Plugins::YouTube::ProtocolHandler::getMetadataFor 
(798) cache hit: y2Ffjx2qGjY



What does that mean?

Any clues that might help me fix this problem would be appreciated.


+---+
|Filename: 2020-07-19_15-09-17.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31087|
+---+


*Server*: LMS 7.9.2 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: SqueezePad (iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library, Material Skin

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

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2020-07-08 Thread chaug


MillmoorRon wrote: 
> I want to use this to import only the ratings, but not added, playcount
> or lastplayed.
> 

This reminds me of an issue I had some time ago. Check if this thread
helps you:
https://forums.slimdevices.com/showthread.php?102245-Trackstat-Unrated-tracks-appear-as-rated-with-1-star



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library

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

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2020-01-03 Thread chaug


Thanks for an excellent plugin.

Is there a way of accessing one's albums from Youtube Music? Currently,
my workaround is to go to the album on youtube music and add its songs
to a playlist which then becomes accessible via the plugin. Is there a
better way?

And here is a feature request: it would be great to have a plugin
setting that would allow me to filter which subscriptions and which
playlists should be displayed on LMS. Well, let's start with playlists.
Because we have control over how we call our playlists, it would suffice
if the plugin would let me specify a prefix that needs to be included in
the playlist name in order to be displayed in LMS. For example, I could
use the Prefix "Music_" to filter for my music related playlists so that
all my other youtube playlists are not shown.

When it comes to subscriptions, it's probably a bit mor difficult
because there is no pattern in the LMS relevant youtube channel names. I
guess this is not as important a feature as the playlist filter, but if
you implement such a setting, it would probably be best to show a list
with all subscriptions with a check box next to each and the user can
unselect the ones that shouldn't be shown on LMS.



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library

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

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


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2019-12-30 Thread chaug


Would you be willing to consider a cheaper subscription plan for people
who oy occasionally want to use Alexa to control their music? Perhaps a
"pay-per-command" plan or a 1 EUR plan that includes a certain number of
commands?



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library

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

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


Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches

2019-11-16 Thread chaug


peterw wrote: 
> Please check the server log after restarting LMS to see if it contains
> any hints. 

Thanks, Peter, for pointing me to the logs. I should have thought of
that, but I'm not used to this kind of debugging. I found the log file
at /var/log/squeezeboxserver/server.log and I'm seeing loads of these:


Code:


  [19-11-16 12:26:22.5467] Plugins::PlayLog::Plugin::logSongInfo (439) unable 
to create song log as UTF-8, creating with unspecified $
  [19-11-16 12:26:22.5474] Plugins::PlayLog::Plugin::logSongInfo (441) unable 
to create song log



But what does it mean?

peterw wrote: 
>  Over here I'm running version 2.1.46 on LMS 7.9.2 - 1557815622. That's
> a fairly new release of PlayLog (May of this year) so you might check
> that, too, and consider adding my "tux reborn" repo to your settings to
> stay up-to-date. But I expect it should work OK, respect your old
> settings, and be able to use the data it previously logged.
> 

Yes, it is using (or at least displaying) the data I  previously logged.
But it is not logging any new data. I guess the log entries above say
why.

I am also running the latest version of playlog (v2.1.46) but on a
somewhat older build than you: LMS Version: 7.9.2 - 1545026161 @ Mon Dec
17 07:16:24 CET 2018.



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library

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

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


Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches

2019-11-11 Thread chaug


This plugin has been working fine for me over the years but in August
2018 it stopped logging. Since this was the time when I switched to a
new machine and upgraded to LMS version 7.9.2 (I think before I was on
7.3 or 7.5), so I suspect that the reason for it no longer working is
connected to that. But is it that I made a mistake when migrating or
does the plugin simply not work with 7.9.2? Can anyone confirm?



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library

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

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


Re: [SlimDevices: Plugins] MusicIP on Ubuntu 18.04

2018-12-31 Thread chaug


I'm still desperate to figure out why MusicIP is not finding any of the
recipes.xml files that I put in various directories. 

I have one little hint where something might be going wrong but I don't
know how to proceed from this: I noticed that when I stop and start
MusicIP (by doing sudo systemctl stop mmserver.service and then sudo
systemctl start mmserver.service) MusicIP doesn't start again until I do
a second 
sudo systemctl start mmserver.service. Very strange but reproducably so.
So this means that something is going wrong when starting MusicIP the
first time but it works if the same command is issued a second time. 

Assuming that the recipes.xml is read when MusicIP starts, I suspect
that the reading fails because of whatever is going wrong during
startup. But what could that be? How can I find out?



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library

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

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


Re: [SlimDevices: Plugins] MusicIP on Ubuntu 18.04

2018-10-21 Thread chaug


slartibartfast wrote: 
> 
> cache=/home/pi/.MusicMagic/default.m3lib
> (...)
> tivo=0
> 

Just tried that, restarted musicIP and LMS but still no recipes in
sight. I'm not surprised though, since MusicIP somehow (magically?)
already knows where the default.m3lib file is, so I'm not really giving
it any new information. But thanks for your assistance.



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library

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

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


Re: [SlimDevices: Plugins] MusicIP on Ubuntu 18.04

2018-10-21 Thread chaug


slartibartfast wrote: 
> Just noticed that your recipes file is in the correct place. Is your
> mmm.ini file correct?
> 

Well, perhaps not. I'm not sure. I did not touch it. It looks like
this:

[mix]
mixsize=10 tracks
restrict=3 tracks
style=20
variety=0
seed=1
[server]
proxy=0
host=
proxyport=
authentication=
user=
password=
[services]
key=
cache=
port=10002
tivo=1
upnp=0
api=1
readonly=0
cpu=0

Where or how would I specify the location of the recipes file here? 

I can't remember having done that on my old system, where recipes worked
fine. But I sat that up years ago, so I may have forgotten.

I should mention that my musicIP installation seems to be working fine
otherwise. It scanned and validated thousands of files and wrote them
into the default.m3lib database. And Sugarsync uses it to decide which
song it should play next. The only thing that's not working are the
recipes. :(



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library

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

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


Re: [SlimDevices: Plugins] Understanding MusicIP moods and recipes

2018-10-20 Thread chaug


kefkekeyser wrote: 
>  
> How can I get the recipes to show up in Spicefly SugarCube? Do I need to
> put my recipes.xml in another location?

Did you manage to solve this? I'm struggling with the 'exact same
question'
(https://forums.slimdevices.com/showthread.php?108991-MusicIP-on-Ubuntu-18-04=923294=1#post923294)...



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library

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

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


Re: [SlimDevices: Plugins] MusicIP on Ubuntu 18.04

2018-10-20 Thread chaug


I can't get Sugarcube to see the recipes.xml file (for MusicIP recipes).
I'm not sure if this has anything to do with the specifics of the setup
discussed here, but I thought I'd start here.

According to 'this'
(https://forums.slimdevices.com/showthread.php?106958-Success-MusicIP-and-Spicefly-Sugarcube-running-on-Raspberry-Pi)
post, the recipes.xml files is supposed to be in the .MusicMagic
directory where also the default.m3lib is located. That is the case on
my system but in the Sugarcube plugin settings there are still no
recipes available at the "Optionally Add a MusicIP Recipe" dropdown
option.

What I have tried/looked at so far:
- restarted LMS
- restarted MusicIP
- checked file permissions: -rwxr-xr-x 1 christoph christoph5628 Apr
12  2017 recipes.xml*
- created a recipes.xml file in the ~/MusicIP/recipes directory as well
as in ~/MusicIP 

Where else might musicIP be looking for that file? Or how can I tell it
where it is?



*Server*: LMS 7.9.2 on an Ubuntu 18.04 home server
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller
(Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Spotty, Multi Library

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

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


Re: [SlimDevices: Plugins] MusicIP on Ubuntu 18.04

2018-09-26 Thread chaug


bakker_be wrote: 
> 
> The difference between the 2 approaches has to do with the difference
> between the way services are launched: 'systemd<->sys v<->upstart'
> (https://fossbytes.com/systemd-vs-sys-v-vs-upstart/). Systemd is the
> most recent of the three and the default in Ubuntu since 15.04. I have
> no idea why the original info on havetheknowhow worked for 16.04 which I
> had previously but doesn't on 18.04. The service file I now created is
> for systemd.

Thanks for explaining. I'm starting to make sense of the different ways
of starting deamons. However, I believe `systemctl` (which was used in
the previous instructions) 'is also part of systemd'
(https://askubuntu.com/questions/903354/difference-between-systemctl-and-service).
So I'm not sure that is the difference...



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

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

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


Re: [SlimDevices: Plugins] MusicIP on Ubuntu 18.04

2018-09-24 Thread chaug


bakker_be wrote: 
> After a lot of searching, trying, cursing, searching and trying again
> I've managed to solve my issue :)
> 

Thanks mate, I know exactly what you're talking about.

One little addendum for anyone using a 64bit system (amd64):
magicmusicserver wont execute because it is a 32-bit executable. In
order to be able to execute 32-bit on your system, you need to do


Code:


  sudo apt-get install libc6-i386
  



(See:
https://superuser.com/questions/1076730/how-to-run-32-bit-app-in-recent-ubuntu-64-bit)

After that, @bakker_be's solution worked for me.

If someone passes by hear and can explain what the difference between
that solution is compared to the original one (with mmserver in
/etc/init.d/), it would be great to understand what is going on here...



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

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

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


Re: [SlimDevices: Plugins] MusicIP on Ubuntu 18.04

2018-08-30 Thread chaug


SlimChances wrote: 
> I never had much luck using the m3lib file from another install. If all
> your music has been archived (fingerprinted) it only takes 5 minutes or
> so for MusicIp to do the scan (i had about 2 tracks under MusicIP).
> If the music isn't archived it will take quite a long time (days I
> imagine). To archive in the future check the box under
> Preferences/General(see screenshot)
> 
> Edit:I am not sure how long archiving will take on files that were not
> done that way to begin with but I am thinking it will take a very long
> time and suggest you try using your old m3lib file and see what happens

cparker wrote: 
> Hi
> 
> You can find out more about archive analysis and how to check it, on
> this page;
> 
> https://www.spicefly.com/article.php?page=musicip-offline
> 
> Cheers

Thank you both for those hints. For me, the problem is that I am running
MusicIP as a headless install on my NAS so I don't have access to the
kind of GUI you are referring to. Is there any way to do this
(archiving) via the CLI?



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

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

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


Re: [SlimDevices: Plugins] MusicIP on Ubuntu 18.04

2018-08-27 Thread chaug


SlimChances wrote: 
> 
> Do not use default.m3lib from another install. Rebuild library from
> archived fingerprints
> 

Could you explain that part? I was going to do just that, given that it
will take days, if not weeks for doing a complete rescan. I'm not sure
how to do the archiving.

If the problem with using the default.m3lib from another install is
merely that the file paths might be different, I guess I could fix that
via symlinks or so, no?



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

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

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


Re: [SlimDevices: Plugins] Custom Browse and playing other songs in album

2017-01-26 Thread chaug

Thanks a lot for sharing this. It just started using the multi library
plugin and was confused that whenever I selected a song from an album
via the menu in a specific library, it played all songs in the album
even though the player setting was "Play only selected song". So the
first thing I had to figure out was that when I was browsing specific
libraries, I was actually using a custom browse menu. So it dawned on me
that custom browse may not be respecting the per player setting. But how
to change it. It did not occur to me that this would be a per menu-item
setting so I was glad to eventually find this thread which brought me on
the right track.

But does it make sense to have "Play only selected song" vs "Play other
songs in album of directory" as a per menu option rather than as a
universal option? Although it is feasible, I found it rather labourious
having to go into each individual menu and changing the setting. I
suppose that there is some technical limitation why the Custom Browse
plugin doesn't simply respect the generic setting for each player. But I
think the current solution is not good. I *would like to suggest* to
@erland (no way to do mentions in this forum?) to add this option to the
Custom Browse Settings menu.

Another thing I would like to mention is the following *inconsistent
behaviour* of the Custom Browse plugin: Once I have manually disabled
the "Play all songs in selected album" in the first level custom browse
menus, this setting was automatically applied to the corresponding menus
of one of my three libraries but not to the other two. I think it should
be either be applied to all library menus (preferable) or to none at
all.

Finally, there also seem to be some* inconsistencies* in how albums are
displayed across the different menus. For example, in my classical music
library, in the album menu, the album artist is displayed even though
the setting "show artist with album" is off but in the New Albums menu,
the artist is not displayed but instead the year is (and I have no idea
how I might turn that off) and when I activate "show artist with album,
the artist is displayed in a smaller font on the left, i.e. in a
different way than in the Albums menu.



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

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

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


[SlimDevices: Plugins] MuisicIP root directory: how to reset/ change?

2017-01-25 Thread chaug

I am running MusicIP headless on a NAS (for use with Spicefly
Sugarcube). On that NAS, there are several paths to the folder
containing the music (don't ask me why). So far, MusicIP accessed the
music via  the path /media/Music/. Today I accidentally asked it to scan
/c/media/Music (which is physically identical with /media/Music/). The
result is that MusicIP now wants to validate thousands of songs that it
has "discovered" in this "new" folder.  

Is there any way I can make it forget this path again?



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

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

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


Re: [SlimDevices: Plugins] SugarCube and MusicIP for music mixing

2017-01-25 Thread chaug

Could it be that those 2% of your songs include non-ascii characters
like äöåüßéèêç etc? MusicIP ignores those...



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

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

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


[SlimDevices: Plugins] How to SyncOptions Plugin writing to Playlists directory?

2017-01-25 Thread chaug

I am seeing some ugly playlists in my playlists folder (and which are
hence displayed in the squeezebox UI). They have file names like
"SyncOptions-Radio-00_04_20_27_da_2d", It looks like these originate
from the setting RESTORE PLAYLIST AFTER UNSYNCING=ON in the SyncOptions
plugin. 

My question: how can I get the plugin to store those playlists somewhere
else than the official playlist folder?

Thanks in advance for any hints!



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2016-10-01 Thread chaug

I would like to deactivate Trackstat on just one of my players (more
precisely, I would like to turn off automatic rating on that player, but
I'd be fine turning trackstat off completely if there is no other way).
>From what I can see, none of this is possible via the UI, right? In that
case, I'd like to submit this as a feature request. Any chance of that
being implemented?



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


Re: [SlimDevices: Plugins] MusicIP filters in headless mode

2016-08-15 Thread chaug

downtime wrote: 
> I got this working by copying the default.m3lib from headless Ubuntu to
> Windows 10. Double-clicking opens the library in MusicIP Mixer. I
> created a filter, saved the library cache and copied the file back to
> Ubuntu. After restarting mmserver, the filter and all files show up and
> I'm listening to a Blues & Rock filtered mix.
> 
> I'm using MusicIP Mixer ver 1.8b under Windows. Ver 1.9 kept crashing.

Interesting. I shall try that. Where did you download version 1.8 for
windows?



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2016-06-17 Thread chaug

philippe_44 wrote: 
> Unfortunately, this seems to be an issue with the SSL/Perl libraries in
> your system
> 
> [16-06-12 21:11:43.8207] Slim::Networking::IO::Select::__ANON__ (147)
> Error: Select task failed calling
> Slim::Networking::Async::HTTP::_http_read_body: Can't locate object
> method "BINMODE" via package "IO::Socket::SSL::SSL_HANDLE" at
> /usr/share/perl5/Slim/Player/Song.pm line 622.
> 
> All works fine till the opening of the actual SSL socket to start
> streaming. I had a discussion about this issue much earlier in this
> thread, I can't remember all the details, but I think it was due to a
> combo of SSL/Perl installation. You say this is a debian-based system,
> can you tell a bit more? Are you sure openssl is properly installed (not
> talking about the Perl part)

It's a Netgear ReadyNAS Ultra 2 whose OS is based on Debian Etch. So
it's rather old, but it would be great to get SSL to work.

Whether openssl is really properly installed, I am unable to say. What I
can say is that apt-get install libio-socket-ssl-perl libnet-ssleay-perl
tells me that the newest version is already installed:

Code:

NAS:~# apt-get install libio-socket-ssl-perl libnet-ssleay-perl
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  libio-socket-ssl-perl is already the newest version.
  libnet-ssleay-perl is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
  NAS:~#



Now, as you can see, it also tells us that 24 packages were not
upgraded, but I have no idea whether this pertains to the relevant ssl
packages and if it does, how to upgrade them (without breaking something
else)

Any ideas?



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2016-06-12 Thread chaug

philippe_44 wrote: 
> When you say 'same problem' do you mean you have the same hardware
> server base for LMS?
> 
> [edit]: if you can set the YouTube plugin log to debug, I will have a
> look and see if this is a SSL issue or something different in the
> analysis of the URL itself
> 
> 

I don't know what andersenthomas' hardware server base is. I was
referring to:
- debian-based installation
- usage showing up on
https://console.developers.google.co.../youtube/usage
- not getting any sound 
- libio-socket-ssl-perl and libnet-ssleay-perl is installed and latest
version

All of this applies to my situation.

I am sending you the debug log for the youtube plugin starting from when
I started to play a youtube stream until I stopped it (after a minute or
so) as a PM since the forum won't let me post it in this message as it
is too long.

Hope it helps!



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


Re: [SlimDevices: Plugins] Announce: YouTube Plugin

2016-06-11 Thread chaug

andersenthomas wrote: 
> I am running the YouTube plugin v. 0.37.4 but is unable to get it
> working on my OMV (debian-based) installation. On
> https://console.developers.google.com/apis/api/youtube/usage I can see
> request are being made and the correct URL is being returned by looking
> at the LMS log so I guess API communication is working. However, I am
> not getting any sound on my squeezelite players. The logs last entry is
> typically something like "[16-03-20 10:07:45.3712]
> Slim::Player::Song::open (471) Warning: stream failed to open
> [youtube://www.youtube.com/v/PsO6ZnUZI0g]". Both libio-socket-ssl-perl
> and libnet-ssleay-perl is installed and latest version. I anybody else
> experiencing something similar or have a solution?

I am having the same problem but with v 0.38.1...(except that I don't
know what my logs say) Did you find a solution?



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


Re: [SlimDevices: Plugins] MusicIP filters in headless mode

2016-06-08 Thread chaug

SlimChances wrote: 
> Not sure if this helps but I use WINE to use the Windows GUI version of
> MusicIP on Ubuntu I use headless version also

Unfortunately, running Wine on a NAS is not an option...



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


[SlimDevices: Plugins] MusicIP filters in headless mode

2016-06-05 Thread chaug

After 'Spotify shut down the Echonet api'
(http://forums.slimdevices.com/showthread.php?97668-Announce-Smart-Mix-plugin=851204=1#post851204)
despite 'having promised not to do so when they took over the company'
(https://press.spotify.com/us/2014/03/06/spotify-acquires-the-echo-nest/),
I'm probably not the only one going back to Spicefly Sugarcube and
MusicIP. 

I wanted to take the opportunity and finally use MusicIP filters in my
setup so that I can easily limit the selected tracks to certain parts of
my library. I have understood that there is no way of creating filters
in the headless version by itself and that you have to use the GUI
version to create the filters (which are stored in the "default.m3lib"
(musicIP's library), not in a separate file). Since my headless setup is
on a NAS, I cannot run the GUI on the same machine so I copied the
default.m3lib to my windows PC and opened it with MusicIP Mixer, created
the filters, and copied the file back to the NAS. 

When I opened the webinterface (port 10002), I had 0 songs because the
file had been modified. It gave me a button to "reload cache" but it
doesnt seem to do anything. I restarted everything that can be restarted
but to no avail. I also changed the ownership of the file to 500:500,
just like all the other MusicIP files, but that diedn't change anything
either.

Does anyone have an idea how to fix this?



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


[SlimDevices: Plugins] Controlling your music with a smartwatch

2016-02-22 Thread chaug

I'm surprised that there is hardly any talk about smartwatches on the
forum and I wonder whether this is because the Smartwatch hype is only
just starting or because anyone who has a smartwatch knows that you can
easily control your squeezebox devices via the media control that, I
think, all smartwatches include.

Now, let me mention that I did my research and, yes, 'there is an
android app that works an android wear devices'
(http://forums.slimdevices.com/showthread.php?103030-Android-Wear-support-Is-Squeeze-Control-the-only-app-so-far).
And 'there is one for the Sony Smartwatch'
(http://forums.slimdevices.com/showthread.php?98314-Announce-Sony-SmartWatch-app-for-Squeezebox-%28SqueezeWatch%29).
So maybe everyone with an Android Wear watch just gets the
Squeezecontrol app and everything is fine? But what about the other 4 or
5 Squeezebox apps out there? And what about the Apple Watch?

And what about the Samsung Gear S2, which runs on Tizen? (This is where
my personal interest lies!). According to 'this video'
(https://www.youtube.com/watch?v=WW8hvXjx1xc), it is possible to control
Google Play just by using the media controls on the Tizen watch (and I
assume that Spotify will work the same way). But that will just make
your phone play musik. What we want is not to control the phone as a
music player but to control the phone as a remote (Ideally, of course,
the watch would connect directly to LMS, but that would obviously
require a proper app). 

Anyone out there who can say what works and what doesn't with Tizen?

And to the developers: what are your thoughts on making your apps
smatwatch compatible/ creating a native smartwatch app?

Christoph



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)

2015-10-25 Thread chaug

Man in a van wrote: 
> Perhaps no tweak is necessary
> 
> 19076
> 
> 
> 
> 19077
> 
> Ronnie
Sometimes pictures say less than a few words. Or at least they are more
difficult to decipher... 

So If I understand you point correctly, you have a Boom on your living
room and it works with the Logitech App although you have the helper on
Triode's app activated, right? 

That gives me some hope, but it also leaves me more confused since it
begs the question why my boom doesn't work with the Logitech app as soon
as I turn the helper on. 

More questions for the developers...



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)

2015-10-25 Thread chaug

karlek wrote: 
> Ob msb.com you can configure for each player if the official App should
> show up in the home menu. 
> I think this affects LMS boxes either.

I have to admit, there is still a good bit of confusion in my head (but
that has always been so with regard to how the squeezebox players,
especially their menus, work.

I have "Display on Home Menu" activated for all players on msb.com but
it doesn't seem to make a difference. At least not when I'm connected to
my local LMS. Which makes sense, of course, but then again it was my
understanding that you have to register your spotify app on msb.com only
once and then it works even if you never connect to msb.com any more.

chaug wrote: 
> 
> 5. After the activation, your players may ask you to switch to
> mysqueezebox.com when you try to use the Logitech Spotify app. Just do
> as you're told and the switch back to your local LMS. It should work
> without switching thereafter. 
> 

I am not so sure about this point 5 any more after I just was asked
again to log into msb.com again in order to access the green spotify app
on my Touch. When I changed back to my local LMS the menu of the Touch
visibly reloaded and the green spotify app was nowhere to be found
anymore. Not on the home screen, not on in My Apps, nowhere. And before
it was clearly there, though I can't say whether I actually used it
there (Most of the time, I use my phone or the Webinterface to control
it). I'd like to believe that I did not use it and trying to do so now
somehow made the Touch realize that it wasn't connected to msb.com and
after it came back to my local LMS it reloaded another version of the
menu that does not have the green app in it. But that is just some wild
speculation based on the assumption that all this does have some
underlying logic...

Anyway, I think what might help to clear all of this up is to
distinguish between what works in terms of playing (actual sound coming
out of certain players) and menus (on what devices you can actually see
the green app and control current playlists (whether they are actually
played or not). This way of looking at things (and describing problems)
is coherent with 'the way SB players communicate with Spotify'
(http://forums.slimdevices.com/showthread.php?104436-Announce-We-re-updating-the-official-Spotify-app=832713=1#post832713)
as well as with my (confusing) experiences. In addition, people should
report which library they are logged in while observing certain things.

On my part, I cam say that after following the '5 points above'
(http://forums.slimdevices.com/showthread.php?79706-Announce-Spotify-Premium-Plugin-(Beta)=833757=1#post833757),
I can now play tracks via the green spotify app on -all- my players,
including the good old Boom without being logged in on msb.com. However,
I need to control the players either via the webinterface,
Squeezecommander on my Android phone or Squeezepad on my iPad since - at
least at the moment - the green app is absent from the menus of -all-
the actual players themselves. I would not be surprised if this changed
again any time soon, since I believe I was already a step further and
had the green app show up on Touch and Radio -and- be able to play on
them both.

Cheers,
Christoph



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)

2015-10-25 Thread chaug

Mark Miksis wrote: 
> This is interesting.  Can someone expand on this?  What exactly can I
> accomplish by installing and running both plugins?
Okay, things are clearing up in my head after reading through the thread
announcing the new version of the Logitech app, so I might as well try a
basic summary of what we know so far:

1. Yes, Boom and other older players can now play music selected via the
Logitech spotify app. (Thanks so much Michael!!) 
2. However, the Triode app needs to be installed longside it. (because
the actual playing is done by it, even when you select the tracks in the
other app) 
3. In the settings of the Triode app, "Always stream via Helper" needs
to be activated and "Show in My Apps" has to be deactivated. 
4. You need to activate your players in the spotify app on
mysqueezebox.com even if you are not using mysqueezebox.com as your
server (who does anyway?) and even if you have previously done the
activation. 
5. After the activation, your players may ask you to switch to
mysqueezebox.com when you try to use the Logitech Spotify app. Just do
as you're told and the switch back to your local LMS. It should work
without switching thereafter. 
6. This last point is not essential knowledge but can prevent you from
going insane when your Players act very strangely in relation to Spotify
(such as that you can navigate and search spotify but not play
anything): there are two independent login processes for spotify. See
here:
[http://forums.slimdevices.com/showthread.php?104436-Announce-We-re-updating-the-official-Spotify-app=832713=1#post832713


Despite all this clarity, I  still have two questions: I have
deactivated the "Show in My Apps"  option, but nothing changed. Do I
need to do anything else to activate the changes? 

And: I can't seem to find a way of getting the green spotify app into
any of  my home menus. Is it really impossible? 

Cheers, 
Christoph



*Server*: LMS 7.7.5 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, Spotify (Logitech and Triode)

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

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


Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)

2015-10-24 Thread chaug

chaug wrote: 
> From everything I read here and elsewhere on the web I understand that
> the original Logitech Spotify plugin only works on the SB Touch and the
> SB Radio. I am confused to find that in my case, it is the other way
> around.
> 
> So far, I have been using Triode's Spotify plugin and it worked fine on
> all my players. But I wanted to use Spotify's "Genres and Moods"
> function and thought that maybe the original Logitech app offers it
> (since the 3rd party one doesn't seem to support it). So I installed the
> orginal app, registered it on mysqueezebox.com and all and the result is
> that I can indeed access and play all the "Genres and Moods" playlists
> on my SB Boom (yeay) but I can play them neither on my SB Touch nor my
> SB Radio. I can access them alright and the lists I select are added to
> the players current playlist, but when I try to play them, the seconds
> start counting for a few seconds (but no sound), then it jumps to the
> next track, plays another few seconds (without sound) and then stops (or
> something like that, the pattern seems to be not entirely coherent).
> 
> Can someone explain to me what is happening and how I might be able to
> get spotify to play on my Radio and Touch?
> 
> I might add that my Touch plays the songs from Spotify when I play them
> on the Boom and then sync the touch to the Boom. (But I guess that is
> hardly surprising). Also, when I play songs via the smartplay app (which
> has Spotify activated), tracks from Spotify also play on all players.
> 
> And to add to the confusion, the Boom is connected to my local LMS while
> playing music via the Logitech Spotify app but the Touch works as
> described above, no matter whether I connect it to mysqueezebox.com or
> to my LMS.
> Christoph

Here is a quick update: Both Spotify plugins are now working on Radio,
Touch and Boom (with one limitation). I don't quite understand why, but
here's what I changed since my last post: When I noticed that Triode's
plugin no longer worked on the Touch, I checked whether I had
accidentally changed some settings and so I found the setting "Always
Stream via Helper" which was dis-activated (I guess as a default) and
since it's explanation says that it "will disable firmware streaming for
any players with built-in Logitech Spotify support." I figured that
installing the native Spotify Plugin perhaps counts as "built in
Logitech Spotify support". And when I read that  "firmware streaming is
automatically bypassed when players are synchronised and for players
which do not have built-in Spotify support", I thought, that sounds
familiar to me (see my previous post). 

So I activated "Always Stream via Helper" and voilà: not only did the
Triode Spotify app work again but also the Logitech Spotify App started
working. :o However, and that is the limitation, it stopped working on
the Boom (the Triode app works though). But as soon as I turn the Helper
off again, the Boom plays fine with the Logitech app. 

I shall leave it to the developers here to make sense of this, but as
far as I can see, there seems to be one conclusion to be made from this:
if Triode adds a little tweak to the app that allows users to activate
the helper only for selected players, the both apps could be used on all
players.



*Server*: LMS 7.7.5 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=79706

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


Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)

2015-10-23 Thread chaug

>From everything I read here and elsewhere on the web I understand that
the original Logitech Spotify plugin only works on the SB Touch and the
SB Radio. I am confused to find that in my case, it is the other way
around.

So far, I have been using Triode's Spotify plugin and it worked fine on
all my players. But I wanted to use Spotify's "Genres and Moods"
function and thought that maybe the original Logitech app offers it
(since the 3rd party one doesn't seem to support it). So I installed the
orginal app, registered it on mysqueezebox.com and all and the result is
that I can indeed access and play all the "Genres and Moods" playlists
on my SB Boom (yeay) but I can play them neither on my SB Touch nor my
SB Radio. I can access them alright and the lists I select are added to
the players current playlist, but when I try to play them, the seconds
start counting for a few seconds (but no sound), then it jumps to the
next track, plays another few seconds (without sound) and then stops (or
something like that, the pattern seems to be not entirely coherent).

Can someone explain to me what is happening and how I might be able to
get spotify to play on my Radio and Touch?

I might add that my Touch plays the songs from Spotify when I play them
on the Boom and then sync the touch to the Boom. (But I guess that is
hardly surprising). Also, when I play songs via the smartplay app (which
has Spotify activated), tracks from Spotify also play on all players.

And to add to the confusion, the Boom is connected to my local LMS while
playing music via the Logitech Spotify app but the Touch works as
described above, no matter whether I connect it to mysqueezebox.com or
to my LMS.

Finally, my LMS runs on LMS v7.7.5, the Touch and the Boom are both on
v7.7.3-r16676 (latest version, according to them) and the Boom is on
Firmware 57.

Any hints?

Christoph



*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=79706

___
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-19 Thread chaug

erland wrote: 
 I can confirm that you have found the problem, the behaviour in
 TrackStat currently is that if an unrated track is played longer than
 the lower limit but not long enough to increase the rating it's left
 unchanged rater than set to the default rating value. I'll put it on the
 todo list to fix this, but I want to make really sure I don't break
 anything else so it will require a bit of investigation and due to this
 make take some time.

Okay, but at least we have that one figured out! I guess, in the
meantime, I will change my rating settings to

Automatic rating increase percentage = 95%
Automatic rating decrease percentage = 95%

It should do as a workaround. :)

Just for the record, for anyone reading this thread: two questions
remain unanswered at this point:

1. Where did those duplicates come from that are not based on duplicate
MB IDs?

2. Where do those ratings of never played tracks come from (especially
those rated at 3 or 4 percent)?

If anyone is experiencing similar issues despite having MB ID's turned
off in Trackstat, please post here.



*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] Trackstat: Unrated tracks appear as rated with 1 star

2014-10-18 Thread chaug

I followed the 'instructions for restoring Trackstat statistics from the
backup'
(http://forums.slimdevices.com/showthread.php?102245-Trackstat-Unrated-tracks-appear-as-rated-with-1-starp=792434viewfull=1#post792434)
and, of course, the procedure itself went fine. It also lead to
significantly reduced size of the nightly trackstat backups (from 26 MB
to 6 MB) and it also looks like the backups are not increasing more than
what you'd expect from the additional history records. 

Regarding data loss discussed above: I did not fix this manually (i.e.
merge those records so that the correct last played date, rating and
playcount gets imported), but I understand that the information is still
in the backup file so that I can do that whenever I feel that the stats
are too messed up, right?

Anyway, the main purpose of this post is to say that I think I found out
at what points the missing ratings are produced (i.e. the reason why I
have many trackstat records with playcount  1 but without rating,
despite autorating being turned on): It seems to occur when I skip ahead
to the next song. It does not happen every time, but maybe every other
time. So, it seems there is some bug in Trackstat that prevents it from
doing it's job in those cases where the song is not played until the
end.

As I write this, it occurs to me that it might depend on how much of the
song has been played. So I made a quick test: I skipped the song
currently playing at about 70 percent and then checked its rating: it
was unrated. I then skipped ahead the next song when it was just about
20 percent into the song: it was rated correctly. 

Here are my threshold settings in Trackstat:
Minimum played percent = 1%
Automatic rating increase percentage = 95%
Automatic rating decrease percentage = 50%

What seems to be relevant here is the 50 percent threshold which is
obviously triggered when I skip ahead before half the track is played.
This works fine, according to my quick test above. But if I skip ahead
at a later point in the track, the rating should not be decreased (and
neither should it be increased unless more than 95% have been played).
It seems that the error of missing ratings occurs in that window where
the previous rating should be neither decreased nor increased.
Apparently, Trackstat is so busy complying with the do not change
previous rating rule that it forgets the rate unrated track rule. Is
that possible?



*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] Trackstat: Unrated tracks appear as rated with 1 star

2014-10-07 Thread chaug

erland wrote: 
 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.

I sent you the files via email.

erland wrote: 
 
 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.

I don't understand how you can say that restore will never remove data
and then say that it will overwrite information. Is overwriting not a
way of removing?

erland wrote: 
 
 Also, please note that the TrackStat backup entries contains two type of
 elements:
 - track : Which represent the current play count, added time, rating
 - historyentry : Which represent all previous times when a track has
 changed rating or been played 
 
 The track entry should have a single occurrence for each track.
 The historyentry should have an occurrence for each time a track has
 been played and it's normal that a track have multiple historyentry
 elements but they should have different values in their played or
 rating sub elements.

OK, that explains - at least partly - why the backup file is growing
continuously. However, I still don't understand why it should grow on
days when clearly no song has been played or added (i.e. when nobody was
home).

More importantly, this double structure of the backup tells me that
Excel was not doing a perfect job when automatically transforming it
into a table. At least, it wasn't clear to me that there are two types
of records. So I went back and chose a different way of importing the
xml file (where you get to map the fields yourself) and I mapped only
the track entries into the table and ignored the history. 

16464

The result is not so much different, however: There are 52000 records
(instead of 9000) and when I remove duplicates it takes away 41000
leaving me with 11000, i.e. there are 41000 completely identical track
records and another 2000 partly identical, where (presumably) the url is
the same but other fields differ.

Anyway, you will see this when you look at the files. I just wanted to
update my analysis of the XML file in case anyone ever wants to do the
same.


+---+
|Filename: trackstat backup in excel.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=16464|
+---+


*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] 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] Trackstat: Unrated tracks appear as rated with 1 star

2014-10-05 Thread chaug

OK, I need to qualify this and perhaps change my question. I said that I
have no more unrated songs because when I selected Trackstat - Not
rated - Not rated songs in the webinterface, I got an ampty list (after
almost a minute of waiting). It turns out that that list is not empty
but the connection to the server timed out or sumething. I noticed that
there are unrated songs since they show Unrated in their context menu.
So I ran  the Trackstat - Not rated - Not rated song thing again,
this time on my SB Touch which had the advantage that it actually told
me that it lost connection to the server and allowed me to reconnect.
After several tries it did reconnect and showed me a list of unrated
songs. However, that list is rather strange, since 90 percent of the
first 200 entries are the same song. In addition all of the songs have a
playcount of 2 or more, which doesnt make sense since I have Trackstat
Autorating turned on ever since I use it so that there should not be any
unrated song with a playcount greater than 0.

So, in other words, I might say that my strackstat database seems to be
in a mess and I wonder if there is any way to edit it manually, e.g. in
an excel file or so in order to fix at least the most obvious errors?



*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] Trackstat: Unrated tracks appear as rated with 1 star

2014-10-05 Thread chaug

I have managed to open the latest trackstat backup file in excel (just
drag it into excel!). It takes a couple of minutes until Excel displays
the 20 MB xml file as a table, but it does. And what I see is that
although I have about 9000 songs in my library, the trackstat database
has more than 65000 entries. Many songs have multiple entries (I saw one
that is represented 250 times!) with the exact same data. From what I
can see when I look at the file size of the nightly trackstat backups,
this magic increase of songs happens incrementally every day as the file
size increases between 50 and 300 kb every day, even on days when I was
on vacation and not a single song had been played, added or deleted.

So let me modify my question once again: if I ever manage to clear up
that mess manually in Excel, will trackstat be able to re-import the
resulting xml file?

And, of course: how can the duplication of tracks in trackstat be
avoided in the future?



*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] Trackstat: Unrated tracks appear as rated with 1 star

2014-10-05 Thread chaug

erland wrote: 
 Do you know if you have musicbrainz tags on your music files ?
 
 MusicBrainz change philosophy a couple of years ago so the same song on
 multiple albums got the same identity and this can cause duplication of
 entries in the TrackStat database tables. There is an Enable
 musicbrainz tags option in TrackStat that can be used to disable the
 musicbrainz related logic if this is what's causing the problem. 

I have musicbrainz tags enabled and have gone into pains of putting
musicbrainz ids on as many of my tracks as possible (unfortunately I've
not managed to figure out how I can submit those ones that are not yet
in the MB database, so I still have some without, but most of the
duplicates that I mentioned above have an MB ID (that's how I identified
them: I sorted the table by MB IDs).

erland wrote: 
 
 To get rid of the duplicates, I think it should be enough to use the
 Remove all data option in TrackStat settings page in the
 Backup/Restore/Clear section and after that restore the TrackStat
 backup. The restore process happens in the background and can take some
 time but it should only import one of the duplicate entries. If you want
 to be sure you can get back to the current situation it might be a good
 idea to shutdown LMS and take a backup of the library.db and persist.db
 file in the LMS Cache directory before you clear and restore the
 TrackStat data.

So you are saying that it I can go ahead and edit the XML file in Excel,
save it and import it in Trackstat? Great! But since this will be a
couple of hours of work (i.e. deleting about 56000 duplicates), I'd like
to make sure first that TrachStat is not going to then start producing
duplicates again. It seems to me that it is currently doing so every
night (or every night it becomes visible in the trackstat backups) since
the size of these backups is growing steadily every day. Why should that
behaviour stop once I import the the cleaned backup? I sense I need to
do something with the plugin too...



*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] Trackstat - Moving Files, saving Stats

2013-08-25 Thread chaug

erland wrote: 
 You can try to shutdown LMS and remove the section for the plugins you
 don't want in the plugin-data.yaml file in the LMS cache directory.
 Remove the whole indented section after the Database Query line and not
 just one line.
 
 You can also try to manually edit the plugin/extensions.prefs file in
 the LMS Preference folder when LMS is shutdown and remove the line  
 DatabaseQuery: 1.
 
 It feels extremely strange that Database Query plugin should cause any
 problems if you just install it because it doesn't do much before you
 enter the Database Query plugin menu and select one of the reports. So
 if you haven't tried it, I would just install it and uninstall it
 immediately afterwards. However, since I don't know exactly how your
 setup will behave, I can understand if you don't want to risk it, there
 could maybe be something strange in your setup that causes problems
 immediately after installation.

Thanks again for all the useful explanations. I finally sat down and
tried your tips to remove the Database Query plugin (I'm just too scare
to update and thereby reactivate it). I thought I'd mention what I
encountered, as it might help you (and perhaps subsequently me an
others) to understand what was going on:

I first tried to edit plugin-data.yaml, but to my surprise, it did not
have an entry for Database Query. I both searched for Query as well as
Database and looked through the file manually - nothing. :confused:

So I managed to get rid of it by removing the  DatabaseQuery: 1 line in
the  plugin/extensions.prefs file. So thank you for that hint. 

But perhaps this could have been a source of the problems I encountered,
i.e. that there were no settings saved for the plugin in the
plugin-data.yaml file?

Anyway, I also wanted to quickly mention that the problem with the huge
artwork cache folder that I described in an 'earlier post'
(http://forums.slimdevices.com/showthread.php?35962-Trackstat-Moving-Files-saving-Statsp=748230viewfull=1#post748230)
was apparently a bug in LMS which has been fixed with the latest release
(7.7.3). I haven't installed it yet, but the 'Change Log'
(http://htmlpreview.github.io/?https://github.com/Logitech/slimserver/blob/public/7.7/Changelog7.html)
states as one bug that has been Artwork cache would grow forever. Nice
to know that this may prevent any further issues on my ReadyNAS. :)



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

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


Re: [SlimDevices: Plugins] Trackstat - Moving Files, saving Stats

2013-05-18 Thread chaug

Thanks, Erland, for taking the time to write that post. I hope it will
also others with the same problem. For me, the only way to get LMS
running again was the option Clean cache folder, including media
library database, artwork cache etc. in the frontend configuration
interface of the ReadNAS. The only problem with that is that it also
seems to kind of uninstall most plugins. I'm saying kind of because
LMS still remembers that I have those plugins and tells me that there
are updates available for them (without listing them as installed,
though). This is not a huge problem, only that the DataBase Query plugin
is among those and if I select the update the whole trouble starts
from the beginning. At the same time, selecting the update seems to be
the only way to eventually uninstall it, since it is no longer listed as
installed. So for the time being, I am stuck with a plugin update
waiting to be installed which I never want to install again... I guess I
can live with that, but if there is another way of uninstalling it, I'd
be happy to try it.

Anyway, here is the full story of what I tried:

I let the NAS (and LMS) run in its non-functional state for almost three
weeks, hoping that this might give it sufficient time to sort out all
the operations that seemed to be jamming the CPU/memory, but to no
avail. In fact, as far as I could see from the NASMON interface, LMS
(i.e. squeezeboxserver) actually disappeared as a process twice during
that period. I simply restarted it both times. The other thing that
happened was that the nightly backup that I had scheduled Trackstat to
perform, increased in size steadily every night from 3344 kB on 24 April
to 11109 kB on 15 May. And when I finally cleared the cache and got
thing running again, it dropped back to 3848 kB. (Well, that's actually
not surprising since I had to restore TrackSTat from backup and I think
I chose the one from 24 April. The slight increase in size is probably
due to some extra albums that I ripped in the mean time).

So, here's what I did with your suggested solutions:

erland wrote: 
 
 SOLUTION 1 (ONLY RECOMMENDED IF YOU DON'T PLAN TO USE TRACKSTAT)
 The easy solution is just to completely uninstall TrackStat, you would
 probably have to find the Cache directory of LMS and login via ssh and
 remove it, I suspect it's in
 /var/lib/squeezeboxserver/Cache/InstalledPlugins/Plugins/TrackStat but I
 can't say exactly since I don't know your setup.

I did not try this since I really want to continue using TrackStat.

erland wrote: 
 
 SOLUTION 2 (DEACTIVATE MUSICBRAINZ IDENTITY LOGIC IN TRACKSTAT)
 Try to login via ssh, find the preference folder, probably in
 /var/lib/squeezeboxserver/Prefs or something similar, find the file
 plugin/trackstat.prefs and change the line:
 musicbrainz_enabled: 1
 to
 musicbrainz_enabled: 0
 And restart everything and see if it comes up, TrackStat still runs some
 queries but the ones causing the biggest performance issues are
 deactivated after this change.
 

I did not try this one either, since the whole point of this exercise
was to start using musicbrainz IDs so that I can change the filenames of
my music collection so that MusicIP will read them (i.e. remove all non
ASCII characters).

erland wrote: 
 
 SOLUTION 3 (DEACTIVATE REFRESH OPERATION IN TRACKSTAT)
 Try to login via ssh, find the preference folder, probably in
 /var/lib/squeezeboxserver/Prefs or something similar, find the file
 plugin/trackstat.prefs and change the lines:
 refresh_rescan: 1
 refresh_startup: 1
 to
 refresh_rescan: 0
 refresh_startup: 0
 And restart everything and see if it comes up, this will deactivate all
 the queries TrackStat runs at startup, so it should definitely help but
 I wouldn't trust TrackStat in a setup where both these needs to be
 deactivated. I think you should at least re-activate refresh_rescan
 after it have come up and see if it hangs at the end of a rescan, if it
 doesn't a solution is to set refresh_rescan: 1 but refresh_startup: 0.
 However, if you have startup problems it would surprise me if you won't
 have rescan problems also.
 

This is what I tried. Both refresh_rescan and refresh_startup are
currently set to 0 but after I restarted LMS, the CPU load for LMS went
up to around 100% again and the LMS webinterface remained inaccessible.
Just as before. Same thing after rebooting the whole device. When
looking at trackstat.prefs, I noticed that many of the variables have
the same strange value: 1336855428. Just thought I'd mention it.

BTW: the LMS preference folder on a ReadyNAS is somewhere in
/c/.squeezeboxserver/... (forgot the exact path)

erland wrote: 
 
 SOLUTION 4 (DELETING THE DATABASE)
 Try to login via ssh, find the Cache folder and delete the library.db,
 library.db-shm, library.db-wal files and delete them.
 This will delete the database parts which are usually deleted during a
 full rescan. After deleting these files, restart the system and preform
 a full rescan and see if it works again.


Re: [SlimDevices: Plugins] Trackstat - Moving Files, saving Stats

2013-04-24 Thread chaug

erland wrote: 
 I think you should be able to create a new Free form query in Database
 Query plugin and enter the following SQL:
  
Code:

  
   select url from tracks where musicbrainz_id is null and audio=1;
   

  

Thanks. However, this did not work. It was even worse than with the
default query: not only did no results show up but LMS became completely
unresponsive and I could not even fix this by stoping and restarting
LMS. I actually had to reboot the whole device... If fact, as I write
this, I realize that not even this has worked. Even after rebooting the
NAS, LMS does does not respond at all. I actually dont know what to do
now.



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

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


Re: [SlimDevices: Plugins] Trackstat - Moving Files, saving Stats

2013-04-23 Thread chaug

erland wrote: 
 Memory shouldn't be an issue, I have about 3500 tracks and only 512MB
 dedicated to virtual machine which my LMS runs in.
 It could be CPU related.
 
 Sounds like the NAS might be too slow if Squeezebox Server Statistics
 doesn't show up.

HM, the ReadyNAS Ultra is not the slowest one:

NAS:~# cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 28
model name  : Intel(R) Atom(TM) CPU D425   @ 1.80GHz
stepping: 10
cpu MHz : 1800.144

But I guess you are right anyway. Maybe an Atom CPU is not enough. This
means that the query tool will probably have a lot more problems on a
sparc-driven device. In any case, I'll have to accept this. Let me know
if there is any workaround that will allow LSM to tell me if all tracks
are tagged with the proper musicbrainz tag so that trackstat will
remember them...

Thanks for your help and for the great software!

Wirrunna wrote: 
 Here is a good guide to using Picard to only add Musicbrainz tags -
 http://www.blisshq.com/music-library-management-blog/2013/03/26/how-to-tag-mbid-picard/index.html

Thanks, Wirrunna. That was very useful. I'd just like to add that the
description is somewhat outdated with the latest version of Picard. I
guess people will figure it out, but it takes a while, since Picard will
not allow you to actually delete (remove) tags from the list which are
present in the original file. Here is what seem the easiest procedure
with Picard v1.2:

1. Richt click on the tag list and select Show changes first
2. Select those rows that Picard wants to add (the green ones),
right-click and select remove (except the ones you want to keep, of
course)
3. Select those rows that Picard wants to change (the orange ones),
right-click and select Use original values
4. Don't forget to save!



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

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


Re: [SlimDevices: Plugins] Trackstat - Moving Files, saving Stats

2013-04-22 Thread chaug

erland wrote: 
 It takes some resource and can take a while, on a NAS with limited
 memory it can  be problematic.
 Is your library large ? A lot of songs ?

Well, I guess it's not small, but far from what I've other people
mention in this forum. I'm at 5000 tracks, with about 700 flacs, the
rest mp3s.
The ReadyNAS Ultra 2, which I run LMS on, usually has 1GB Ram but I
upgraded it to 2GB. But perhaps that is still not enough?

erland wrote: 
 Hmm, Database Query is supposed to create the function it complains
 about at startup, does it work if you restart LMS ?

I have restarted LMS several times yesterday (as well as the whole NAS)
and tried again today after deactivating PHP as well as the NAS Monitor
module (running LoadAvg and Nasmon), just to avoid any condlicts. But
the problem remains when I try to call Squeezebox Server Statistics:
after a couple of minutes I get a timeout/ connection reset.

However, Squeezebox Server Inconsistency/Problems now gives me a
proper list of items, all with zeros at the end, i.e. no
inconsistencies. But that response comes so fast (immediately) that I'm
kind of suspicious that nothing is actually being executed...

Anyway, while I do like to solve this properly, I'm also starting to
look for a workaround. You said MusicBrainz Picard is doing it properly,
so I guess I will use it to add the track-IDs. Can I also use it to
check if all songs have their IDs (which is why I'm trying to call the
db query)? If I right click on a track in Musicbrainz Picard, it does
not give ma a Track-ID or a UFID or a MUSICBRAINZ_TRACKID but a
MusicID-PUIP. Is that what I'm looking for? That seems to be what it
adds after Analyze and save anyway.



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

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


Re: [SlimDevices: Plugins] Trackstat - Moving Files, saving Stats

2013-04-21 Thread chaug

erland wrote: 
 See the Track ID column in this table:
 http://wiki.slimdevices.com/index.php/SlimServerSupportedTags
 I know the Musicbrainz Picard tagger does it right, but it's probably
 done by the other Musicbrainz tools also:
 http://musicbrainz.org/doc/MusicBrainz_Picard
 The Picard tagger is a bit dangerous because it also replace other tags
 like ALBUM and ARTIST with the values stored in the central Musicbrainz
 database.

OK, thanks, that clarifies things.

erland wrote: 
  If you install the free Database Query plugin you can look at the
 report called Squeezebox Server Statistics, if the row Number of
 songs without musicbrainz tags on that report exists after a full
 rescan and is a non zero value it means that you still have files
 without musicbrainz tags.

I have been trying this now for several hours, and I cannot get that
plugin to give me a result for the Squeezebox Server Statistics. What
happens if I click on it is that CPU usage of my NAS goes up like crazy
and the fan starts to blow but I'm not getting anything in the browser.
I can't even open the SqueezeCenter settings page anymore. I will leave
it be for the night and see what it gives me tomorrow. But it's really
weird.

erland wrote: 
  If using Database Query plugin, it's also worth to check the Duplicate
 musicbrainz song tags row in the Squeezebox Server
 Inconsistency/Problems report because if that is a non zero value the
 TrackStat musicbrainz handling won't work good in your library. The
 Duplicate musicbrainz song tags row typically indicate that you have
 compilation albums which contains the same songs as some of your normal
 albums, the result of this is that musicbrainz identities aren't unique.
 The easiest solution is to just remove the musicbrainz tags from the
 compilation albums which have the duplicates, which means that it works
 for most of your library just not for some of the compilation albums. If
 you don't want to do this, there is an option to disable musicbrainz
 logic in TrackStat settings page, but then you can't move/rename files
 without loosing TrackStat data.

If I try to get the Squeezebox Server Inconsistency/Problems I get the
following (printed in red):


Code:

Error: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db prepare 
failed: no such function: if [for Statement  select distinct 'Missing rows in 
contributor_album table' as 'Problem type',if(count(*)0,'Yes','No') as 
'Possible problem', count(*) as 'Number of' from contributor_track,tracks where 
tracks.id=contributor_track.track and not exists(select * from 
contributor_album where contributor=contributor_track.contributor and 
role=contributor_track.role and album=tracks.album) ] at 
/usr/share/perl5/Slim/Schema/Storage.pm line 126 , no such function: if 
Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db prepare failed: no such 
function: if [for Statement  select distinct 'Invalid musicbrainz song tags' 
as 'Problem type',if(count(*)0,'Yes','No') as 'Possible problem', count(*) as 
'Number of' from tracks where musicbrainz_id is not null and musicbrainz_id not 
like '%-%-%-%-%' ] at /usr/share/perl5/Slim/Schema/Storage.pm line 126 , no 
such function: if Carp::Clan:
 :__ANON__(): DBI Exception: DBD::SQLite::db prepare failed: no such function: 
if [for Statement  select distinct 'Invalid musicbrainz album tags' as 
'Problem type',if(count(*)0,'Yes','No') as 'Possible problem', count(*) as 
'Number of' from albums where musicbrainz_id is not null and musicbrainz_id not 
like '%-%-%-%-%' ] at /usr/share/perl5/Slim/Schema/Storage.pm line 126 , no 
such function: if Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db 
prepare failed: no such function: if [for Statement  select distinct 'Invalid 
musicbrainz artist tags' as 'Problem type',if(count(*)0,'Yes','No') as 
'Possible problem', count(*) as 'Number of' from contributors where 
musicbrainz_id is not null and musicbrainz_id not like '%-%-%-%-%' ] at 
/usr/share/perl5/Slim/Schema/Storage.pm line 126 , no such function: if 
Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db prepare failed: no such 
function: if [for Statement  select distinct 'Duplicate musicbrainz song tags' 
as 'Proble
 m type',if(sum(cnt)0,'Yes','No') as 'Possible problem', ifn!
 ull(sum(cnt),0) as 'Number of' from (select count(*) as cnt from tracks where 
musicbrainz_id is not null group by musicbrainz_id having count(*)1) result ] 
at /usr/share/perl5/Slim/Schema/Storage.pm line 126 , no such function: if 
Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db prepare failed: no such 
function: if [for Statement  select distinct 'Duplicate musicbrainz album 
tags' as 'Problem type',if(sum(cnt)0,'Yes','No') as 'Possible problem', 
ifnull(sum(cnt),0) as 'Number of' from (select count(*) as cnt from albums 
where musicbrainz_id is not null group by musicbrainz_id having count(*)1) 
result ] at /usr/share/perl5/Slim/Schema/Storage.pm line 126 , no such 
function: if 

Re: [SlimDevices: Plugins] Trackstat - Moving Files, saving Stats

2013-04-20 Thread chaug

erland wrote: 
 There are two solutions. If you are doing this once and is moving all
 the files, solution 2 is probably easiest. Solution 1 will be a bit of
 work but it will be worth it in the long run if you move around files
 once in a while.
 
 Solution 1:
 1. Tag your files with Musicbrainz
 2. Perform a slimserver full rescan
 3. Move all the files
 4. Perform a slimserver full rescan
 

Could you specify more precisely what tags are required in an audio file
in order for it to me recognized/remembered by TrackStat after bein
moved or renamed? 

I am running MusicIP headless on my ReadyNAS and I'm not sure if it is
writing the right tags into the files (or perhaps its not writing
anything into the files?). If I'm looking at my music collection with
MP3tag, I see that most (but not all) files have a tag called
FINGERPRINT which contains data like this:
AXwjDOIPAAklCvgHngRSAkwHtgQmBD0FRQKsA74D6gLOBBkDPQH2AlgF8wPBAnMDLQJMATwCFwElAQwBewFOARMBIAEnAN8AywD6APkA7A
etc Is this what Trackstat is using?

Alternatively, I might ask, what exactly it means to Tag your files in
MusicBrainz. I suppose it is not the ordinary album and artist name
tags that you have in mind but probably the fingerprint, but also here,
I am not sure how I know whether the fingerprint has been written. I
tried analyzing a couple of Albums with MusicBrainz and then clicked
save, but this does not populate the fingerprint tag that I see in
MP3tag.

Finally, I also run bliss (www.blisshq.com) on my server and I think
that does Musicbrainz fingerprinting too. But before I make those
changes that might affect Trackstat, I'd like to make sure that all
files are tagged correctly for TrackSTat to remember...

Could anyone clarify this?

Regards,
Christoph



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

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