[SlimDevices: Plugins] Logging from ExecuteScript

2008-03-08 Thread strindberg

I get a lot of these in my server.log, as you can see it's about every
five minutes. Everything seems to work fine, so I'm not particularly
bothered. But I still thought I should report it.

[08-03-07 17:42:52.1733]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected
[08-03-07 17:46:45.5363]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected
[08-03-07 17:52:17.9795]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected
[08-03-07 17:58:49.2437]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected
[08-03-07 18:03:10.4845]
Plugins::ExecuteScript::Plugin::commandCallbackStop (222) Execute: No
Script Selected
[08-03-07 18:15:26.1770]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected
[08-03-07 18:27:33.1707]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected
[08-03-07 18:37:11.4051]
Plugins::ExecuteScript::Plugin::commandCallbackPlay (255) Execute: No
Script Selected
[08-03-07 18:39:14.1795]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected
[08-03-07 18:44:56.0649]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected
[08-03-07 18:50:13.1745]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected
[08-03-07 19:01:45.9805]
Plugins::ExecuteScript::Plugin::commandCallbackStop (222) Execute: No
Script Selected
[08-03-07 19:39:53.1254]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected
[08-03-07 19:45:00.1130]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected
[08-03-07 19:49:18.7674]
Plugins::ExecuteScript::Plugin::commandCallbackOpen (284) Execute: No
Script Selected


-- 
strindberg

strindberg's Profile: http://forums.slimdevices.com/member.php?userid=11265
View this thread: http://forums.slimdevices.com/showthread.php?t=44386

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


Re: [SlimDevices: Plugins] Logging from ExecuteScript

2008-03-08 Thread kdf

On 8-Mar-08, at 12:00 AM, strindberg wrote:

>
> I get a lot of these in my server.log, as you can see it's about every
> five minutes. Everything seems to work fine, so I'm not particularly
> bothered. But I still thought I should report it.

it's just information, not errors.  You can set the logging level in  
server settings to OFF if you have no need for it.
check the persist option at the top to have it stick across restarts
-kdf
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Run Script Plugin

2008-03-08 Thread danco

kdf;276729 Wrote: 
> 
> If you navigate to the plugin via the Extras menu on the player, you
> can
> select a script and press PLAY to run it immediately. 
> -kdf

The problem with this approach is that it will also set the script as
being selected, so one has to remember to deselect it immediately
after, or at some later time.

There are scripts (see other threads) to shut down Windows or Linux
machines, and I think I saw that the Windows version had been modified
to sleep the server rather than shut it down.

The old ShutdownServer plugin (no longer available, but you can find it
on one of the forum posts, and I have a copy) would let you run any
script. In particular, I used it to run a script that sent my Mac to
sleep.

I agree with GJS123 and carp that a version of this for SC7 would be
useful. I did a bit of playing around with modifying it, but I don't
really know what I am doing, wasonly working by analogy and
cut-and-paste, so I only gota small way. Maybe the two or three of us
should discuss things further by pm (meaning private message, here).

Of course, even better would be a plugin that let one choose which of a
selection of scripts to run.  ExecuteScript lets you do that, of course,
but has the issue I mentioned in my first sentence.


-- 
danco

danco's Profile: http://forums.slimdevices.com/member.php?userid=210
View this thread: http://forums.slimdevices.com/showthread.php?t=44301

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


[SlimDevices: Plugins] Lazy Search not showing in beta build

2008-03-08 Thread mp30dancer

I got a nightly download a few weeks ago (so that I can get my beloved
Pandora on my old ver.1 SB ... thanks Andy) 

But now Lazy Search isn't appearing anywhere in the plugins etc.

I moved the lazysearch2.pm in program
files/squeezecenter/server/plugins

and restarted the server, but it's not showing up on the plugins tab on
Settings.  (

And there's nothing in the Players->Menus to even show Plugins on the
main menu, although that's a separate issue of course.)

The version is:

SqueezeCenter Version: 7.0 - 17653 - Windows XP - EN - cp1252

Any help?  Stuart/anyone?


-- 
mp30dancer

mp30dancer's Profile: http://forums.slimdevices.com/member.php?userid=13879
View this thread: http://forums.slimdevices.com/showthread.php?t=44388

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


Re: [SlimDevices: Plugins] Lazy Search not showing in beta build

2008-03-08 Thread erland

You need to get the version of Lazy Search that works on SqueezeCenter
7.0.
http://hickinbottom.demon.co.uk/lazysearch/


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.homeip.net/index.php/Category:SlimServer))

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

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


Re: [SlimDevices: Plugins] Announce: SqueezeCenter 7.0 beta versions of my plugins

2008-03-08 Thread erland

Michael Herger;276813 Wrote: 
> Are you using the standard templates or your own? 
What do you mean with standard templates ?
If you are talking about contentcontainer and contentitem, I'm using
the standard versions.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.homeip.net/index.php/Category:SlimServer))

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

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


Re: [SlimDevices: Plugins] AlienBBC Live streams not working

2008-03-08 Thread b33k34

I've been running an 7.0a for the last few months and have just moved to
7.0.0 and installed AlienBBC on the iMac for the first time (I'd only
used in under 6.5 on XP before).  I'm testing using softsqueeze and the
web interface at the moment but assume i'd get the same issue on my
Squeezeboxes. 

Mostly working fine but not all streams are playing properly - on quite
a few i don't get any sound until i hit pause and play again. 

Any ideas what might cause this?


-- 
b33k34

b33k34's Profile: http://forums.slimdevices.com/member.php?userid=10919
View this thread: http://forums.slimdevices.com/showthread.php?t=44294

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


Re: [SlimDevices: Plugins] AlienBBC Live streams not working

2008-03-08 Thread bpa

Internet Radio Timeout too small especially if it only happens on Live
stream and not on Listen Again.


-- 
bpa

bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=44294

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


Re: [SlimDevices: Plugins] AutoDisplay (Autodim) with 7.x?

2008-03-08 Thread servies

kolding;276537 Wrote: 
> What happens when you try to change settings?  They should work.
> Are you using the web interface or the screen?
> 
> Eric
And you're right. I searched at the wrong place. It's functioning as it
should. Sorry for the misunderstanding.


-- 
servies

There are 10 kinds of people in the world - those who understand binary
and those who don't.

servies's Profile: http://forums.slimdevices.com/member.php?userid=9496
View this thread: http://forums.slimdevices.com/showthread.php?t=41216

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


Re: [SlimDevices: Plugins] AlienBBC Live streams not working

2008-03-08 Thread b33k34

bpa;276861 Wrote: 
> Internet Radio Timeout too small especially if it only happens on Live
> stream and not on Listen Again.

I'll have a look at that. It doesn't appear to time out - the counter
starts and it appears to be playing, just there is no sound


-- 
b33k34

b33k34's Profile: http://forums.slimdevices.com/member.php?userid=10919
View this thread: http://forums.slimdevices.com/showthread.php?t=44294

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


Re: [SlimDevices: Plugins] Announce: SqueezeScrobbler 1.0 for SqueezeCenter 7.0

2008-03-08 Thread James

I've uploaded a new v1.1.9 to
https://sourceforge.net/project/showfiles.php?group_id=105780&package_id=247364
On-player messages and the image files are fixed. 
Thanks to Philip for the feedback!

Re the 'favourites', yes LastFM maintains it's own list of 'Favourite
stations'. 
When the LastFM web interface refers to adding to favourites etc., this
list is what it means rather than the SqueezeCentre favourites (to which
you can also add LastFM stations using the normal means). 
I've re-used a lot of the code, images etc. and I suspect this a bit
confusing...

Re the Album Artist tag, it would certainly possible to add support for
this. 
The question is, what is the correct behaviour? 
Should SqueezeCentre's multiple artist concept be supported anyway by
default?

James


-- 
James

James's Profile: http://forums.slimdevices.com/member.php?userid=189
View this thread: http://forums.slimdevices.com/showthread.php?t=38845

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


Re: [SlimDevices: Plugins] Lazy Search not showing in beta build

2008-03-08 Thread ajmitchell

You also need to move the whole lazysearch2 folder into the plugins
directory but just "lazysearch.pm" file. The instructions seem wrong in
this regard.


-- 
ajmitchell

Check out my other hobby http://ajmitchell.shutterpoint.com

ajmitchell's Profile: http://forums.slimdevices.com/member.php?userid=800
View this thread: http://forums.slimdevices.com/showthread.php?t=44388

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


[SlimDevices: Plugins] SqueezeCentre (7.0) and itunesupdater & display

2008-03-08 Thread ajmitchell

I am having a minor problem with updater v2.4.3 and the latest
(official) squeezecentre. After enabling "half stars" itunes DOES
update halfstars, but unlike previous versions there is no on-screen
indication of the number. No stars or half stars appear on the
squeezebox displaythe only way to tell is to look at itunes itself.
Any reason for this change? anything I can do?

thanks

Alex


-- 
ajmitchell

Check out my other hobby http://ajmitchell.shutterpoint.com

ajmitchell's Profile: http://forums.slimdevices.com/member.php?userid=800
View this thread: http://forums.slimdevices.com/showthread.php?t=44397

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


Re: [SlimDevices: Plugins] Help needed with shutdown.pm for SC

2008-03-08 Thread JTee

Not sure if it is just me but I still get the error "The Compressed
(zipped) Folder is invalid or corrupted." when I try and unzip your
"PowerCtrl_win32.zip" file.  I am using the default Windows XP unzip
utility, which works with all the other plugin zip files I downloaded
yesterday (since I had to get new versions of all my plugins after
moving to SC7).  Any ideas?


-- 
JTee

JTee's Profile: http://forums.slimdevices.com/member.php?userid=11808
View this thread: http://forums.slimdevices.com/showthread.php?t=41992

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


Re: [SlimDevices: Plugins] Help needed with shutdown.pm for SC

2008-03-08 Thread tamanaco

I have no problems with the file, but I normally use winrar. The .zip is
the original file as it was posted. Here the content in a .rar file with
a .txt extension at the end. Just rename it PowerCtrl.rar and decompress
it. Let me know if this works.

Btw, it would be nice if someone could enhance this plugin or some
other plugin to Start the server Shutdown/Sleep/Hibernate process and
after a few seconds switch the SB to the Squeezenetwork and optionally
power the SB off so that the clock from SN is displayed. I have to do
these steps manually after I put my server to sleep. Once the SB3
disconnects from the server it goes into what I call the "Limbo" state.
I have to press the left arrow, get to the configuration menus and
switch to the SN. This way I don't end up with a blank screen in my
SB3.


+---+
|Filename: PowerCtrl.rar.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=4519|
+---+

-- 
tamanaco

tamanaco's Profile: http://forums.slimdevices.com/member.php?userid=4620
View this thread: http://forums.slimdevices.com/showthread.php?t=41992

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


Re: [SlimDevices: Plugins] AudioReview and Biography for new remote controls ?

2008-03-08 Thread atlslim

erland;276712 Wrote: 
> Besides Michaels plugin zip's, you will also need Custom Browse and some
> extra xml files not provided with Custom Browse today to be able to use
> the new functionality.

erland - I'm seeing the biography (extra BR) icon when I browse artists
in the web ui but get info on the now playing artist when i click there?
any thoughts?


-- 
atlslim

atlslim's Profile: http://forums.slimdevices.com/member.php?userid=3054
View this thread: http://forums.slimdevices.com/showthread.php?t=43713

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


Re: [SlimDevices: Plugins] Announce: SqueezeScrobbler 1.0 for SqueezeCenter 7.0

2008-03-08 Thread tamanaco

I get the subjet error on top of the LastFM page in the Web UI. I'm
running the new 1.19 plugin on top of SC7.01. Below is what I think are
the relevant lines from the server log. I replaced my actual user id
with USERID.

[09:30:26.0652] Plugins::SqueezeScrobbler::LastFM::getNextTrack (864)
Station changed: vs lastfm://user/USERID/recommended
[09:30:26.0669] Plugins::SqueezeScrobbler::LastFM::getLastFMPlaylist
(749) Changing station from  to lastfm://user/USERID/recommended
[09:30:26.0690] Plugins::SqueezeScrobbler::LastFM::postToLastFM (633)
Sending
http://ws.audioscrobbler.com/radio/adjust.php?session=ef0eeb6ee402b04d8f28ccae0a042190&url=lastfm%3A%2F%2Fuser%2FUSERID%2Frecommended
[09:30:26.0898]
Plugins::SqueezeScrobbler::Settings::getUserIDPasswordForClient (265)
Got account USERID from official plugin!
[09:30:26.0919]
Plugins::SqueezeScrobbler::Settings::getUserIDPasswordForClient (265)
Got account USERID from official plugin!
[09:30:26.0933] Plugins::SqueezeScrobbler::LastFM::handleWebIndex (218)
web page refresh: 15
[09:30:26.9057] Slim::Networking::Async::HTTP::_http_error (264) Error:
[500 Internal Server Error]
[09:30:26.9071] Slim::Networking::SimpleAsyncHTTP::onError (183) Failed
to connect to
http://ws.audioscrobbler.com/radio/adjust.php?session=ef0eeb6ee402b04d8f28ccae0a042190&url=lastfm%3A%2F%2Fuser%2FUSERID%2Frecommended
(500 Internal Server Error)
[09:30:26.9082] Plugins::SqueezeScrobbler::LastFM::failedLastFMUpdate
(778) Connection failed!
[09:30:33.5620] Plugins::SqueezeScrobbler::ProtocolHandler::onCommand
(209) play  - lastfm://user/USERID/recommended
[09:30:33.5638] Plugins::SqueezeScrobbler::LastFM::getNextTrack (864)
Station changed: vs lastfm://user/USERID/recommended
[09:30:33.5656] Plugins::SqueezeScrobbler::LastFM::getLastFMPlaylist
(749) Changing station from  to lastfm://user/USERID/recommended
[09:30:33.5674] Plugins::SqueezeScrobbler::LastFM::postToLastFM (633)
Sending
http://ws.audioscrobbler.com/radio/adjust.php?session=ef0eeb6ee402b04d8f28ccae0a042190&url=lastfm%3A%2F%2Fuser%2FUSERID%2Frecommended
[09:30:33.7019]
Plugins::SqueezeScrobbler::Settings::getUserIDPasswordForClient (265)
Got account USERID from official plugin!
[09:30:33.7039]
Plugins::SqueezeScrobbler::Settings::getUserIDPasswordForClient (265)
Got account USERID from official plugin!
[09:30:33.7054] Plugins::SqueezeScrobbler::LastFM::handleWebIndex (218)
web page refresh: 15


-- 
tamanaco

tamanaco's Profile: http://forums.slimdevices.com/member.php?userid=4620
View this thread: http://forums.slimdevices.com/showthread.php?t=38845

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


Re: [SlimDevices: Plugins] Are you willing to pay for a Sirius Radio plug-in?

2008-03-08 Thread Bootzilla

Hi, Sirius has been working great since I upgraded to 0.85.  Today,
however, I woke up to no sound.  All channels appear as normal in the
left-hand column of Slimserver, but clicking on them does nothing.  Any
suggestions?  Thanks!


-- 
Bootzilla

Bootzilla's Profile: http://forums.slimdevices.com/member.php?userid=7961
View this thread: http://forums.slimdevices.com/showthread.php?t=20621

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


Re: [SlimDevices: Plugins] Announce: SqueezeCenter 7.0 beta versions of my plugins

2008-03-08 Thread pippin

erland;276809 Wrote: 
> I like to promote usage of other web browsers than IE, for example
> firefox, which don't have the problem.
> Thanks for reporting.
> 
I did so, too but came to learn the world has changed regarding
this...

Even though I still use Firefox since it has all these cool plugins I
use I clearly see that IE7 is superior in terms of stability,
performance and resource usage.

FF is by far the slowest browser I have (under Windows) and the one the
hogs memory most, it has a lot of race conditions going on with lots of
tabs and the testing quality of new versions typically is such that 2
days after a new version is released the next bugfix shows up...


-- 
pippin

---
see iPeng at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=39026

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


Re: [SlimDevices: Plugins] Lazy Search not showing in beta build

2008-03-08 Thread Stuart Hickinbottom
Yes, the instructions on the website are written for the (non-beta) 
SlimServer 6.5-compatible version. I'll update that when I bump the 
plugin up to a full release version soon (there shouldn't be any 
significant differences from the beta).

lazysearch.pm (or LazySearch2.pm as it was actually called) isn't in the 
3.0b5 version for SqueezeCenter 7.

The installation instructions that come with the beta plugin should, 
however, be correct. You basically extract it so that the LazySearch2 
directory is in the top-level SqueezeCenter "Plugins" folder. eg on my 
server:

/usr/local/squeezecenter/server/Plugins/LazySearch2
/usr/local/squeezecenter/server/Plugins/LazySearch2/Settings.pm
/usr/local/squeezecenter/server/Plugins/LazySearch2/LICENSE
/usr/local/squeezecenter/server/Plugins/LazySearch2/strings.txt
/usr/local/squeezecenter/server/Plugins/LazySearch2/Plugin.pm
...etc...

Let me know if you're still having trouble.

Stuart

ajmitchell wrote:
> You also need to move the whole lazysearch2 folder into the plugins
> directory but just "lazysearch.pm" file. The instructions seem wrong in
> this regard.
>
>
>   
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


[SlimDevices: Plugins] Softsqueeze not working from two machines at the same time.

2008-03-08 Thread b33k34

Ok. 

My set up is - iMac operating as server, 2 players, Macbook laptop.
I've been running 7.0a for some time but installed 7.0.0 today.

When i added the macbook i used Apple's migration tool to copy
everything from my iMac to the Macbook.  I have a user account with the
same name on both machines.  This meant SC was also on the macbook so i
followed the instructions to completely remove it. 

My problem is that if i try to run softsqueeze on both the iMac and the
Macbook at the same time everything gets very confused as SC seems to
think they're the same instance of the player - the screen flickers
between 'can't connect to server' and whatever the other player is
playing. 

If i rename the softsqueeze player on one machine, close it, open
softsqueeze on the other then SC picks up the name of the last one
used.  I thought SC identified the players by IP address and the
Macbook must have a different IP to the iMac - any idea what's going
on?


-- 
b33k34

b33k34's Profile: http://forums.slimdevices.com/member.php?userid=10919
View this thread: http://forums.slimdevices.com/showthread.php?t=44417

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


Re: [SlimDevices: Plugins] Announce: SqueezeScrobbler 1.0 for SqueezeCenter 7.0

2008-03-08 Thread Balthazar_B

Looking at the settings for Squeezescrobbler...

"FAVOURITE STATIONS

Enter your favourite LastFM Stations
e.g.
group/groupname for "group" radio,
user/username for "user" radio,
globaltags/tagname for "tag" radio,
artist/artistname/similarartists for "similar artist" radio.
prefix the station name with "nickname;" for a display-friendly
nickname"

...it's not clear what the syntax should be for a nickname.  I'm
assuming this would be formatted like this, but I'm not sure:

Stan's Tunes/artist/Stan Getz/similarartists

Could someone post a sample that I can use as a guide, lest I
completely mess up my LastFM favorite stations?  Many thanks!


-- 
Balthazar_B

Balthazar_B's Profile: http://forums.slimdevices.com/member.php?userid=7366
View this thread: http://forums.slimdevices.com/showthread.php?t=38845

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


Re: [SlimDevices: Plugins] X10 testers wanted (BottleRocket/PowerCenter support for X10 CM11A/CM12A controller)

2008-03-08 Thread tanguy

Hello,
I'm playing with PowerCenter
( i install the new version - it's working without problem )
i have a little question
there is a special for AM12 module 
increment or decremint light action ?

Many thanks


-- 
tanguy

tanguy's Profile: http://forums.slimdevices.com/member.php?userid=3642
View this thread: http://forums.slimdevices.com/showthread.php?t=43781

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


Re: [SlimDevices: Plugins] Problem using "show" command in CLI?

2008-03-08 Thread jhermann

I feel you should await and read responses from the server, instead of
just flooding it with messages (note your sleep is 5 secs, your display
time is 10, and show blocks!).

Use this with Python 2.5...

Code:


  import sys, time, telnetlib, urllib
  
  MIDDOT = u"\u00B7"
  MDASH = u'\u2013'
  
  class Bag(object):
  """ Bag of attributes.
  """
  
  def __init__(self, **kw):
  """ Populate a bag with given keyword arguments.
  """
  self.__dict__.update(kw)
  
  def __getitem__(self, name):
  """ Get value by name.
  
  @param name: Name of property.
  @return: None
  """
  return self.__dict__[name]
  
  def get(self, name, default):
  """ Get value by name.
  
  @param name: Name of property.
  @param default: Default value.
  @return: Value or given default value.
  """
  return self.__dict__.get(name, default)
  
  def keys(self):
  """ Return list of properties.
  
  @return: Defined properties.
  @rtype: list
  """
  return self.__dict__.keys()
  
  def __repr__(self):
  """ Return object creation code.
  """
  return "Bag(%s)" % ', '.join(
  ["%s=%r" % i for i in self.__dict__.iteritems()]
  )
  
  
  class SqueezeConnection(object):
  
  host = "localhost"
  port = 9090
  timeout = 10
  debug_level = 0
  
  def __init__(self):
  self._session = None
  self.player_id = None
  
  def open(self, host=None, port=None):
  if self._session is not None:
  raise IOError("Already connected to %s:%d" % (self.host, self.port))
  
  self.host = host or self.host
  self.port = port or self.port
  
  self._session = telnetlib.Telnet(self.host, self.port)
  if self.debug_level:
  self._session.set_debuglevel(self.debug_level)
  
  def doPlayer(self, cmd, *args, **tags):
  assert self.player_id is not None, "Player ID not set!"
  return self.do(*((self.player_id, cmd) + args), **tags)
  
  def do(self, cmd, *args, **tags):
  if self._session is None:
  self.open()
  
  cmdargs = [str(a) for a in args]
  cmdtags = ["%s:%s" % i for i in tags.items()]
  cmdline = ' '.join(urllib.quote(p) for p in [cmd] + cmdargs + cmdtags)
  
  if self.debug_level:
  print ">>>", cmdline
  self._session.write(cmdline + '\n')
  
  resp = self._session.read_until('\n', self.timeout)
  resp = resp.strip().split()
  
  data = {
  "_player_id": None,
  "_cmd": None,
  "_argv": [],
  }
  
  def typed(val):
  if isinstance(val, basestring):
  if val.isdigit():
  val = int(val, 10)
  else:
  fp = val.split('.')
  if len(fp) == 2 and fp[0].isdigit() and fp[1].isdigit():
  val = float(val)
  else:
  try:
  val = val.decode("UTF8")
  except UnicodeError:
  pass
  return val
  
  if resp and "%3A" in resp[0].upper():
  data["_player_id"] = urllib.unquote(resp[0])
  resp = resp[1:]
  
  if resp:
  data["_cmd"] = typed(urllib.unquote(resp[0]))
  resp = resp[1:]
  
  while resp and not(resp[0][0].isalpha() and "%3A" in resp[0].upper()):
  val = urllib.unquote(resp[0])
  data["_argv"].append(typed(val))
  resp = resp[1:]
  
  if resp:
  data.update(dict(urllib.unquote(p).split(':', 1) for p in resp))
  for key, val in list(data.items()):
  data[key] = typed(val)
  if ' ' in key:
  data[key.replace(' ', '_')] = data[key]
  del data[key]
  
  if self.debug_level:
  print "RESPONSE\n%s" % "\n".join(
  "%20s %r" % i for i in sorted(data.items())
  )
  return Bag(**data)
  
  def close(self):
  """ Close the connection.
  """
  try:
  self.do("exit")
  #time.sleep(.05)
  self._session.close()
  finally:
  self._session = None
  
  def nowPlaying():
  sqc = SqueezeConnection()
  try:
  # speak with first player, in case several are available
  sqc.player_id = sqc.do("player", "id", 0, "?")._argv[-1]
  
  #sqc.doPlayer("show", line2="Hello, World!", font="huge", centered=1, 
duration=1)
  #sqc.doPlayer("displaynow", "?", "?")
  
  status = sqc.doPlayer("status", "-", 1, tags="glartyd")
  if status.mode == "play":
  #status.trackno = status.playlist_cur_index + 1
  status.duration_min = status.duration // 60
  status.duration_sec = status.duration %  60
  
  prefix = ''
  status.bold = ''
  if sys.argv[1:]:
  prefix = "/me %s %s" % (
  sys.argv[1], ' '.join(sys.argv[2:] or ["squeezes"])
  )
  status.bold = '\\b'
  
  now_playing = (prefix +
  " %(tracknum)02d - %(bold)s%(title)s%(bold)s"
  " [%(duration_min)02d:%(duration_sec)02d] " + MIDDOT +
  " %(artist)s (%(year)d) %(album)s @ %(bitrate)s"
  ) % status
  print now_playing.encode("iso-8859-1")
  finally:
  sqc.close()
  
  if __name__ == "__main__":
  nowPlaying()
  



-- 
jhermann

jhermann's Profile: http://forums.slimdevices.com/member.php?userid=15936
View this thread: http://forums.slimdevices.com/showthread.php?t=44293

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


Re: [SlimDevices: Plugins] AudioReview and Biography for new remote controls ?

2008-03-08 Thread erland

atlslim;276922 Wrote: 
> erland - I'm seeing the biography (extra BR) icon when I browse artists
> in the web ui but get info on the now playing artist when i click
> there? any thoughts?
Yes, the xml mixer file I provided earlier in this thread is not
compatible with the Biography version Michael posted in this thread. I
would suggest that you wait a while until Michael has made an official
beta version, when that happens I'll also provide a working Custom
Browse mixer configuration.

In case you really want to try it anyway, you will have to replace
artist with artist_id in the mix url parameter in the mixer xml file I
provided earlier.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.homeip.net/index.php/Category:SlimServer))

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

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


Re: [SlimDevices: Plugins] Announce: SqueezeScrobbler 1.0 forSqueezeCenter 7.0

2008-03-08 Thread Craig, James (IT)
prefix the station name with "nickname;" for a display-friendly
nickname"

E.g.

Stan's Tunes;artist/Stan Getz/similarartists

Is that really unclear?

James


NOTICE: If received in error, please destroy and notify sender. Sender does not 
intend to waive confidentiality or privilege. Use of this email is prohibited 
when received in error.
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: SqueezeScrobbler 1.0 for SqueezeCenter 7.0

2008-03-08 Thread Balthazar_B

Not any more :).

Must be because I'm left-handed, but examples make things clearer than
anything else.

Thanks!


-- 
Balthazar_B

Balthazar_B's Profile: http://forums.slimdevices.com/member.php?userid=7366
View this thread: http://forums.slimdevices.com/showthread.php?t=38845

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


[SlimDevices: Plugins] BBC Podcasts Alien BBC

2008-03-08 Thread srouane

I know this issue has been posted before. I'm on Slimserver 6.5.4 and
Alien BBC 1.0.6 (On Windows) and I can't find any podcasts in the BBC
podcasts section. I know there is a fix, but when I tried to download
it the files were corrupt.

I know this has been fixed in SqueezeCenter 7.0, but I've had problems
with that version not picking up half my albums. Is there a patch out
there for Slimserver 6.5.4?


-- 
srouane

srouane's Profile: http://forums.slimdevices.com/member.php?userid=15938
View this thread: http://forums.slimdevices.com/showthread.php?t=44429

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


Re: [SlimDevices: Plugins] BBC Podcasts Alien BBC

2008-03-08 Thread bpa

This file is not corrupt - the problem is usually because IE is being
used and IE seems to be buggy and can't download it properly.

Use  Firefox or Opera.


-- 
bpa

bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=44429

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


Re: [SlimDevices: Plugins] Announce: XMRadio Plugin for 7.0

2008-03-08 Thread raglencross

In an attempt to correct the erratic behavior of Softsqueeze 3.6, I
updated Java from 1.6.0_1 to 1.6.0_5  This improved the SS performance
and, for reasons I can't explain, seems to have fixed the "Now Playing"
problem with the XM plugin.  Give it a try!


-- 
raglencross

raglencross's Profile: http://forums.slimdevices.com/member.php?userid=7239
View this thread: http://forums.slimdevices.com/showthread.php?t=42520

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


[SlimDevices: Plugins] Information Browser Addons

2008-03-08 Thread Triode

Now that 7.0 is out, I am hoping that 3rd party developers will consider
producing Information Browser addons.  These are simple extensions which
allow web pages to be parsed and converted into xmlbrowser format for
displaying on the player, controller or web interface.

For people based in the uk, I've just posted an addon which allows the
tv listings to be browsed and there are a number of other examples on
the wiki page which Bryan (bpa) or I have produced.

See the wiki page:
http://wiki.slimdevices.com/index.cgi?InformationBrowser


-- 
Triode

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

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


Re: [SlimDevices: Plugins] Alien BBC Beta 5 and SC 7.0 - 16373

2008-03-08 Thread boarder

Had the same problem on Debian.

Solved by running chmod -R 755 on the Alien folder in the plugin
directory.  (not sure if this leaves my system to open but didnt fancy
changing the permissions on every file individually to find the problem
one.  I did change permissions on mplayer.sh and that didnt fix it)


-- 
boarder

boarder's Profile: http://forums.slimdevices.com/member.php?userid=5550
View this thread: http://forums.slimdevices.com/showthread.php?t=42369

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


Re: [SlimDevices: Plugins] Announce: SqueezeScrobbler 1.0 for SqueezeCenter 7.0

2008-03-08 Thread soupdragon

apologies for being a pain - but have you a screenshot of what ought be
in the plugins page - and what ought be on the squeezecenter re
settings ?

liam


-- 
soupdragon

[SB3 + NET Audio Sonance DAC ] + [Cyrus CD6] + [JVC QL A75 DD TT + Decca
Super Gold + Hadcock 242 SE + Graham Slee Era Gold V]
-> Cyrus Pre-X -> Eclipse TD 502A -> Eclipse TD 512 speakers

soupdragon's Profile: http://forums.slimdevices.com/member.php?userid=4958
View this thread: http://forums.slimdevices.com/showthread.php?t=38845

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


Re: [SlimDevices: Plugins] Run Script Plugin

2008-03-08 Thread kdf

On 8-Mar-08, at 12:32 AM, danco wrote:

>
> kdf;276729 Wrote:
>>
>> If you navigate to the plugin via the Extras menu on the player, you
>> can
>> select a script and press PLAY to run it immediately.
>> -kdf
>
> The problem with this approach is that it will also set the script as
> being selected, so one has to remember to deselect it immediately
> after, or at some later time.

I've added an 'on_demand' pref that you can use to execute directly.   
It also supports mapping a remote button to the
modefunction_PLUGIN.ExecuteScript::Plugin->execute_on_demand
function, for those who want to use it in a custom map file.

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


Re: [SlimDevices: Plugins] Run Script Plugin

2008-03-08 Thread danco

kdf;277093 Wrote: 
> 
> 
> I've added an 'on_demand' pref that you can use to execute directly.  
> 
> It also supports mapping a remote button to the
> modefunction_PLUGIN.ExecuteScript::Plugin->execute_on_demand
> function, for those who want to use it in a custom map file.
> 
> cheers,
> Kdf

Brilliant!! That's what we needed.

Is the new version now available for download?


-- 
danco

danco's Profile: http://forums.slimdevices.com/member.php?userid=210
View this thread: http://forums.slimdevices.com/showthread.php?t=44301

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


Re: [SlimDevices: Plugins] FreeNAS + SqueezeCenter 7.0

2008-03-08 Thread Kuben72

I had the same problems until I noticed that there was a
squeezecenter-7.0-noCPAN directory in my installation directory. I
renamed that directory to squeezecenter and restarted my Squeezecenter
in FreeNas and now everything is working. 
It seems that the installation of version 7 uses the tar-filename to
create the installation directory but slimnas thinks that it is called
squeezecenter!

/Kuben72


-- 
Kuben72

Kuben72's Profile: http://forums.slimdevices.com/member.php?userid=15308
View this thread: http://forums.slimdevices.com/showthread.php?t=44039

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


[SlimDevices: Plugins] XMRadio Plugin doesn't show in Settings

2008-03-08 Thread jschall

Ever since I updated to SqueezeCenter (version 7), I can no longer
access XMRadio.

I downloaded the latest XMRadio plugin from SourceForge
(Plugins-XMRadio-Plugin-2.0.0.zip), unzipped it, and placed the folder
"XMRadio" under C:\Program Files\SqueezeCenter\server\Plugins.

It is confusing, because I also see all the OTHER plugins under
C:\Program Files\SqueezeCenter\server\Slim\Plugin.

Could you please help me get XMRadio running again!

- Jeff Schallenberg
- Saint Lambert, Québec


-- 
jschall

jschall's Profile: http://forums.slimdevices.com/member.php?userid=11127
View this thread: http://forums.slimdevices.com/showthread.php?t=44435

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


Re: [SlimDevices: Plugins] Run Script Plugin

2008-03-08 Thread kdf

On 8-Mar-08, at 1:01 PM, danco wrote:
>>
>
> Brilliant!! That's what we needed.
>
> Is the new version now available for download?
yup - r39. There are a few quirks, and it does still save the pref  
when you use on demand.  I figure that's not a problem since most  
won't be using the on_demand function.  for those that do, using the  
play feature isn't that important in the end.

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


Re: [SlimDevices: Plugins] Softsqueeze not working from two machines at the same time.

2008-03-08 Thread SuperQ

It sounds like both copies of softsqueeze think they have the same
player ID code.  The ID code is not based on IP address, it's based on
the ethernet address hard-coded in the computer.  It's possible the
address is read by softsqueeze and then stored as a setting instead of
trying to read it every startup.  When you cloned the settings, it
probably copied the preferences file for softsqueeze in your user
account.

Yup, I found it:

/Users/username/.java/.userPrefs/org/titmuss/softsqueeze/prefs.xml

Delete this file on the laptop, and it should work again.


-- 
SuperQ

SuperQ's Profile: http://forums.slimdevices.com/member.php?userid=2139
View this thread: http://forums.slimdevices.com/showthread.php?t=44417

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


Re: [SlimDevices: Plugins] Problem configuring IR Blaster with SC 7.0

2008-03-08 Thread wcburnette

can someone tell me which directory to put irblaster for SC7 with Mac
10.4?


-- 
wcburnette

wcburnette's Profile: http://forums.slimdevices.com/member.php?userid=4638
View this thread: http://forums.slimdevices.com/showthread.php?t=44099

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


Re: [SlimDevices: Plugins] Softsqueeze not working from two machines at the same time.

2008-03-08 Thread Zaragon

Alternatively you could just uninstall SoftSqueeze and reinstall it from
the browser. That should have the same effect.


-- 
Zaragon

Zaragon's Profile: http://forums.slimdevices.com/member.php?userid=14577
View this thread: http://forums.slimdevices.com/showthread.php?t=44417

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


Re: [SlimDevices: Plugins] Announce: SqueezeCenter 7.0 beta versions of my plugins

2008-03-08 Thread brunoflipper

ideally my home menu would consist of 
"Now Playing
Albums
Artists
Sirius
XM Radio"

I had this with 6.5 but with 7.0 and the new plugin, I cant sem to get
it to work...

any thoughts?


-- 
brunoflipper

brunoflipper's Profile: http://forums.slimdevices.com/member.php?userid=8638
View this thread: http://forums.slimdevices.com/showthread.php?t=39026

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


Re: [SlimDevices: Plugins] SqueezeCentre (7.0) and itunesupdater & display

2008-03-08 Thread James

It does seem to be broken! 
I think the format of showBriefly has changed since the last release. I
should have a new version ready in the next couple of days...

James


-- 
James

James's Profile: http://forums.slimdevices.com/member.php?userid=189
View this thread: http://forums.slimdevices.com/showthread.php?t=44397

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


Re: [SlimDevices: Plugins] FreeNAS + SqueezeCenter 7.0

2008-03-08 Thread bernt

Kuben72;277105 Wrote: 
> I had the same problems until I noticed that there was a
> squeezecenter-7.0-noCPAN directory in my installation directory. I
> renamed that directory to squeezecenter and restarted my Squeezecenter
> in FreeNas and now everything is working. 
> It seems that the installation of version 7 uses the tar-filename to
> create the installation directory but slimnas thinks that it is called
> squeezecenter!
> 
> /Kuben72

YES Thanks, that did it.I also had to chmod 777 -R on the SlimNAS
folder.


-- 
bernt

http://www.last.fm/user/ottovonkopp/

bernt's Profile: http://forums.slimdevices.com/member.php?userid=1342
View this thread: http://forums.slimdevices.com/showthread.php?t=44039

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


Re: [SlimDevices: Plugins] FreeNAS + SqueezeCenter 7.0

2008-03-08 Thread Kuben72

Glad I could help.

/Kuben


-- 
Kuben72

Kuben72's Profile: http://forums.slimdevices.com/member.php?userid=15308
View this thread: http://forums.slimdevices.com/showthread.php?t=44039

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


Re: [SlimDevices: Plugins] Run Script Plugin

2008-03-08 Thread danco

kdf, I edited my post, and you evidently replied to my unedited one.

Please note my extra comments in the edited version.

Thanks again.


-- 
danco

danco's Profile: http://forums.slimdevices.com/member.php?userid=210
View this thread: http://forums.slimdevices.com/showthread.php?t=44301

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


Re: [SlimDevices: Plugins] Run Script Plugin

2008-03-08 Thread kdf

On 8-Mar-08, at 3:00 PM, danco wrote:

>
> kdf, I edited my post, and you evidently replied to my unedited one.
>
> Please note my extra comments in the edited version.

edited posts are of no use to me.  I read email, not the forum
-k
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Run Script Plugin

2008-03-08 Thread kdf

danco;277104 Wrote: 
> 
> I did notice that a message flashed up briefly, and it was on screen
> for too short a time to read it.
> 

like I said, quirks. There is debugging to see the activity, otherwise
I'm not planning on making it high priority.  I'm no longer giving up
hours after hour to work on SC stuff when I don't feel like it.

danco;277104 Wrote: 
> 
> Could you explain more about making a custom map file, please. I guess
> that the one button I never use is the Volume Up (I always keep SB
> volume at max). I wonder what other buttons can safely be used.

It's already well covered in the forums. Here for one example:
http://forums.slimdevices.com/showthread.php?t=17232
-kdf


-- 
kdf

kdf's Profile: http://forums.slimdevices.com/member.php?userid=7
View this thread: http://forums.slimdevices.com/showthread.php?t=44301

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


Re: [SlimDevices: Plugins] Run Script Plugin

2008-03-08 Thread danco

>  like I said, quirks. There is debugging to see the activity, otherwise
> I'm not planning on making it high priority.  I'm no longer giving up
> hours after hour to work on SC stuff when I don't feel like it.

Of course. You shouldn't do stuff unless you are either paid or enjoy
it. I (and others, I am sure) very much appreciate what you have
already done.

> It's already well covered in the forums. Here for one example:
> http://forums.slimdevices.com/showthread.php?t=17232
> -kdf

I *thought* I knew what I was doing, which is much along the lines in
that thread. But evidently I don't, as things are not working.

I created a file named Custom.map. I put it in the IR subfolder of the
SqueezeCenter folder in Application Support, which is where all
individual items go for Mac OS X.

I stopped Squeezecenter and restarted, and checked that the player
setting for Remote was Custom.

So all that should be ok.

What I put in Custom.map seemed to be what was asked for - I decided
that the sleep button was the obvious one to use, and my text was

[common]
sleep = modefunction_PLUGIN.ExecuteScript::Plugin->execute_on_demand

That seemed to be what you were saying, but the sleep button still
behaves in its standard way.


-- 
danco

danco's Profile: http://forums.slimdevices.com/member.php?userid=210
View this thread: http://forums.slimdevices.com/showthread.php?t=44301

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


Re: [SlimDevices: Plugins] Are you willing to pay for a Sirius Radio plug-in?

2008-03-08 Thread Bootzilla

Bootzilla;276944 Wrote: 
> Hi, Sirius has been working great since I upgraded to 0.8.5.  Today,
> however, I woke up to no sound.  All channels appear as normal in the
> left-hand column of Slimserver, but clicking on them does nothing.  Any
> suggestions?  Thanks!

Okay, I upgraded to SqueezeCenter 7.0 and plugin 1.0 and all is well. 
Thanks!


-- 
Bootzilla

Bootzilla's Profile: http://forums.slimdevices.com/member.php?userid=7961
View this thread: http://forums.slimdevices.com/showthread.php?t=20621

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


Re: [SlimDevices: Plugins] Run Script Plugin

2008-03-08 Thread kdf

On 8-Mar-08, at 3:51 PM, danco wrote:
>
> What I put in Custom.map seemed to be what was asked for - I decided
> that the sleep button was the obvious one to use, and my text was
>
> [common]
> sleep = modefunction_PLUGIN.ExecuteScript::Plugin->execute_on_demand
>
> That seemed to be what you were saying, but the sleep button still
> behaves in its standard way.

try this instead:
> sleep = modefunction_Plugins::ExecuteScript::Plugin->execute_on_demand

I don't actually bother with custom maps so it's a matter of memory

-kdf

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


Re: [SlimDevices: Plugins] Announce: SqueezeCenter 7.0 beta versions of my plugins

2008-03-08 Thread erland

brunoflipper;277133 Wrote: 
> ideally my home menu would consist of 
> "Now Playing
> Albums
> Artists
> Sirius
> XM Radio"
> 
> I had this with 6.5 and m sqeezeboxen but with 7.0 and the duet, I cant
> sem to get it to work...
> 
> any thoughts?
In the current Custom Browse version it is only possible to add new
menus under Music Library on the Duet/Controller, it isn't possible to
delete menus or add menus in some other place.

Deleting menus will probably come in a future version, but I'm not sure
it is even possible to modify the top level menu.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.homeip.net/index.php/Category:SlimServer))

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

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


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

2008-03-08 Thread mbonsack

dodgeboy;276794 Wrote: 
> I don't have that directory either...  html is the only sub folder off
> of SuperDateTime at that level.
> 
> [EMAIL 
> PROTECTED]:/usr/share/squeezecenter/Plugins/SuperDateTime/html/EN/plugins/SuperDateTime#
> ls
> html
> [EMAIL PROTECTED]:
> 
> 
> Dave

OK, here's the deal.  Go out and grab the latest SuperDateTime from the
plugin site and you'll have the missing directories.  Now for the
mistake I (and perhaps you) made.  I downloaded the file on Windows,
extracted the zip, and copied it over via Samba to my Ubuntu box. 
However, there must be a Samba default that takes all uppercase
directory names (namely the "HTML" and "EN" directories that are
adjacent) and transcodes them to lower case during the copy operation. 
Mixed-case names (like SuperDateTime) were left alone.  So, I renamed
the offending lower-case directories back to upper case and lo and
behold I got the page to pop.

In my case both "HTML" and "EN" were transcoded.  In your case it looks
like only the "HTML" directory got munged (in addition to your missing
directories and files).


-- 
mbonsack

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

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


[SlimDevices: Plugins] AlienBBC & ABC Radio

2008-03-08 Thread pza

Hi,

Is there a prefered stream format?  A lot of the ABC streams are
available in ram, mp3 & wma.  Without getting into a format war, which
of these is prefered?  For example, DiG radio is available in all 3
formats (with random bitrates between 80 & 128k).  The AlienBBC addon
lists the real audio streams.


Also, the ABC Radio addon is missing quite a few local radio stations
which were previously not available as a stream.  Below is a list taken
from http://www.abc.net.au/backyard/audio/.  I have used the realaudio
streams where available.  Some are only available as wma.

How would I go about getting them updated in the official addin?

Phil


ABC Local Radio - 774 ABC Melbourne
http://abc.net.au/streaming/774/774stream.ram
ABC Local Radio - 891 ABC Adelaide
http://www.abc.net.au/adelaide/onair/891stream.ram
ABC Local Radio - 612 ABC Brisbane
http://www.abc.net.au/backyard/audio/h/brisbane/onair/612stream.ram
ABC Local Radio - 666 ABC Canberra
http://www.abc.net.au/canberra/onair/666stream.asx
ABC Local Radio - 105.7 ABC Darwin
http://www.abc.net.au/darwin/onair/1057stream.asx
ABC Local Radio - 936 ABC Hobart
http://www.abc.net.au/hobart/onair/963stream.asx
ABC Local Radio - 1233 ABC Newcastle
http://www.abc.net.au/newcastle/onair/1233stream.asx
ABC Local Radio - 720 ABC Perth
http://www.abc.net.au/perth/onair/720stream.ram
Saturday Night Country - http://www.abc.net.au/snc/stories/snc_mod.ram
Australia All Over -
http://www.abc.net.au/australiaallover/stories/australiaallover_mod.ram


-- 
pza

pza's Profile: http://forums.slimdevices.com/member.php?userid=11011
View this thread: http://forums.slimdevices.com/showthread.php?t=44451

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


Re: [SlimDevices: Plugins] X10 testers wanted (BottleRocket/PowerCenter support for X10 CM11A/CM12A controller)

2008-03-08 Thread peterw

It looks like the AM12 is an "appliance module", and PowerCenter cannot
make it dim or brighten. Both the IR remote "player" interface and the
Squeezebox Controller interface for PowerCenter will offer to send Dim
and Brighten commands, and the X10 transmitter will send them, but all
X10 appliance modules simply ignore those codes.

I've given some thought to maing the web configuration better, to allow
you to specify if a given X10 code is for a Lamp (can brighten/dim) or
Appliance (on/off only) module so that PowerCenter could handle
appliance modules more intelligently, but I think it's unlikely that
I'll get around to that. :-(

-Peter


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver FuzzyTime PowerCenter/BottleRocket SaverSwitcher
SleepFade StatusFirst SyncOptions VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=43781

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


Re: [SlimDevices: Plugins] Information Browser Addons

2008-03-08 Thread kdf

On 8-Mar-08, at 11:58 AM, Triode wrote:

>
> Now that 7.0 is out, I am hoping that 3rd party developers will  
> consider
> producing Information Browser addons.

Triode,

How would one handle a login to a site that is access controlled by  
a .htaccess file?  This normally pops up a login dialog in the browser  
rather than a post through a login page form.

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


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

2008-03-08 Thread dodgeboy

That fixed it!  Thanks a lot!

Dave


-- 
dodgeboy

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

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


[SlimDevices: Plugins] Softsqueeze (via web ui) gone

2008-03-08 Thread booguss

Good morning,

After installing the official SS 7.0 and further nightlies I am not
able to run Softsqueeze via the SS Web Interface anymore. When I click
"SoftSqueeze" under "Extras" the left part of the web interface is just
empty. I think there might be Java trouble...?
Suggestions?


Cheers!

/boo


-- 
booguss

booguss's Profile: http://forums.slimdevices.com/member.php?userid=13212
View this thread: http://forums.slimdevices.com/showthread.php?t=44459

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


Re: [SlimDevices: Plugins] Run Script Plugin

2008-03-08 Thread danco

OK, I'll ask for the relevant syntax elsewhere. Thanks.


-- 
danco

danco's Profile: http://forums.slimdevices.com/member.php?userid=210
View this thread: http://forums.slimdevices.com/showthread.php?t=44301

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


Re: [SlimDevices: Plugins] Softsqueeze (via web ui) gone

2008-03-08 Thread kdf

On 8-Mar-08, at 10:59 PM, booguss wrote:

>
> Good morning,
>
> After installing the official SS 7.0 and further nightlies I am not
> able to run Softsqueeze via the SS Web Interface anymore. When I click
> "SoftSqueeze" under "Extras" the left part of the web interface is  
> just
> empty. I think there might be Java trouble...?
> Suggestions?

It may be a template problem.  If you check the log, it should report  
a problem in there for pages that aren't coming up properly.

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


Re: [SlimDevices: Plugins] Run Script Plugin

2008-03-08 Thread kdf

On 8-Mar-08, at 11:11 PM, danco wrote:

>
> OK, I'll ask for the relevant syntax elsewhere. Thanks.

that second one I gave you should work. I have since tried it out as a  
test. There are better ways to create a mapping within a plugin now,  
so I may migrate toward that eventually.
-k
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Softsqueeze (via web ui) gone

2008-03-08 Thread booguss

kdf;277288 Wrote: 
> On 8-Mar-08, at 10:59 PM, booguss wrote:
> 
> >
> > Good morning,
> >
> > After installing the official SS 7.0 and further nightlies I am not
> > able to run Softsqueeze via the SS Web Interface anymore. When I
> click
> > "SoftSqueeze" under "Extras" the left part of the web interface is  
> > just
> > empty. I think there might be Java trouble...?
> > Suggestions?
> 
> It may be a template problem.  If you check the log, it should report 
> 
> a problem in there for pages that aren't coming up properly.
> 
> -kdf

Nothing about that at all in the SS log.

However, when I click the 3.6 icon  (which has something to do with the
SS-java version, I think) on the desktop, I get the following error
message:

CouldNotLoadArgumentException[ could not load file/URL: C:\Documents
and Settings\booguss\Application
Data\Sun\Java\Deployment\cache\6.0\50\580542b2-392da1ff]
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

So, something with the java is wrong I think. Should I try to DL a new
java version? Where do I find the appropriate one?

Cheers!

/boo


-- 
booguss

booguss's Profile: http://forums.slimdevices.com/member.php?userid=13212
View this thread: http://forums.slimdevices.com/showthread.php?t=44459

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


Re: [SlimDevices: Plugins] Remote key remapping guide for dummies?

2008-03-08 Thread danco

Following this guide, and kdf's advice, I am trying to create a custom
map to map a button to the Execute on Demand function of the latest
version (39) of his Execute Script plugin.

It doesn't work, so almost certainly I am doing something wrong, but
here's what I have tried.

I use Mac OS 10.4.11.

I have a file in the IR folder of the Squeezecenter folder of
Application Support, which is certainly where it should go.

Does it matter whether the file is called Custom.map or custom.map? I
thought I had tried both.

Custom is the chosen option under Player, Remote.

I have turned Squeezecenter off and on again (several times).

The text of Custom.map reads

[common]
sleep = modefunction_PLUGIN.ExecuteScript::Plugin->execute_on_demand

But pressing the sleep button calls the normal sleep function, not the
script marked for execution on demand.

Any ideas?


-- 
danco

danco's Profile: http://forums.slimdevices.com/member.php?userid=210
View this thread: http://forums.slimdevices.com/showthread.php?t=38232

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


Re: [SlimDevices: Plugins] Softsqueeze (via web ui) gone

2008-03-08 Thread kdf

On 8-Mar-08, at 11:35 PM, booguss wrote:
>
> CouldNotLoadArgumentException[ could not load file/URL: C:\Documents
> and Settings\booguss\Application
> Data\Sun\Java\Deployment\cache\6.0\50\580542b2-392da1ff]
>   at com.sun.javaws.Main.launchApp(Unknown Source)
>   at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
>   at com.sun.javaws.Main$1.run(Unknown Source)
>   at java.lang.Thread.run(Unknown Source)
>
I can't think of a connection with the above that would cause the  
softsqueeze page not to load.

> So, something with the java is wrong I think. Should I try to DL a new
> java version? Where do I find the appropriate one?

Sun's website is the usual place to go for java engine updates.
-kdf
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


Re: [SlimDevices: Plugins] Remote key remapping guide for dummies?

2008-03-08 Thread kdf

On 8-Mar-08, at 11:43 PM, danco wrote:
> he text of Custom.map reads
>
> [common]
> sleep = modefunction_PLUGIN.ExecuteScript::Plugin->execute_on_demand
>
> But pressing the sleep button calls the normal sleep function, not the
> script marked for execution on demand.
>
> Any ideas?

did you try

[common]
sleep = modefunction_Plugins::ExecuteScript::Plugin->execute_on_demand

?

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