Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2014-10-08 Thread auster

mherger wrote: 
> > I tried to enable debugging for the MAI, but maybe I didn't do it
> > properly. I select advance -> logging and then set debug for the
> music
> > and artist information. Then I pressed apply and close and then clear
> > and rescan.
> 
> Hmm... that's odd. I tried to figure out where I'm writing to the cache.
> 
> I only can find one place in the scanner code where I'm doing so. And 
> it's dealing with URLs. I would be surprised if it used a URL with 
> diacritics in it. Could you please send me the picture the plugin shows
> 
> for Dvorak?
> 
> -- 
> 
> Michael

Here is the picture. This is located in my artistpic\ folder. If I
delete this picture, it will be downloaded and placed to artistpic
folder during next clear and rescan. If I exceute clear and rescan again
then scanning will fail. I have copied this same picture to the album
folder and renamed it as artist.jpg, but it seems that MAI totally
ignore it.


+---+
|Filename: Antonín Dvořák.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=16476|
+---+


auster's Profile: http://forums.slimdevices.com/member.php?userid=43850
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2014-10-08 Thread Michael Herger

I tried to enable debugging for the MAI, but maybe I didn't do it
properly. I select advance -> logging and then set debug for the music
and artist information. Then I pressed apply and close and then clear
and rescan.


Hmm... that's odd. I tried to figure out where I'm writing to the cache. 
I only can find one place in the scanner code where I'm doing so. And 
it's dealing with URLs. I would be surprised if it used a URL with 
diacritics in it. Could you please send me the picture the plugin shows 
for Dvorak?


--

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


Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl

2014-10-08 Thread Simon_rb

Hi, that's exactly what I'd like to do. When I shutdown externally using
domoticz it doesn't seem to transfer the players over to the alternate
server. Just wondered the easiest way to run your "shutdown to alternate
server" via a script. My apologise for not making it clear. I can send
commands to the players to turn them off, and I think that's using CLI..
Just didn't know how to activate your shutdown to alternative server
function.





Simon_rb's Profile: http://forums.slimdevices.com/member.php?userid=56871
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

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


Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl

2014-10-08 Thread gharris999

Simon_rb wrote: 
> Hi Mr Harris,
> 
> Just wondered how I could activate the "Shutdown to Alternate Server"
> action via a script from other than iPeng which I use now. My basic
> setup involves DemoPad and Domoticz. I usually have a switch on DemoPad
> which activates a switch in Domoticz which then runs the scripts I need.
> How would one accomplish this?
> 
> I did read you are no longer working or supporting this plugin as such
> however any help you or anyone else her can give me would be much
> appreciated.
> 
> Kind Regards
> Simon
I'm afraid I don't really understand what it is you're trying to
accomplish.  I'm not familiar with either DemoPad or Domoticz other than
to have a vague idea that they're involved in home automation.

I added the "Shutdown to Alternate Server" feature to SrvrPowerCtrl so
that players attached to a server could be handed off to another server
(typically a tinySC running on a SBTouch) when the main server shut
down.

Are you asking how to initiate a server shutdown from a script that gets
fired off by Domoticz?  If that's what  you're after, and assuming that
you know the IP of the server you're trying to shutdown, then you could
have your script use NetCat to send CLI commands to the server.



gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

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


Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver

2014-10-08 Thread SimonG156

SimonG156 wrote: 
> Anyone managed to get high & lows?

Ah - by default is high, next is low so fixed by adding period

{"width":"80","fontsize":"20","align":"left","period":"1","itemtype":"sdttext","sdtformat":"%Z","posy":"145","animate":"false","posx":"220"},



SimonG156's Profile: http://forums.slimdevices.com/member.php?userid=40383
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2014-10-08 Thread auster

mherger wrote: 
> > Scanner log:
> 
> Thanks. Unfortunately you didn't enable debugging for Music & Artist 
> Info, did you? But the error most likely is caused in there. I only have
> 
> to figure out where... I'll look into this. Thanks!
> 
> One more issue for Erland:
> 
> [14-10-08 21:32:06.0496] 
> Plugins::CustomLibraries::Plugin::postinitPlugin (449) Startup error: 
> Can't locate object method "deregisterNode" via package 
> "Slim::Menu::BrowseLibrary" at 
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CustomLibraries/Plugin.pm
> 
> line 167.
> 
> That module is not available in the scanner. He should make sure it's 
> not being called "if main::SCANNER".
> 
> -- 
> 
> Michael

I tried to enable debugging for the MAI, but maybe I didn't do it
properly. I select advance -> logging and then set debug for the music
and artist information. Then I pressed apply and close and then clear
and rescan.



auster's Profile: http://forums.slimdevices.com/member.php?userid=43850
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2014-10-08 Thread Michael Herger

Scanner log:


Thanks. Unfortunately you didn't enable debugging for Music & Artist 
Info, did you? But the error most likely is caused in there. I only have 
to figure out where... I'll look into this. Thanks!


One more issue for Erland:

[14-10-08 21:32:06.0496] 
Plugins::CustomLibraries::Plugin::postinitPlugin (449) Startup error: 
Can't locate object method "deregisterNode" via package 
"Slim::Menu::BrowseLibrary" at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CustomLibraries/Plugin.pm 
line 167.


That module is not available in the scanner. He should make sure it's 
not being called "if main::SCANNER".


--

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2014-10-08 Thread auster

Scanner log:


+---+
|Filename: scannerlog.txt   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=16472|
+---+


auster's Profile: http://forums.slimdevices.com/member.php?userid=43850
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2014-10-08 Thread Michael Herger

Now things have went even worse: scanning fails if I have artists tags
with special characters.

[14-10-08 19:25:41.0485] Slim::Music::Import::runImporter (485) Starting
Plugins::MusicArtistInfo::Importer scan
[14-10-08 19:25:52.3479] main::main (346) Error: Failed when running
scan post-process: [Wide character in subroutine entry at
/usr/lib/perl5/vendor_perl/Slim/Utils/DbCache.pm line 77.


Could you please enable debugging for the scanner and MAI and re-run a 
scan. Then provide the scanner.log file?


--

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


Re: [SlimDevices: Plugins] Announce: Music & Artist Information plugin

2014-10-08 Thread auster

I have had problems with special characters for example in Antonín
Dvořák (see post #333).

Now things have went even worse: scanning fails if I have artists tags
with special characters.

[14-10-08 19:25:41.0485] Slim::Music::Import::runImporter (485) Starting
Plugins::MusicArtistInfo::Importer scan
[14-10-08 19:25:52.3479] main::main (346) Error: Failed when running
scan post-process: [Wide character in subroutine entry at
/usr/lib/perl5/vendor_perl/Slim/Utils/DbCache.pm line 77.

I guess this started with version 0.9.6

-
Logitech Media Server Version: 7.9.0 - 141485 @ Sun 21 Sep 09:38:28
BST 2014
Music and artist information: 0.9.6



auster's Profile: http://forums.slimdevices.com/member.php?userid=43850
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

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


[SlimDevices: Plugins] Howto import last.fm playcount information to trackstat db?

2014-10-08 Thread audioeric

Hi,

Is it possible or do you have any hints howto to get my last.fm
playcounts into the trackstat database? I am using musicbrainz-ids for
the most of my tracks. Has anyone some kind of script or so?

Kind regards

Eric



audioeric's Profile: http://forums.slimdevices.com/member.php?userid=32720
View this thread: http://forums.slimdevices.com/showthread.php?t=102261

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


Re: [SlimDevices: Plugins] Announce: SuperDateTime - Current Date/Temperature and/or Baseball Screensaver

2014-10-08 Thread SimonG156

SimonG156 wrote: 
> Yep - on SB Radio no lows returned on Celsius or Fahrenheit versions. 
> 
> OK at this time of year, vexing in the winter.

Anyone managed to get high & lows?



SimonG156's Profile: http://forums.slimdevices.com/member.php?userid=40383
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

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


Re: [SlimDevices: Plugins] Pre-Announce PocketCasts Plugin

2014-10-08 Thread Michael Herger

As the author of the Bandcamp plugin you mentioned I do have some advice:

- ask them whether they have a public API. I bet all their apps and the 
web implementation, too, do use some kind of web API. Is it publicly 
available?


- if there isn't, then you're up to some dirty work. Be prepared for 
maintenance hell: whenever they change the web UI you might need to fix 
your plugin.


- if you're ready to get your hands dirty: get firefox with firebug 
installed. This imho still is the best tool investigate how a web site 
works. Monitor the console. There you would see all kinds of requests 
going to their servers, and the responses they give. Look at what the 
browser is sending. Is it XML? JSON? What else? Look at what the server 
returns. Same questions. Try to understand the parameters. That's what 
they call reverse engineering. It's ugly. It's a lot of guess-work. But 
sometimes it works surprisingly well.


When I did this for Bandcamp, it was a very interesting (and 
impressive!) experience. It really told me what "data driven web UI" 
means. There's very little static HTML. Most of the content is served up 
by some web services being queried when the page is loaded.


I wish you luck with your project!

--

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


[SlimDevices: Plugins] Pre-Announce PocketCasts Plugin

2014-10-08 Thread Thunderig

Hi everybody,

WHAT I INDENT:
As some of you I am a passionate podcast listener. Because the current
possibilities and workarounds to listen to podcasts using the Squeezebox
system are all unsatisfactory to me I decided to develop a plugin which
connects to the newly launched PocketCasts webinterface to listen to
podcasts. This would have the advantage to not care about podcast
updates and organizing because this would be all done by the PocketCasts
servers. Moreover, in a later version one could think about using their
sync-backend to propagate play-counts to Android and iOS devices.

WHY IS THERE NO CODE ATTACHED TO THIS POST:
Although I have some experience in HTML, CSS, Java, and Python.
JavaScript is one of my week spots. Even worse, as far as I see, the
frontend of the PocketCasts webinterface is primarily JavaScript based.
Therefore, I need advice from some JavaScript experts here on how to
scrub the interface of PocketCasts and embed the information in the
Slimserver. Right know I think I would be enough to list only the
podcasts one subscribed to already. 
I have already taken a look around the available plugins and think the
project with the most similarities to this intended project is the
BandCamp-Plugin. However, I would greatly appreciate if I could get your
thoughts about other possibilities to embed the PocketCasts webinterface
in LMS. For example is there a possibility for a proxy execution of
JavaScript in LMS? This would have the benefit that we could take full
advantage of their responsive WebGUI.

HOW YOU COULD HELP:
Have a look at the webinterface of Pocketcasts (you need to provide your
email address here: https://play.pocketcasts.com/register/beta , it has
a free 7 day trial) and give me your thoughts on how to embed it best in
LMS respectively give feedback on strategies how to handle their
JavaScript Code best.

Best regards
Andy



Thunderig's Profile: http://forums.slimdevices.com/member.php?userid=63371
View this thread: http://forums.slimdevices.com/showthread.php?t=102259

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