RE: [SlimDevices: Plugins] Re: Last.fm plugin ?

2005-08-18 Thread Craig, James (IT)
I'm glad it's working! I had a bit of trouble actually testing it so I
couldn't be sure.

I'm surprised you could get the personal station, the plugin is actually
adding /neighbours on the station names behind the scenes.
(I will fix this properly shortly so that the option of personal is
available if you're a subscriber.)

You should be able to select pretty much any station - if you find one
that doesn't work let me know. 

James


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


RE: [SlimDevices: Plugins] Re: iTune Updater woes

2005-08-22 Thread Craig, James (IT)
The tray application is a bit misleading - it's just an interface to the
service.
To run iTunes Update successfully:

1) right click on the slim tray icon and choose to stop slimserver then
exit
2) delete the slim tray app from your startup folder
3) create a new shortcut in your startup folder to "C:\program
files\SlimServer\server\slim.exe" (or wherever you have it installed)
4) run the shortcut or reboot your pc 

James


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


RE: [SlimDevices: Plugins] Re: iTune Updater woes

2005-08-22 Thread Craig, James (IT)
Dan,
I had already added a note on the Slim Tray app to the latest version
but suggestions are welcome on making it clearer.

Having the option of not installing Slim Tray was raised a while ago but
I'm not sure it got as far as a bug,
I know it *really* annoys me...

James


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


RE: [SlimDevices: Plugins] Re: Last.fm plugin ?

2005-08-22 Thread Craig, James (IT)
Hmmm. Puzzling. I know it's working because I fixed my Softsqueeze last
night and spent some time listening.
Did you download right after I said it was ready? 
(Because I fixed a crashing bug right afterwards, but can't remember
what the cause was.)

Is there any debug output when you change the station - there should be
some more messages then? 
And where did the tinyurl.com come from?

Of course it might be because you're a subscriber - I never actually
tested that bit. 
I'll hard-code mine on and see what happens...

James 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Siduhe
Sent: 22 August 2005 18:33
To: plugins@lists.slimdevices.com
Subject: [SlimDevices: Plugins] Re: Last.fm plugin ?


James,

Deleted the old plugin - installed the new as its own directory.  Works
fine on first connection, but every time I change channels it crashes
slimserver.

The only debug report I get is:

2005-08-22 18:28:52.2414 LastFM: Connecting to:
http://tinyurl.com/djcn7
2005-08-22 18:28:52.6207 LastFM: session =
026804bbd37a9a0b1ea9fbe8b0b6d242
2005-08-22 18:28:52.6221 LastFM: stream_url =
http://moses.last.fm:80/last.mp3?Session=026804bbd37a9a0b1ea9fbe8b0b6d24
2
2005-08-22 18:28:52.6233 LastFM: subscriber = 1
2005-08-22 18:28:52.6244 LastFM: framehack = 0
2005-08-22 18:28:52.6257 LastFM: base_url = ws.audioscrobbler.com
2005-08-22 18:28:52.6268 LastFM: base_path = /radio
2005-08-22 18:28:52.6289 LastFM: Setting timer for 30 seconds

but as soon as I try to change the channel it crashes and loses the
connection.

Not sure if this is just me or if others are having this problem ?


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


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


RE: [SlimDevices: Plugins] Re: iTune Updater woes

2005-08-24 Thread Craig, James (IT)
Dan,
This is normal. If you close the cmd window, you kill SlimServer!

Why not put a shortcut to slim.exe in your startup folder, along with a
shortcut to the SlimServer home page?
That way it & the web page will start automatically when your PC does.

If you don't like the cmd tool window hanging around (this seems to be a
common complaint) then there are tools you can use to hide it.
I think one is called CMDOW - check some of the other iTunes Update
threads for details.

James


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


RE: [SlimDevices: Plugins] SlimScrobbler with v6.1.1 on Linux

2005-09-13 Thread Craig, James (IT)
Rob,
the --d_plugins option should show if the SlimScrobbler plugin is
working OK. So no errors is good here.

SlimScrobbler's own debugging is a little unusual; 
stop SlimServer and edit your preferences file.
Create a new option "scrobbler-debug" set to 1 
Start SlimServer and check for the output.

Ian did say he was going to make this a bit more standard...


James


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


RE: [SlimDevices: Plugins] Re: SlimScrobbler with v6.1.1 on Linux

2005-09-14 Thread Craig, James (IT)
I am fairly sure you will need to restart SlimServer after installing
SlimScrobbler.

As I recall a lot of the code is just in the .pm file and won't get run
other than at startup. 

James


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


RE: [SlimDevices: Plugins] Re: SlimScrobbler with v6.1.1 on Linux

2005-09-14 Thread Craig, James (IT)
It sounds like SlimServer is not loading the plugin at all then.

In your log file there should be a line like 'Requiring
Plugins::Scrobbler plugin' - what comes after that? 


James


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


RE: [SlimDevices: Plugins] Re: Last.fm plugin ?

2005-09-29 Thread Craig, James (IT)
In theory yes. 
I must admit I don't use lastfm that much.
 
How does one normally start 'similar artist radio' ? 

James


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


RE: [SlimDevices: Plugins] Re: Last.fm plugin ?

2005-09-29 Thread Craig, James (IT)
I think that you could enter a station e.g.

"artist/radiohead/similarartists"

In the preferences and select that from the plugin page/menu.

But I am guessing you'd like to do this dynamically?
That would require a bit of extra code, but not much.

James


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


RE: [SlimDevices: Plugins] Re: Last.fm plugin ?

2005-09-29 Thread Craig, James (IT)
Ha! I only chose Radiohead because they are top of the SlimScrobbler
group chart... 

James


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


RE: [SlimDevices: Plugins] iTunes Update - Ratings not updated

2005-10-07 Thread Craig, James (IT)
Uh oh, I think I see the problem!

What do the ratings look like in the Hist file - are they 0-5 or 0-100 ?
Seems I forgot to multiply by 20 in the Update script.

If you're happy modifying it yourself.the line in iTunesUpdateWin.pl
$status = $trackHandle->{rating} = $data{rating};

Should be
$status = $trackHandle->{rating} = $data{rating} * 20;

I'll post a fixed version on my site tonight.

James 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of barcar
Sent: 07 October 2005 11:00
To: plugins@lists.slimdevices.com
Subject: [SlimDevices: Plugins] iTunes Update - Ratings not updated


I'm running iTunes Update v1.4 against SlimServer v6.1.2 with iTunes
v5.0.1.4 all on Windows XP. iTunes Update is running is "indirect" mode
where I manually import updates using the perl script.

When I import my iTunes_Hist.txt file the "last played" times and play
counts in itunes get updated correctly.

However, if I have set a song rating this does not get updated.

Below is a snippet from the import process showing one track with a
rating set and one without. In both cases the rating in iTunes is
unset.

Anybody seen this behaviour or got any ideas?

Thanks for any help.

Barry.



==logTrackToiTunesWin()
Searching iTunes for *Kelis In Public (Featuring Nas)*
Found 1 track(s) in iTunes
Checking for: *C:\Documents and Settings\\My Documents\My
Music\Kelis\Tasty\05 In Public (Featuring Nas).m4a*
Found track in iTunes
Marking as played in iTunes
Updating rating in iTunes
==logTrackToiTunesWin()
Searching iTunes for *New Order Working Overtime*
Found 1 track(s) in iTunes
Checking for: *C:\Documents and Settings\\My Documents\My Music\New
Order\Waiting For The Sirens' Call\11 Working Overtime.m4a*
Found track in iTunes
Marking as played in iTunes
==logTrackToiTunesWin()


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


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


RE: [SlimDevices: Plugins] Re: really stupid slimscrobbler question

2005-10-17 Thread Craig, James (IT)
>"I have found that the Slimscrobbler plugin will not function if it is
>the ~/Library/SlimDevices/Plugins folder. It needs to go in the
>/Library/SlimServer.prefPane/Contents/server/Plugins folder."
>
>huh.  where is that directory located?
>
>i opened up every single folder under the slimserver directory, and
>didn't find anything near that folder name description.
>
>i'm running win xp pro if that matters.

That advice is for OSX! 


James


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


[SlimDevices: Plugins] Re: Last.FM plugin

2005-10-17 Thread Craig, James (IT)
OK, let me explain how the plugin works.
Settings (login details, favourite stations etc) appear under 'Internet
Radio' in Server Settings in the web UI on 6.2, and under plugin
settings on earlier versions.

Stations etc can be controlled from 2 places;
On the player, you should find a LastFM entry under the Internet Radio
menu.
There's a 'LastFM' link under internet radio in the web UI.

The plugin keeps track of LastFM status for each player. When you go to
either the LastFM page in the web interface or the player, what you will
see depends on what the plugin consideres the status is:

If LastFM is not playing you'll just see the link to start playback or
the message 'press play to start'.
(The plugin will consider LastFM to not be playing if the player is
stoppe,off or if LastFM says you're not connected)

If LastFM is playing you'll see the expanded information on what station
& track is playing, and have the option to change stations.
When you start LastFM for the first time, it can take up to a minute for
LastFM to confirm the connection, so the state change is not immediate.

If starting the LastFM playback doesn't appear to be doing anything
please enable the d_plugins debug option and have a look in the server
log (http://yourserver:9000/log.txt) for any messages starting "LastFM"
- all the interaction with the LastFM servers will be logged here.

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-17 Thread Craig, James (IT)
You have both the SlimScrobber & LastFM plugins installed? 
They're not the same thing - this has become a bit confusing since they
changed the name of the main website to LastFM...


James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-17 Thread Craig, James (IT)
Ceejay,
I've never seen this before, so this is good progress! 
If you're using the latest version of the plugin, the session id is
allocated the first time you connect to LastFM with each player.
(Older versions stored only one session and may have problems with
multiple players)

As far as I know the session remains valid indefinitely - have you had
slimserver running for a long time?

I will add some code to the plugin to get a new session ID/invalidate
the current one when it gets this response. 
(The only way at present to do this is to restart SlimServer)

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-17 Thread Craig, James (IT)
Ceejay,
That probably just means that LastFM is down at the moment.

I recall the web page doesn't work properly unless you've started the
plugin going from a player - I had some problems with the web page
duplicating the player's requests.

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-17 Thread Craig, James (IT)
The 'loading error' message means it didn't get the stream URL from
LastFM.
The absence of any other messages would indicate that the http
connection to LastFM either failed completely or that they sent back a
response containing 'FAILED'. You could try opening that URL in a
browser and seeing what comes back.

Strange though, it is working for me this morning. 
Although I had to 'play' the stream a 2nd time to get the music started.

I'll post a new version tonight, I have fixed or tweaked a couple of
these problems...

James


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


RE: [SlimDevices: Plugins] Re: really stupid slimscrobbler question

2005-10-17 Thread Craig, James (IT)
Have you restarted SS since installing SlimScrobbler?

Can you restart SlimServer with the "--d_plugins" flag and see if there
are any errors regarding SlimScrobbler? 
Looks like the plugin is not even getting loaded.

James


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


RE: [SlimDevices: Plugins] Re: really stupid slimscrobbler question

2005-10-17 Thread Craig, James (IT)
What I suggest you do is

A) stop slimserver
B) open a command prompt window
C) cd to your SlimServer installation, server subdirectory eg. "cd
C:\program files\SlimServer\server"
D) run "slim.exe --d_plugins --logfile slim.log" 
E) check the output. You may find your command prompt window doesn't
hold enough history to see what's going on, so the log will also be in
the slim.log file.

And then once you get this problem fixed you can go back to running
SlimServer as normal!

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-17 Thread Craig, James (IT)
That's very strange. 
The only thing I can think of that would cause that is if you skipped a
track with the web page, and the auto-refresh of the page (which is set
to 2 minutes) kept skipping... it did do this when I first added the web
page, but I had thought I had fixed that one.

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-18 Thread Craig, James (IT)
> The main annoyance is one I suspect you can do nothing at all about,
> which is the inherent delay in some of the commands 

I agree, LastFM is actually a lot more responsive on a SB1 due to the
smaller buffer!

> ... agreed, but the plugin also adds "neighbours" to, for example,
> "artists/dido/similarartists" on the webpage listing

OK that's a bug. Will fix. It's just user stations that need neighbours
added I think?

> - as commented earlier by Phil, the Up and Down keys on the remote are
> hypersensitive ... actually I think they are set to repeat on hold,
> which may be unnecessary (NB this refers to the menu which includes
> press play to love/skip etc... the station selector menu is fine)

Ah! I've killed the repeat which is nasty but should do what you want. 
Need to do this properly but that's a bit of work...

> In this case, although all the various submenus (skip, select new
> channel etc) were presented, none of them did anything. I had to go
> back to plugins/internet radio/lastfm, then I got "press play to start
> lastfm, which did restart.

The submenus were available in the web page but not in the player menu?
They should have disappeared from the web page next time it refreshed.

>  I had an incident where slimserver had a runaway of some kind: 100%
CPU, no
> responsiveness, eating virtual memory. 

I get this quite frequently but from Softsqueeze, not SlimServer.

So, look out for a new version tonight...

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-18 Thread Craig, James (IT)
I'll change the filename for tonight's version...

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-18 Thread Craig, James (IT)
> James, can the buffer not be flushed to speed things up? 

Maybe but I think that's beyond my powers!


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-19 Thread Craig, James (IT)
Terrible problems with my pc last night & this morning but I managed to
post version 0.8.3 on my website in the end.

Fixes include:

* Crash from web page with no player
* correct generation of station list
* disable repeat scroll in main menu
* use play and/or right to navigate & select in station menu
* indicate command response status on the player display


Notes: 
* The "password" that appears in the web interface is the encrypted
version, hence the different length.

* I noticed LastFM was up and down a bit yesterday.

* I have observed a problem when streaming stops working with a 'log in
again' response from LastFM.
Unfortunately as this response is passed to SlimServer in the music
stream the plugin can't see it.
I am thinking about this one. Will probably change the code to re-login
each time the settings are changed.

Anyone having problems please enable debug options d_plugins and
d_remotestream and check the log for errors.

James


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


RE: [SlimDevices: Plugins] LastFM question

2005-10-20 Thread Craig, James (IT)
For some reason (I don't know why) the stream often doesn't start on the
first attempt. 
Just press play again (either from now playing or the plugin menu) and
it should get going.

James


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


RE: [SlimDevices: Plugins] Re: LastFM question

2005-10-20 Thread Craig, James (IT)
These messages are from checking the status, not connecting to the
stream.

Can you enable "d_remotestream" debugging and hit play again?

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-20 Thread Craig, James (IT)
Ok here's some responses for the last couple of messages:

1) I wasn't expecting streaming to work on 2 devices at the same time.
>From LastFM's point of view, you're requesting 2 streams from the same
IP address (the SlimServer) and the same username so I guess they cut
off the original one when the next one starts. The only way I can see
around that is to have a different account for each player. (Not
currently possible in the plugin). Even then it might not work because
of the shared IP address.

2) When you Listen to LastFM, they log the tracks at their server. When
you listen to another internet radio station, the plays are logged by
the Slimscrobbler plugin of your SlimServer. However Slimscrobbler
ignores radio streams because the LastFM rules say to do so!

3) The custom IR map. This would be tricky at present, as all the
functions in the plugin are generic. I'm guessing you're asking because
the screensaver is jumping out of the LastFM mode all the time... If so,
two easier options here, use the 'jump back' screensaver, or I can add
an option to disable the screensaver while in the LastFM menu?

4) ceejay's web page/player issue - I can't recreate this. The web page
being active shouldn't be an issue. The setting of connection status,
track details etc is actually done by a timer, which is started by
either the web page or the player menu, depending on which you start
first. If the stream is known to be active, the full set of options
should appear in both. That's not to say there isn't a problem there,
I'm just not sure what it might be. Or it could just be a bogus response
from LastFM.

5) jump back to wrong menu - I have noticed this once but cannot
reproduce it!

6) At the moment the track info is updated every 60 seconds, 30 seconds
on the first attempt after connecting. Player display is updated
immediately, the web page is refreshed every 120 seconds. I have a new
version that 
A) refreshes the track data 10 seconds after a command is sent
successfully (I tried 5 and that was too quick)
B) dynamically sets the web page refresh time based on how long it is
until the next scheduled update.

Look for a new version tomorrow.

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-21 Thread Craig, James (IT)
Ah. That was a bit optimistic wasn't it?

If you're happy editing the code try adding the 2nd line:

$params->{refresh} = ($players{$macaddress}->remaining - $elapsed + 5);
$params->{refresh} = $lastfm_timeout if ($params->{refresh} <= 0);

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-21 Thread Craig, James (IT)
This is correct behaviour really. 

Looks like LastFM cut you off.

You just need to hit play again to get it going...

James


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


RE: [SlimDevices: Plugins] Re: LastFM question

2005-10-24 Thread Craig, James (IT)
> Indeed, it appears that one must have the lastfm player installed in
> order for this to work.  Works like a charm now that I installed it.

No, you shouldn't need it installed! 
I don't on either of my SlimServers.


James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-24 Thread Craig, James (IT)
> Is there a slimserver modename for when you are in LastFm 
> plugin similar
> to [moodlogic_instant_mix] that I can include in the custom.map ir
> mapping function to include custom ir commands on button pushes only
> when in LastFM mode?
> 

[PLUGIN.LastFM] I think?

Have you got the functions right? 
Should be lastfm_skip not lastfm.skip.
Or possibly LastFM.lastfm_skip ? 

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-24 Thread Craig, James (IT)
Replying to ceejay and rme's issues with track info updates, we really
need to see the "d_plugins" log from this to see what's happening.

If you needed to start the music again by pressing play (anywhere) then
LastFM cut you off.

If the music continues and the plugin eventually recovers itself, it's
most likely this is LastFM temporarily giving incorrect status reports.
(you may see LastFM: streaming = FALSE in the log)

If the music continued and the plugin didn't recover then there is a bug
somewhere!
(most likely the timer got unset, so you'd no longer see the 'LastFM:
Setting timer for...' message in the log')

The background timer is only started the first time the plugin is
activated for each player (whether from the web page or menu) and at
present there's no way to restart it. I will probably add a link to
restart the timer and re-login into LastFM from the web page.

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-24 Thread Craig, James (IT)
Ah this is the problem that came up before. 

The message:
2005-10-24 12:23:40.2342 Response: HTTP/1.0 401 Invalid session - login
again
is LastFM's response to SlimServer trying to play the stream. 

So you're not being ignored, but this error is passed to the SlimServer
audio streaming code, 
and the LastFM plugin has no way of knowing it's happened.

And at present there's no way to force the required login anyway!

The timer looks fine, it's easier to keep it running forever than try
starting and stopping it.
It won't actually do any work unless the player is on and playing the
LastFM stream.

So I will let you know when I have a solution for this...

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-28 Thread Craig, James (IT)
Hi Ceejay,
This looks fine to me. Is LastFM working in the stand alone player?

The refresh sessions button is gone because we now do this each time
playback starts. This appears to be working from your logfile.

You don't have to start playback from the plugin though, you can press
play from now playing, but this won't regenerate the session id.

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-28 Thread Craig, James (IT)
If it makes you feel any better I've been unable to get LastFM to play
today either...

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-10-31 Thread Craig, James (IT)
Ah ha! 
I found the bug today after hitting some unavailable errors from LastFM.
This does cause the timer to get unset - bad test in my code.

New version will be posted tonight-ish.

Any feedback on the use of logins from SlimScrobbler?

I feel a v1.0 coming on...

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-11-01 Thread Craig, James (IT)
Hi Ceejay,
I haven't seen the progress > duration for quite some time! That used to
happen a lot...
I can put in a check that detects this overrun and produces a warning
(although your ears will already have detected this problem),
but I don't really want to start automatically restarting the stream. 
I don't believe any of the other internet radio plugins/services do this
so I think it's the correct behaviour.

Are you trying to restart playback from the LastFM player menu? 
I'm not sure this will do anything at all if the plugin thinks streaming
is working.
This could be the cause of the ignored commands! 
Although it looks like you managed to start playback from the plugin
(the webpage maybe?) eventually...

James


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


RE: [SlimDevices: Plugins] Re: itunes plugin issue

2005-11-02 Thread Craig, James (IT)
Should go wherever the rest of your plugins are eg RssNews.pm &
iTunes.pm

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-11-04 Thread Craig, James (IT)
Oops. Not being a subscriber I never tested that bit.

I'm not sure when I'll be able to post a fix, probably not until Sunday,
so this is what needs changing if you're keen:
Plugin.pm line 475:
overlayRef => sub {return
(undef,Slim::Display::Display::symbol('rightarrow'));},
Should be:
overlayRef =>
[undef,Slim::Display::Display::symbol('rightarrow')],

Ceejay's first suggestion is correct, there should be a sub-menu for
subscribers only.

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-11-04 Thread Craig, James (IT)
Hi Bernt,
Could you enable the d_plugins and d_remotestream debugging options, try
again and send me the output?

Note that it frequently doesn't connect on the first attempt. 
Try pressing play again from the now playing/playlist screen and see if
that helps.

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-11-07 Thread Craig, James (IT)
I posted a fix for the subscribers menu crash last night.

I started on the ignored restart/track overrun issue but forgot what I
changed...

James


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


RE: [SlimDevices: Plugins] Crash due to RadioPlaylist

2005-11-08 Thread Craig, James (IT)
Thanks Phil.
I must admit I have no idea why this would have happened!

You should indeed be able to choose the playlist from the player without
doing anything first.

James


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


RE: [SlimDevices: Plugins] Crash due to RadioPlaylist

2005-11-09 Thread Craig, James (IT)
Phil,
You will be pleased to know I am working on a new version that covers
all of your requests.

It was all going fine until I found getting the preferences to behave
correctly proved a lot harder than I expected.
But once I sort that out it will be ready!

James


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-11-11 Thread Craig, James (IT)
Wow - power user!

Anything that works in the LastFM player should in theory work in the
Squeezebox player.

What response do you get back from LastFM in the log (with --d_plugins
enabled) when you try this?

BTW you shouldn't need to escape the spaces and characters in the prefs,
the plugin does this for you.
(Or if it doesn't it's a bug and needs fixing)
I see you're putting "+" characters in instead of spaces? Does that work
and/or do spaces not work?

James 

PS. V1.0.2 posted last night;
Allows restart of the LastFM stream from the player when either an
update fails or track overrun is detected.
I've not tested this really but I had to finish it before I forgot what
I started...


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


RE: [SlimDevices: Plugins] Re: Last.FM plugin

2005-11-14 Thread Craig, James (IT)
How strange. 
I must have forgotten to upload it!

I cannot fix this until this evening, sorry...

James


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


RE: [SlimDevices: Plugins] SlimScrobbler Log?

2005-11-18 Thread Craig, James (IT)
LastFM appears a bit stuffed at the moment. 
I clocked up an extra 500 plays each of 3 tracks last night and there
are many threads in their support forums with issues.

The latest version of SlimScrobbler (0.34) will write debug output if
d_plugins debugging is enabled.

James


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


RE: [SlimDevices: Plugins] RadioPlaylist crash

2005-11-21 Thread Craig, James (IT)
Thanks Phil,
I hope that is enough to find the problem.

James


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


RE: [SlimDevices: Plugins] Re: Announce: RadioPlaylist plugin - supportfor multiple playlists

2005-11-21 Thread Craig, James (IT)
Is the problem after a wipe & scan or just a rescan?
I wonder if the problem is that the plugin references the playlists by
database id and these are changing...

James


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


RE: [SlimDevices: Plugins] Re: Announce: LastFM Internet Radio Pluginv1.1

2005-11-21 Thread Craig, James (IT)
Yes, I do agree. 
As you saw my original intention was to put the discovery setting under
'record to profile' in the command section.
Then I found out that changing discovery mode works the same as changing
stations behind the scenes so I would have ended up writing loads of
redundant code! 
Now it's working I can look to move it in the UI. I think this will be
very easy in the web page but more tricky in the player.

One thought, 
does anyone think that stations played through the 'text box' in the web
page should automatically be added to the station list?

James


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


RE: [SlimDevices: Plugins] RadioPlaylist crash

2005-11-21 Thread Craig, James (IT)
Phil,
I cannot reproduce this! 
Does it crash every time you enter the RadioPlaylist menu?

What appears in the Plugin settings section in the web UI?

James


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


RE: [SlimDevices: Plugins] Does this plugin exist? Is it possible?

2005-11-23 Thread Craig, James (IT)
It doesn't exist, but I can think of no reason that it couldn't...

Good luck!

James


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


RE: [SlimDevices: Plugins] Re: ANNOUNCE: Updated Lazy Search Musicplugin (r52)

2005-11-23 Thread Craig, James (IT)
Hey Stuart,
Did you raise a bug for the database change? 
If so we can all vote on it and try and persuade SD to make the change.

James


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


RE: [SlimDevices: Plugins] Radio Playlist plugin - playlist empty

2005-11-24 Thread Craig, James (IT)
I suspect this is happening after a rescan, and the playlist's database
id has changed.
When you change the settings the menu items are removed and re-added
with the correct ids.
I have to check how this works elsewhere to see what I'm doing wrong!

There are no strings for the setting names as the number of settings is
configurable and hence I'd have to either include the whole alphabet or
create them dynamically...one for the next version.

James


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


RE: [SlimDevices: Plugins] Re: Logging tracks to a file

2005-12-12 Thread Craig, James (IT)
It occurred to me that you could do this with iTunes Update plugin by
setting the 'direct update' mode off.
All tracks played are then logged to a file.

Sounds like Max's recent 'now playing' plugin would do the same.

James


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


RE: [SlimDevices: Plugins] Re: Announce: LastFM Internet Radio Pluginv1.1

2005-12-12 Thread Craig, James (IT)
Siduhe,
Is this still a problem?

Please send the log output if so...

James


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


RE: [SlimDevices: Plugins] Re: iTunes Update Plugin w/ OS X

2005-12-12 Thread Craig, James (IT)
Hi Diarmuid,
Sounds like you need an iTunesUpdateOSX.pl right?

I will put this on my to-do list... Should be pretty easy.

James


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


RE: [SlimDevices: Plugins] eBay auction ticker plugin

2005-12-14 Thread Craig, James (IT)
There isn't but it sounds like a great idea!

Does ebay provide RSS feeds or similar? Otherwise you'd have to parse
the pages to get the time remaining.

I guess Michael's Biography plugin would be a good starting point for
anyone that's interested.

James


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


RE: [SlimDevices: Plugins] Re: Announce: LastFM Internet RadioPluginv1.1

2005-12-19 Thread Craig, James (IT)
Sounds like you've found it then!
I could get the plugin to disable discovery mode before changing
stations?

Is there any mention of this bug on the LastFM site?

James


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


RE: [SlimDevices: Plugins] Re: Announce: iTunesUpdate 1.5 (with webinterface)

2006-01-09 Thread Craig, James (IT)
Thanks - I think the OSX problems were fixed in SlimServer a while back.

I can't test the plugin on OSX so any feedback is appreciated. 
I will see what I can do about this date problem...

James


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


RE: [SlimDevices: Plugins] Re: Announce: LastFM InternetRadioPluginv1.1

2006-01-09 Thread Craig, James (IT)
Indeed. Slim.exe at 100% CPU once the stream starts. 
Now, I don't recall the plugin does anything at all after starting the
stream, yet the other internet streams I tried worked OK?

I have raised a bug for this (2795), so until further notice LastFM is
NOT working on 6.5!

James


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


RE: [SlimDevices: Plugins] Re: Announce: iTunesUpdate 1.5 (with webinterface)

2006-01-10 Thread Craig, James (IT)
Hi Cameron,
Firstly, I haven't done any testing on 6.5 beyond checking that the
plugin starts (which it does). 
Although the behaviour you describe sounds quite promising.

Now, you don't say what OS you're on so I will guess XP: I'm wondering
if the problem is that you're running SlimServer as a service (the
default configuration)? If so, you'll need to change to running slim.exe
directly (there are instructions in the readme file of the plugin) or
not use the direct update mode of the plugin.

James


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


RE: [SlimDevices: Plugins] Re: Announce: iTunesUpdate 1.5(withwebinterface)

2006-01-10 Thread Craig, James (IT)
Hmmm. I don't know if it works that well on win2k. 
A quick google shows someone had problems there before...

Have you tried opening iTunes before doing anything in the plugins?

Can you send the messages from the log file (check the log messages
option for iTunes Update is on)?

James


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


RE: [SlimDevices: Plugins] LastFM & SlimServer 6.2.1 (WinXP) problem.

2006-01-11 Thread Craig, James (IT)
Hi Chris,
I just got it working on the 2nd attempt so LastFM seem to be streaming
OK at the moment.

Can you enable the d_remotestream and d_plugins debugging options, try
connecting to LastFM and then send me the output from the log?

Can you connect to other internet radio stations OK?

James


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


RE: [SlimDevices: Plugins] Re: SlimCD "Remaster"

2006-01-12 Thread Craig, James (IT)
OK one more question then, why the emphasis on SlimCD and running from a
CD?
Wouldn't one just install x-dsl on the hard drive and boot from there? 

I am considering using the xbox running Linux to back up all my data
regularly (including music) and to run SlimServer 24x7 from.
This would allow me to use my main Squeezebox with wires. I think that
using it as a music server for iTunes on my desktop (with somewhat
unreliable wireless connection) seems a bit ambitious so I figure I'll
keep my primary copy of all the music on my PC.
 
When I get bored of playing games on it that is...

James


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


RE: [SlimDevices: Plugins] iTunes Update 1.5.1 on OS X

2006-01-16 Thread Craig, James (IT)
Allan,
I'm not entirely surprised about this. 
I don't entirely understand how the web interface templates are supposed
to work, and the template that comes with the plugin is written for the
default skin. 
When you returned to Fishbone from default, your web browser had
probably cached the images so they displayed correctly.

I'd like to sort this out but will probably wait until 6.5 is ready as
the skins are changing there.

BTW, does the 'last played' date display correctly in the web interface
for you?

James


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


RE: [SlimDevices: Plugins] Re: How to Change LastFM Station?

2006-01-16 Thread Craig, James (IT)
Hi there,
Seems to me there are 2 problems:

1) the web interface not working correctly. 
When you enter a station name in the empty box and hit the add button,
it should be added to the list of stations in the list below.
(duplicates are ignored) From your description this is not working?

2) When you press the play button, we request LastFM to change to that
station. From the log file you posted LastFM does not want to change
station (the reponse=FAILED). It looks to me like the station in your
example has been saved incorrectly as the request is for
"Lastfm://http://www.last.fm/music/Etta James"
This is wrong - it shouldn't have the http://www.last.fm in there. If
you save the station that part should be removed automatically, but I
see this seems not to be working in some cases - I think you've found a
bug here!

I will try and fix this. 
In the meantime, if you want to get the stations working, all that you
need to put in the station box is for example:
Music/Etta James


James


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


RE: [SlimDevices: Plugins] Re: Questions about Slimscrobbler and thelastFM plugin

2006-01-18 Thread Craig, James (IT)
Thanks to all for your responses. 
I will try and investigate the player freezes further...

If you find the info disappears while the music playback continues, this
is LastFM's 'fault' - they're telling the plugin that the stream has
stopped playing!

James


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


RE: [SlimDevices: Plugins] iTunes Update 1.5.1 on OS X

2006-01-20 Thread Craig, James (IT)
> Yes, it looks mostly correct:
> Last Played:  date "Sunday, October 09, 2005 11:02:21 AM"
> 
> The "date" is extraneous, don't you think? But i isn't a big deal...

I didn't put it there! 
But, better that than the HASH(0x7676382683628) that was showing before!

James


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


RE: [SlimDevices: Plugins] Re: LastFM can't connect?

2006-01-23 Thread Craig, James (IT)
Sorry! The problem is that the plugin uses the client's MAC address to
uniquely identify the players and track them.
But the URL stream creates a client with no MAC address. I can work
around this but it will take a lot of changes so will take a while.

What's interesting is that someone else posted saying they *were*
streaming to WinAmp? 
I wonder how they get it to work!?

James


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


RE: [SlimDevices: Plugins] Re: lastfm+winamp

2006-01-23 Thread Craig, James (IT)
If you go into your SlimServer installation, then Plugins/LastFM/HTML
you'll see the skin subdirectories.

The 'EN' template provided is actually based on the Default skin, so I
know it looks terrible in most of the other skins!

So, create a copy of the 'EN' directory called 'Handheld', and then edit
the file Handheld/index.html to determine what the page looks like in
Handheld. It's quite easy as any changes you save will be reflected next
time the page is refreshed.

I'm holding off on making changes at the moment because the skins are
all being redone for 6.5 and in theory it will be easier to create a
common template that works everywhere...


James


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


RE: [SlimDevices: Plugins] Re: lastfm+winamp

2006-01-23 Thread Craig, James (IT)
Hang on though - does this arrangement actually work for you?
Because a couple of people have been asking, and I tried it myself and I
can't get LastFM to work to a streaming client!

(and I can see a bit of my code that I can't imagine working properly in
this situation)

James


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


RE: [SlimDevices: Plugins] Re: Announce: iTunesUpdate 1.5 (with webinterface)

2006-01-24 Thread Craig, James (IT)
In reply to Dan, the track name is only really there so you can see
which one the iTunes info relates to.
This is because I haven't got the automatic refresh to work properly
(trying to use the standard SS code rather than my own).

To show the info on the right hand side would be *very* tricky!

Try Accessories/System Tools/Scheduled Tasks for setting up a timed job
to run the update script (never used this myself)

James


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


RE: [SlimDevices: Plugins] Re: Questions about Slimscrobbler and thelastFM plugin

2006-01-24 Thread Craig, James (IT)
> >  Is there anyway to change the name that comes up on the 
> display though?
> > /artists/1000790,1238186,1002287,1002647... isn't really terribly
> > descriptive.
> 
> Not yet, sorry!
> 

Latest version allows you to add a comment to saved stations e.g.

"James' fave bands;/artists/1000790,1238186,1002287,1002647"

The whole thing is displayed on the screen etc, but only the portion
after the semi-colon is sent to LastFM.
If people actually use this I'll see about hiding the latter part on the
display (it was harder than I thought)

James


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


RE: [SlimDevices: Plugins] Re: lastfm+winamp

2006-01-24 Thread Craig, James (IT)
Ingenious! I am surprised that works...

Next time around (when I upgrade for 6.5) I will try and make sure that
streaming players are properly supported.

James


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


RE: [SlimDevices: Plugins] Re: Last.FM hang

2006-01-30 Thread Craig, James (IT)
(un) fortunately this has never happened to me!
I've been skipping all morning as well to try and recreate the problem.
It may just be caused by problems at the LastFM end, although I do all
the http requests asyncronously to avoid problems like this.

So any debug output when this happens is useful...

James


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


RE: [SlimDevices: Plugins] Re: Announce: LastFM InternetRadioPluginv1.1

2006-02-07 Thread Craig, James (IT)
That's correct. 
I've not changed/added anything in the plugin,
only fixed it up to work with 6.5, so you don't need the new one if
you're on 6.2

James


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


RE: [SlimDevices: Plugins] Re: iTunes Update Plugin w/ OS X

2006-02-09 Thread Craig, James (IT)
I am not sure what you mean!
It's a cross-platform replacement for the iTunesUpdateWin.pl script, not
part of the plugin as such.

It would only be of interest if you're an OSX iTunes user running your
SlimServer on a different machine...

James


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


RE: [SlimDevices: Plugins] Last.FM not starting / showing up

2006-02-09 Thread Craig, James (IT)
Hi, 
I can see the LastFM plugin has not started from this log, but not
enough to see why!
Can you run slimserver with the "--d_plugins" option and post the log -
there should be an error that explains the problem very close to the
start.

James


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


RE: [SlimDevices: Plugins] Re: Last.FM not starting / showing up

2006-02-09 Thread Craig, James (IT)
This is the error:
2006-02-09 19:03:42.1356 Requiring Plugins::LastFM::Plugin plugin.
2006-02-09 19:03:42.2029 Can't require Plugins::LastFM::Plugin for
Plugins menu: function 'new' already defined in package LastFMStatus at
/usr/local/slimserver/Plugins/LastFM/Plugin.pm line 677
Compilation failed in require at (eval 81) line 3,  line 1.

But it is a wierd error and not one that you would normally see. 
My guess that you actually have two copies of the LastFM "Plugin.pm"
file - another one being in the Plugins directory by accident? 

James


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


RE: [SlimDevices: Plugins] Lastfm Plugin question

2006-02-10 Thread Craig, James (IT)
Yes, there is. You can find it here:
http://slimscrobbler.sourceforge.net/

There's also a plugin for playing LastFM through SlimServer:
www.jamescraig.co.uk/SlimServer

James


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


RE: [SlimDevices: Plugins] Re: LastFM not functioning?

2006-02-15 Thread Craig, James (IT)
You can actually change that from the LastFM plugin settings page!
It determines whether you want to provide a LastFM login for the plugin
or get it to use the Scrobbler one.
(because I no longer use SlimScrobbler)
I thought it was supposed to set that automatically if you have
SlimScrobbler installed before LastFM but maybe not...

Anyway, if that's the problem you (again, should?) see a 'failed login'
message rather than the more generic error.

James


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


RE: [SlimDevices: Plugins] See the clock instead of the small spectrumin Now Playing?

2006-02-15 Thread Craig, James (IT)
"On wake" means use of the remote.

I'm not aware of any way to display the clock as well as the now-playing
info.
Maybe an extra feature for the infamous Music Info screensaver...?

James


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


RE: [SlimDevices: Plugins] See the clock instead of the smallspectrumin Now Playing?

2006-02-15 Thread Craig, James (IT)
Actually it looks like Michael has that covered already...

http://www.herger.net/slim-plugins/detail.php?nr=446

James


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


RE: [SlimDevices: Plugins] Re: Last.FM Plugin Noob Questions

2006-02-16 Thread Craig, James (IT)
I'm not aware of any problems at the moment, so any details are very
helpful.

James


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


RE: [SlimDevices: Plugins] More Last.FM problems

2006-02-16 Thread Craig, James (IT)
> Slim shows the following upon it's death;
> 
> Undefined subroutine &Slim::Utils::Misc::escape called at
> /usr/local/slimserver//Plugins/LastFM/Plugin.pm line 883.
>
> I'm running the latest 6.2 nightly as well
> as the latest versions of Last.FM and Scrobbler on a Linux box.

Looks like you're running the wrong version of the plugin.
For SS 6.2 it's not the latest version available on my web page - you
need 1.1.6 for SS 6.2
I have tried to make this clear but people seem to just want to download
the latest version regardless!

If this is the case please see if these problems are solved.

There isn't much documentation because
A) i've been too lazy to write any (the real reason)
but
B) my experience (from the iTunes Update plugin) is that people don't
read documentation anyway
C) hence I've tried to make the operation of the plugin as clear as
possible so it's not required

Any suggestions on how to improve this situation are welcome...

James


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


RE: [SlimDevices: Plugins] Re: More Last.FM problems

2006-02-16 Thread Craig, James (IT)
As far as I know there's no link from the LastFM website, other than in
threads in the SlimScrobbler forum.
I shall ask about getting it added...

James


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


RE: [SlimDevices: Plugins] Re: More Last.FM problems

2006-02-17 Thread Craig, James (IT)
It should work on all SlimServer supported platforms.

James


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


RE: [SlimDevices: Plugins] Re: Announce: iTunesUpdate 1.5(withwebinterface)

2006-02-23 Thread Craig, James (IT)
> James, I read a note today as of iTunes 6.0.2, the app can 
> display/store ½ star ratings for tracks:

I'll have a look at adding this...
The only difficulty will probably be displaying "½" on the squeezebox!

James


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


RE: [SlimDevices: Plugins] iTunesUpdate (multi-disc album w/modifiedtitles problem)

2006-02-23 Thread Craig, James (IT)
Tom,
There is actually setting in SlimServer that does this - do you really
want the (Disc 1) suffix added in SlimServer?
If not, change the 'treat multi disc sets as a single album' setting.

Otherwise I would need to fix the plugin and I know what's easier! 

James


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


RE: [SlimDevices: Plugins] Re: Announce: iTunesUpdate 1.5(withwebinterface)

2006-02-23 Thread Craig, James (IT)
> I'm having the same problem as basssy. Everything had been working
> fine, but when I updated iTunes to the latest (6.0.3.5 WIN) version
> iTunesUpdater stopped working and I got the 'Attempting to make
> connection...' / 'Failed to launch!!!' duo of error messages.
> 
> Using the indirect update method fails as well, resulting in a
> 'Win32::OLE(0.1703) error 0x800401f3: "Invalid class string' message.

Somehow I missed the original post ... Is anyone else having problems
with 6.0.3 ?
I am still on 6.0.1 and only saw the 6.0.3 upgrade warning this
morning...

James


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


RE: [SlimDevices: Plugins] Re: More Last.FM problems

2006-02-23 Thread Craig, James (IT)
> I have the SlimScrobbler and LastFM plugins installed on an 
> OS X 10.3.9.
> I put things in /Library (NOT ~/Library)
> /PreferencePanes/SlimServer.prefPane/Contents/server/Plugins

Anyone know why OSX users have to do this? Is it standard across all
plugins?

James


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


RE: [SlimDevices: Plugins] Re: More Last.FM problems

2006-02-23 Thread Craig, James (IT)
> Can confirm that I'm also getting this now - if I turn discovery mode
> on, on a channel which isn't personal or loved, and try to change to
> another channel which isn't personal or loved, then the SB appears to
> lose its connection to LastFM.  

It is, of course, LastFM's problem!

Although you shouldn't lose the personal station when it happens, and
it's even stranger that you keep the 'loved' station.
Should both stay or go.
I shall see if anything's wrong there.

James


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


RE: [SlimDevices: Plugins] Install questions on iTunesupdate plugin onTiger 10.4.5

2006-02-23 Thread Craig, James (IT)
Govardha,
Where did you install the iTunesUpdate plugin?

The impression I get is that OSX plugins have to be installed in a
different directory
/Library/PreferencePanes/SlimServer.prefPane/Contents/server/Plugins

Rather than
~Library/PreferencePanes/SlimServer.prefPane/Contents/server/Plugins

?

James


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


RE: [SlimDevices: Plugins] Re: More Last.FM problems

2006-02-23 Thread Craig, James (IT)
It's quite puzzling, but not having a Mac, I have no idea what's going
on. 
Anyone that's it's not working for, the output from starting SlimServer
with the 'd_plugins' debugging enabled might be useful.

James


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


RE: [SlimDevices: Plugins] Re: Question on iTunesupdate and SB 3 Device

2006-02-28 Thread Craig, James (IT)
If iTunesUpdate isn't working properly (can't access iTunes) it can have
symptoms like this.
Do you see any errors from the plugin in the log?

James


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


RE: [SlimDevices: Plugins] Re: Slimserver version for IR Blaster?

2006-02-28 Thread Craig, James (IT)
Hi Felix,
Do you have a version of the plugin for SS6.5 ?

James


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


RE: [SlimDevices: Plugins] Re: custom action for add.hold not working

2006-02-28 Thread Craig, James (IT)
Did you get anywhere with this Phil?
'playlist' appears to be the correct mode name from
Slim::Buttons::Playlist.pm
In my plugins where I've added key mappings I have not used a specific
mode.

The whole key mapping area is quite frustrating, I spent some time last
week trying to map some keys for the LastFM plugin and I could not get
what I wanted from it (hold event without a single event) on some keys
but could on others.

James


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


RE: [SlimDevices: Plugins] Custom IR maps - available function/menuitems list

2006-03-01 Thread Craig, James (IT)
Hi Tim,
I was expecting someone else to reply but no-one has so I'll tell you
what I know...

The documentation is within SlimServer, in the web interface select
Technical Documentation then Button Mapping
This covers the holding time length question.

I think to add commands for a specific plugin you add a section
[Plugin.]
The plugin name is, I think, by default the name of the Perl module the
plugin lives in.
For example Random Mix would be
[PLUGIN.RandomPlay::Plugin]

I don't think the documentation is great ( the "More to come..." at the
end of the page has been there as long as I can remember)and this is not
discussed on the wiki at all. 
Perhaps a good topic to add, and everyone can contribute their favourite
custom IR map commands?

James


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


RE: [SlimDevices: Plugins] Re: Custom IR maps -availablefunction/menuitems list

2006-03-01 Thread Craig, James (IT)
I don't use AlienBBC but I don't see any fancy use of setMode in their
plugin so I think that the mode is 

[PLUGIN.Alien::Plugin]

James


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


  1   2   3   4   5   6   >