[SlimDevices: Plugins] Audioscrobbler Tag Submitting?

2006-11-29 Thread alter_sack

Hi,

i'm trying to submit genre tags to last.fm. 
The logfile says:

Scrobbler: Requesting TAG POST on URL:
http://ws.audioscrobbler.com/player/tag.php;
Scrobbler: Posting data: 
u=alter_sack7dtrack=Legendartist=Mike%20Oldfieldtag=New%20Age
Scrobbler: Session status for alter_sack:
Scrobbler:   Pending submissions / Max :  0 / 1
Scrobbler:   Background Submit Status: 0
Scrobbler:   Interval Countdown remaining / elapsed / original :
0.679766 / 0.320296 / 1
Scrobbler: ==handleTagSubmitResponse()
Scrobbler: Response From Tagging Request:
Scrobbler: ===handleTagSubmit()

But the genre tag didn't reach last.fm.

Who knows?


-- 
alter_sack

Squeezebox 3 - Via Epia EN15000 - SlimServer 6.5.1  - CEC DA 53 - Denon
PMA 2000AE - Tannoy D500
www.last.fm/user/alter_sack/

alter_sack's Profile: http://forums.slimdevices.com/member.php?userid=5491
View this thread: http://forums.slimdevices.com/showthread.php?t=30127

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


[SlimDevices: Plugins] Re: IRBlaster = WireBlaster?

2006-11-29 Thread Buz

Mark,

thank you for the hint! It basically works with my 8500, too. But I
noticed a few times that the receiver didn't power down when the SB
switches off. But sending the commands from the IR blaster settings
page works fine. Maybe it has something to do with the weather plug-in
that is activated when going to standby.

And I wonder if the IR blaster can be tweaked, so that a short press
switches only the SB on and off, and a long press also switches the
receiver.

Buz


-- 
Buz

SB3 wired an Mini-ITX VIA Epia ME-6000 lüfterlos

Buz's Profile: http://forums.slimdevices.com/member.php?userid=5595
View this thread: http://forums.slimdevices.com/showthread.php?t=26326

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


RE: [SlimDevices: Plugins] Audioscrobbler Tag Submitting?

2006-11-29 Thread Craig, James (IT)
Probably a problem with LastFM. 
Looks like the submission was received but no response was returned.
Either they didn't really accept it or it's been queued for later
processing. 

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


[SlimDevices: Plugins] Last FM caching of submissions

2006-11-29 Thread mattybain

Annoyingly my internet has been out of action for 1 week and is due to
be repaired tomorrow (fingers crossed). 

Are LastFm submissions cached until a connection is obtained or have I
lost the last weeks submissions?

I have realised just how dependent I am on the internet now to the
point where I was way more bothered about the loss of internet than the
loss of phone (and annoyingly due to legislation the phone was restored
within 6 hours) 

Thanks to James for developing this plugin it is amazing, if you
haven't used LastFM then you must as it is brilliant. I have discovered
so much new music since I joined.


-- 
mattybain

'[image:
http://imagegen.last.fm/recenttracks3/recenttracks/MattyBain.gif]'
(http://www.last.fm/user/MattyBain/?chartstyle=recenttracks3)

mattybain's Profile: http://forums.slimdevices.com/member.php?userid=44
View this thread: http://forums.slimdevices.com/showthread.php?t=30131

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


RE: [SlimDevices: Plugins] Last FM caching of submissions

2006-11-29 Thread Craig, James (IT)
Yes, they are. They're in a file somewhere... 

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


[SlimDevices: Plugins] Re: Announce: Custom Scan plugin

2006-11-29 Thread MillmoorRon

I briefly used the Custom Artist Tag template to browse my music tagged
as SINGLE (to differentiate them from albums)

1.9 worked almost as I would like, but on 1.10 it seems to have stopped
working at altogether.

On 1.9 it detects the tags and lists the relevant tracks by artists,
then by the custom tag but then it tries to list albums but there
aren't any so they all show as no album before finally showing the
tracks. Is it possible to skip the album part when browsing?

Also when pressing the add button (on the player not the web interface)
it adds all the tracks not just the selected one even though I have the
play only selected song setting enabled. Does this setting not affect
Custom Browse?

On 1.10 it list all the matching artist but then says No matching
songs, albums or artists were found! Is there something else I need to
change?


-- 
MillmoorRon

MillmoorRon's Profile: http://forums.slimdevices.com/member.php?userid=6413
View this thread: http://forums.slimdevices.com/showthread.php?t=29156

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


[SlimDevices: Plugins] Re: Audioscrobbler Tag Submitting?

2006-11-29 Thread alter_sack

hmm, but i have this problem for a few weeks now.


-- 
alter_sack

Squeezebox 3 - Via Epia EN15000 - SlimServer 6.5.1  - CEC DA 53 - Denon
PMA 2000AE - Tannoy D500
www.last.fm/user/alter_sack/

alter_sack's Profile: http://forums.slimdevices.com/member.php?userid=5491
View this thread: http://forums.slimdevices.com/showthread.php?t=30127

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


[SlimDevices: Plugins] Help needed on Wikiradio: can't parse wikiradio.opml

2006-11-29 Thread skyedog

I've installed wikiradio on my Ubuntu machine running Slimserver 6.5.

Wikiradio shows up fine on my Squeezebox, but when I select it, gives
me an error message: failed to parse file///wikiradio.opml.

I've checked permissions and execution rights for the whole slimserver
folder structure and user slimserver can access and execute
everything in sight.  I've not amended the wikiradio.sh file to specify
a location for the playlist folder.

I'm new to this, so I'm probably missing something obvious - but I've
looked around the forums and not seen any mention of this error
message.  Any suggestions?

Thanks


-- 
skyedog

skyedog's Profile: http://forums.slimdevices.com/member.php?userid=4014
View this thread: http://forums.slimdevices.com/showthread.php?t=30138

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


[SlimDevices: Plugins] Re: Audioscrobbler Tag Submitting?

2006-11-29 Thread alter_sack

yes it works until upgrading zo slimserver 6.5.1 from 6.3


-- 
alter_sack

Squeezebox 3 - Via Epia EN15000 - SlimServer 6.5.1  - CEC DA 53 - Denon
PMA 2000AE - Tannoy D500
www.last.fm/user/alter_sack/

alter_sack's Profile: http://forums.slimdevices.com/member.php?userid=5491
View this thread: http://forums.slimdevices.com/showthread.php?t=30127

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


RE: [SlimDevices: Plugins] Re: Audioscrobbler Tag Submitting?

2006-11-29 Thread Craig, James (IT)
And you upgraded the SlimScrobbler plugin at the same time?
I didn't think the versions that support 6.3 also supported tag
submission. 

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


[SlimDevices: Plugins] Alien BBC Plugin stops communicating

2006-11-29 Thread rodlogic

I have had Slimserver 6.51, Alien BBC 106, plus a SB3 and SoftSqueeze
working fine for 6 months. Suddenly the Alien BBC plugin seems to have
stopped talking to the slimserver/peripherals.
I have deleted the plugin and reloaded (stopping and starting the
server) and re-installed the plugin with the server off.
When the Mplayer tries to test the link it work faultlessly - and I can
run the test many times and it works fine.
I can connect via softsqueeze or sb3 to the squeezenetwork and play bbc
7 etc etc with no issues. It seems that the Alien BBC and slimserver
have somehow become disconnected . When I select alien BBC it tries to
connect, and the display shows exactly as it should expect there is no
sound and the display stays static (I have the level meter displayed)
Can anyone help me out - have I missed a file to delete - I really dont
want to uninstall the whole system as it seems to be OK apart from the
Alien BBC plugin - which worked until a few days ago .


-- 
rodlogic

rodlogic's Profile: http://forums.slimdevices.com/member.php?userid=8716
View this thread: http://forums.slimdevices.com/showthread.php?t=30139

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


[SlimDevices: Plugins] Re: Audioscrobbler Tag Submitting?

2006-11-29 Thread alter_sack

surly, it's 0.37.1 :-)


-- 
alter_sack

Squeezebox 3 - Via Epia EN15000 - SlimServer 6.5.1  - CEC DA 53 - Denon
PMA 2000AE - Tannoy D500
www.last.fm/user/alter_sack/

alter_sack's Profile: http://forums.slimdevices.com/member.php?userid=5491
View this thread: http://forums.slimdevices.com/showthread.php?t=30127

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


[SlimDevices: Plugins] Re: Audioscrobbler Tag Submitting?

2006-11-29 Thread MelonMonkey

Tags have never worked for me.  I've always run 6.5.1 with  the lasted
Audioscrobbler plugin.

Though in the past few days I'm questioning the usefulness of
scrobbling at all.  The Last.FM site is really bad.  Really really bad.

It has more bugs than Slimserver beta nightly releases and user data is
continuously getting lost or calculated wrong.  

Their developers also don't care about cleaning their databases nor
does the site's focus/goals center around giving its users much control
or configuration.  Lastly, don't get me started on their ghastly layout
and UI which is a nightmare to navigate.

Originally I had started scrobbling to be able to dump from last.FM to
my web site a list of recent plays.  They only have a really weak
method of doing this which lists only tracks and as an image.  They
have no concept of ALBUM from which tracks come, so I'm better off
trying to get a plugin for Slimserver to do this.  The other use was to
find new artists I might like based on my listening habits.  However
their algorithms for finding similar are so basic I was amazed at
some of the stuff they group together.  Plus when the site completely
wipes your neighbor lists, it makes it hard to follow even manually
what others are listening to.

Every problem I've ever seen so far with submitting info to Last.FM has
been the fault of Last.FM.  The Slim plugin does everything it should
(at least for track submission) but Last.FM's POST scrobbler server is
often down or otherwise refuses the data.  Then you'll get a mass
submission later in the day.


-- 
MelonMonkey

Bruno
*'Twisted Melon - Fine Mac OS Software' (http://twistedmelon.com) |
'mira - Personal Control for your Apple Remote'
(http://twistedmelon.com)*

MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=30127

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


[SlimDevices: Plugins] Re: Audioscrobbler Tag Submitting?

2006-11-29 Thread alter_sack

I don't think so.

Although there is some trouble with databases sometimes, the last.fm
crew fixes that everytime without the lost of data. and name me a
service comparable to last.fm, which is better.

i love it.


-- 
alter_sack

Squeezebox 3 - Via Epia EN15000 - SlimServer 6.5.1  - CEC DA 53 - Denon
PMA 2000AE - Tannoy D500
www.last.fm/user/alter_sack/

alter_sack's Profile: http://forums.slimdevices.com/member.php?userid=5491
View this thread: http://forums.slimdevices.com/showthread.php?t=30127

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


[SlimDevices: Plugins] Re: Announce: Custom Scan plugin

2006-11-29 Thread erland

MillmoorRon;158302 Wrote: 
 I briefly used the Custom Artist Tag template to browse my music tagged
 as SINGLE (to differentiate them from albums)
 
 1.9 worked almost as I would like, but on 1.10 it seems to have stopped
 working at altogether.
 
 On 1.9 it detects the tags and lists the relevant tracks by artists,
 then by the custom tag but then it tries to list albums but there
 aren't any so they all show as no album before finally showing the
 tracks. Is it possible to skip the album part when browsing?
I'm not sure what you try to accomplish here, but if you are looking
for a Singles menu you should use the Custom Tag Singles template
instead which probably would work as you like. Or are you looking for
something else than a menu that just shows singles ?

MillmoorRon;158302 Wrote: 
 Also when pressing the add button (on the player not the web interface)
 it adds all the tracks not just the selected one even though I have the
 play only selected song setting enabled. Does this setting not affect
 Custom Browse?The setting does not affect Custom Browse, but I will see if its
possible to change that or as an alternative add an option to the menu
template setting to make it possible to not play all tracks.

MillmoorRon;158302 Wrote: 
 On 1.10 it list all the matching artist but then says No matching
 songs, albums or artists were found! Is there something else I need to
 change?
Could you try to enable debugging in the Custom Browse settings page in
server settings and the browse to the menu so No matching songs, album
or artists appear. Then goto: http://localhost:9000/log.txt and post
or send me the last part of the log. Hopefully there should be some
error displayed at the end of the log.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-trackstat)
, 'SQLPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-sqlplaylist)
, 'DynamicPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-dynamicplaylist),
'Custom Browse'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-custombrowse),'Custom
Scan'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-customscan)
and 'RandomPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-randomplaylist)
plugins)

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

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


[SlimDevices: Plugins] Re: Alien BBC Plugin stops communicating

2006-11-29 Thread Triode

What platform?  For windows do you have slim.exe, socketwrapper.exe and
mplayer.exe allowed to communicate in your AV/firewall software?

Otherwise, could you enable d_source debugging and post the output when
you try to play something?


-- 
Triode

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

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


[SlimDevices: Plugins] Re: Announce: Custom Scan plugin

2006-11-29 Thread MillmoorRon

erland;158366 Wrote: 
 Could you try to enable debugging in the Custom Browse settings page in
 server settings and the browse to the menu so No matching songs, album
 or artists appear. Then goto: http://localhost:9000/log.txt and post or
 send me the last part of the log. Hopefully there should be some error
 displayed at the end of the log.

CustomBrowse: Preparing SQL: 
select
contributors.id,contributors.name,substr(contributors.namesort,1,1)
from contributors,tracks,contributor_track,customscan_track_attributes
where 
tracks.audio=1 and 
tracks.id=contributor_track.track and 

contributor_track.contributor=contributors.id and 
contributor_track.role in (1,5) and

tracks.id=customscan_track_attributes.track and

customscan_track_attributes.module='customtag' and

customscan_track_attributes.attr='SINGLE' 
group by contributors.id 
order by contributors.namesort asc

CustomBrowse: Executing: select
contributors.id,contributors.name,substr(contributors.namesort,1,1)
from contributors,tracks,contributor_track,customscan_track_attributes
where 
tracks.audio=1 and 
tracks.id=contributor_track.track and 

contributor_track.contributor=contributors.id and 
contributor_track.role in (1,5) and

tracks.id=customscan_track_attributes.track and

customscan_track_attributes.module='customtag' and

customscan_track_attributes.attr='SINGLE' 
group by contributors.id 
order by contributors.namesort asc
CustomBrowse: Executing and collecting: select
contributors.id,contributors.name,substr(contributors.namesort,1,1)
from contributors,tracks,contributor_track,customscan_track_attributes
where 
tracks.audio=1 and 
tracks.id=contributor_track.track and 

contributor_track.contributor=contributors.id and 
contributor_track.role in (1,5) and

tracks.id=customscan_track_attributes.track and

customscan_track_attributes.module='customtag' and

customscan_track_attributes.attr='SINGLE' 
group by contributors.id 
order by contributors.namesort asc
CustomBrowse: Preparing SQL: 
select
customscan_track_attributes.value,customscan_track_attributes.value
from customscan_track_attributes
join contributor_track on

contributor_track.track=customscan_track_attributes.track and
contributor_track.role in (1,5)
where

contributor_track.contributor={artist} and

customscan_track_attributes.module='customtag' and

customscan_track_attributes.attr='SINGLE'
group by 
customscan_track_attributes.value
order by
ifnull(customscan_track_attributes.valuesort,customscan_track_attributes.value)
asc

CustomBrowse: Executing: select
customscan_track_attributes.value,customscan_track_attributes.value
from customscan_track_attributes
join contributor_track on

contributor_track.track=customscan_track_attributes.track and
contributor_track.role in (1,5)
where

contributor_track.contributor=167 and

customscan_track_attributes.module='customtag' and

customscan_track_attributes.attr='SINGLE'
group by 
customscan_track_attributes.value

[SlimDevices: Plugins] Re: Announce: Custom Scan plugin

2006-11-29 Thread erland

Did you restart slimserver after upgrading to 1.10 ?
If not, could you restart it and if it helps, it looks like the
database table upgrade between 1.9 and 1.10 hasn't been executed and
this is done at startup.

If a restart doesn't help, startup slimserver and goto
http://localhost:9000/log.txt directly after it has started and post
the log.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-trackstat)
, 'SQLPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-sqlplaylist)
, 'DynamicPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-dynamicplaylist),
'Custom Browse'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-custombrowse),'Custom
Scan'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-customscan)
and 'RandomPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-randomplaylist)
plugins)

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

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


[SlimDevices: Plugins] Re: Announce: Custom Scan plugin

2006-11-29 Thread MillmoorRon

erland;158366 Wrote: 
 I'm not sure what you try to accomplish here, but if you are looking for
 a Singles menu you should use the Custom Tag Singles template
 instead which probably would work as you like. Or are you looking for
 something else than a menu that just shows singles ?

I used to have my singles (and respective b-sides etc) tagged with the
title of the single in the ALBUM field but I didn't want to have a list
of singles when I was browsing by album so I made the album field blank.
I did however want to keep this information so I put it in a custom tag
SINGLE. (I also have loads of odd songs that don't belong anywhere
which have both fields blank.) 

The Custom Tag Singles template goes straight into a list of songs
without first listing the singles to which they belong. I just modified
the Custom Artist Tag template to do what I want and (much to my
surprise) I think it actually works! I'm not sure whether my SQL is
correct but (so far so good) it does what I expect.

erland;158366 Wrote: 
 The setting does not affect Custom Browse, but I will see if its
 possible to change that or as an alternative add an option to the menu
 template setting to make it possible to not play all tracks.

Editing my custom file I noticed that when it gets down to track level
there is a

playtypeall/playtype

I removed this and now it plays just the selected track.

Is this OK to do or are there other implications I have yet to notice?


-- 
MillmoorRon

MillmoorRon's Profile: http://forums.slimdevices.com/member.php?userid=6413
View this thread: http://forums.slimdevices.com/showthread.php?t=29156

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


[SlimDevices: Plugins] Re: Announce: Custom Scan plugin

2006-11-29 Thread erland

MillmoorRon;158418 Wrote: 
 I used to have my singles (and respective b-sides etc) tagged with the
 title of the single in the ALBUM field but I didn't want to have a list
 of singles when I was browsing by album so I made the album field blank.
 I did however want to keep this information so I put it in a custom tag
 SINGLE. (I also have loads of odd songs that don't belong anywhere
 which have both fields blank.) 
 
 The Custom Tag Singles template goes straight into a list of songs
 without first listing the singles to which they belong. It makes sense to 
 have it as you have done, I think I will add that as
an option to the Custom Tag Singles template.
MillmoorRon;158418 Wrote: 
 Editing my custom file I noticed that when it gets down to track level
 there is a
 
 playtypeall/playtype
 
 I removed this and now it plays just the selected track.
 
 Is this OK to do or are there other implications I have yet to notice?Your 
 changes are correct, if the playtype all element exists it will
play all tracks, if it does not exist it will just play the selected
track.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
(Developer of 'TrackStat'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-trackstat)
, 'SQLPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-sqlplaylist)
, 'DynamicPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-dynamicplaylist),
'Custom Browse'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-custombrowse),'Custom
Scan'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-customscan)
and 'RandomPlayList'
(http://erland.homeip.net/download/do/viewapplication?name=slimserver-randomplaylist)
plugins)

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

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


[SlimDevices: Plugins] Re: Announce: Custom Scan plugin

2006-11-29 Thread MillmoorRon

erland;158410 Wrote: 
 Did you restart slimserver after upgrading to 1.10 ? If not, could you
 restart it and if it helps, it looks like the database table upgrade
 between 1.9 and 1.10 hasn't been executed and this is done at startup.

This seems to have sorted it!

erland;158423 Wrote: 
 It makes sense to have it as you have done, I think I will add that as
 an option to the Custom Tag Singles template.
 Your changes are correct, if the playtype all element exists it will
 play all tracks, if it does not exist it will just play the selected
 track.

Great.

Thanks again for your assistance!


-- 
MillmoorRon

MillmoorRon's Profile: http://forums.slimdevices.com/member.php?userid=6413
View this thread: http://forums.slimdevices.com/showthread.php?t=29156

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


[SlimDevices: Plugins] Attention Plugin Developers: API Changing / Discussion

2006-11-29 Thread Dan Sully

All - as part of the 7.0 goals, we want to change how SlimServer handles
Plugins, focusing on installation, loading, packaging  Settings.

A high level overview exists on the wiki:

http://wiki.slimdevices.com/index.cgi?SlimServer7Spec

I'd like to get a discussion going so we can start writing some code
and get this train moving. For some background, see
http://bugs.slimdevices.com/show_bug.cgi?id=4112

Goals:

* Improve the user experience of installing  configuring plugins.

* Versioning plugins to ensure SlimServer stability.



Strategies:

* Packaging of plugins:

- The model that Mozilla/Firefox has is the right one. Plugins come
as a single (zip) file, with some metadata which would allow SlimServer
to determine plugin compatility from not only a min  max version
number, but also a target platform if the plugin needs any binary
components.

- The actual plugin library code would be contained within a PAR file
(http://par.perl.org/) inside the first zip file, referenced by the
metadata file. This allows the bundling of extra libraries, both pure
perl  compiled in nature.

- As with the current structure, content such as HTML  images would
be contained in the top level zip file.


* Installation of plugins:

- Plugin packages will be installed via the WebUI, and will have the
following states:

- Needing Installation (requires SlimServer restart)
- Installed  Enabled
- Installed  Disabled
- Needing Uninstallation (requires SlimServer restart)

* Plugin Initialization:

Currently Slim::Utils::PluginManager calls
Plugin::YourPlugin::init(), and then looks for some well named
functions to add things like web pages, settings, screensavers.

That functionality is backwards. The plugin should actively register
any components that it has during the initialization.

* Plugin Settings / Options:

As part of the 7.0 work, the Server  Player Settings pages are being
overhauled. Previous to this, there was a giant (unmaintainable) hash
table in Slim::Web::Setup  awkward page building system.

7.0 is getting rid of all of that, and moving to a cleaner, HTML +
controller driven model. This allows flexibility for the designs of
settings pages, finer grained field validation and a nicer user
experience.

This will require changes to your plugins however, and will likely be
the hardest part of all this work.

Each plugin will have it's own settings page (drop down), which will
remove the clutter from the Plugins page.

The validation areas are still being worked out.

* Logging:

Already in the 7.0 codebase is Log::Log4perl, which is a fantastic,
fine grained logging system. The shipped SlimServer plugins show how
one can use it, this code will likely stay as-is. Please migrate from
the old msg()/errorMsg() code.

* SlimServer shipped plugins:

We'll be moving the plugins that we ship, such as the iTunes
importer, RSS reader, etc into the Slim/Plugins/ directory.

* What this change probably isn't.

Because of the flexible nature of perl, and the creativity of our
community we've never had a strict API in the you can only access
these methods sort of way. There has been some talk of defining a real
Public API that plugins can use. Unfortunately I think that is beyond
that scope of what I originally had in mind. However, if we can come up
with places in the SlimServer code where well documented hooks can be
called, I'm all for that. I'd love to see plugins register themselves
with SlimServer saying Please run me when you call hook
player.mainMenuList.

Which bleeds into changes I'd like to see such as bug:
http://bugs.slimdevices.com/show_bug.cgi?id=3997

Once we have things like that, providing hooks become much easier,
either through subclassing or different method resolution mechanisms
like C3 - http://search.cpan.org/dist/Class-C3/

At the same time that I want to limit what plugins can do in order to
maintain stability of the server, I don't want to stifle creativity. So
I'd love to talk about finding some middle ground.

* Backwards compatibility:

As a result of the packaging changes, and to some degree the Settings
changes, backwards compatibility with existing plugins as they are today
will not be maintained. At a minimum, the plugin will need to be
packaged with metadata and some initialization changes will need to be
made. Additionally, if your plugin makes use of web Settings, it will
need to be updated.
-

I'll be cross posting this in the Plugins  Developer forums, but would
really like to see the discussion happen in Developers.

Thanks


-- 
Dan Sully

Dan Sully's Profile: http://forums.slimdevices.com/member.php?userid=1
View this thread: http://forums.slimdevices.com/showthread.php?t=30148

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


[SlimDevices: Plugins] Re: Sirius Plugin Connects But No Sound - Help Please!

2006-11-29 Thread GoCubs

nojaggies;157136 Wrote: 
 I'm running SlimServer (v6.5.0) on Windows XP Pro SP2. It streams to my
 new SB3 (v64) over 802.11g (60%+).
 
 My initial installation (before adding 3rd party plugins) was painless
 and fast - I was up and running in 5 minutes (what a great product!).
 
 I installed SuperDateTime. It too came up without issue and was quite
 cool (kudos to Greg!).  Being able to customize stock values and
 weather formating was a big win.
 
 I then tried the Sirius plugin (v0.6.7). Before I ran the server with
 it, I visited the Sirius website and verified I could a) login and b)
 playback their streamed content via their webpage. I then setup the
 SlimServer with my credentials and increased the timeout (20 seconds).
 
 
 On the SB3, I was able to connect to Sirius, select a channel (e.g. by
 number), and get Now Playing to display the name of a song (I assume
 the one that was being streamed).  Unfortunately after hitting play
 the time count never got past (0:00) and the VU meters stayed flat.  I
 tried different channels and always got the same result.  
 
 Per the Known Issues, before I tried the plugin I unchecked the box
 for the line that covered Windows Media (built-in) and restarted the
 server.  I did not change any of the other three Windows Media line
 items.  Here are my Windows Media file type settings:
 
 [X] Windows Media, FLAC
 [ ] Windows Media, MP3
 [X] Windows Media, WAV
 [ ] Windows Media, Windows Media (build in)
 
 Was my setup correct?  Did I miss any steps?  Any suggestions for what
 to try next?
 
 Thanks!
 Jeff
 
 BTW, what are the semantics of the file type table?  Is there any
 documentation on it?  How do the 4 lines apply to different Windows
 Media formats?  E.g. my music library is ripped to WMA Lossless.  If I
 read the various threads correctly the server will transcode WMA
 lossless to FLAC before sending it to the SB3.  So I assume the first
 line applies somehow to that scenario.  But what about WMA9 lossy? 
 Does it become WAV?  Or is it sent natively? I assume that latter based
 on the high level marketing materials, but it's unclear to me how this
 policy is imposed and what role the table plays.  Any insight into this
 would be appreciated.

Sorry for the slow response, I was overseas and wasn't checking
postings.

Could you please enable -d_plugin debugging and post your debugging
output so I can see what's going on?  Also, what kind of system are you
running on (Winblows, Linux, MAC, etc)?

Regarding your question of how the file type stuff works, I'd recommend
posting a separate post with that question and you'll probably get some
good responses.  How the whole process works is grey to me as I've seen
some pretty random behavior based on some of the debugging posts people
have sent regarding the Sirius plugin...

-Greg


-- 
GoCubs

GoCubs's Profile: http://forums.slimdevices.com/member.php?userid=312
View this thread: http://forums.slimdevices.com/showthread.php?t=29989

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


[SlimDevices: Plugins] Re: Announce: Ashes edition Test Match Specialplugin

2006-11-29 Thread Chippy

Thanks Waldy. I've just downloaded - looking forward to tomorrow night
to try it out...

Not to sound ungrateful, but have you considered making your code
available for the SuperDateTime plugin? It's a great engine, and it's
nice to have the sports scores alternate with the time and weather
info.

Just a thought!

cheers
Chippy


-- 
Chippy

Chippy's Profile: http://forums.slimdevices.com/member.php?userid=247
View this thread: http://forums.slimdevices.com/showthread.php?t=29981

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


[SlimDevices: Plugins] Slimscrobbler crashing Slimserver

2006-11-29 Thread Jack Coates

Slimscrobbler 0.37.1, Slimserver 6.5.1 2006-11-13 nightly, all that is
logged is Not a SCALAR reference at
/usr/local/slimserver/Slim/Networking/Select.pm line 274 (regardless
of --d_plugins logging).

I know it's Slimscrobbler because removing Slimscrobbler makes it stop
happening :)
--
I spent all me tin with the ladies drinking gin,
So across the Western ocean I must wander -- traditional
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins


[SlimDevices: Plugins] Re: IRBlaster = WireBlaster?

2006-11-29 Thread Mark Lanctot

Buz;158267 Wrote: 
 thank you for the hint! It basically works with my 8500, too. But I
 noticed a few times that the receiver didn't power down when the SB
 switches off. But sending the commands from the IR blaster settings
 page works fine. Maybe it has something to do with the weather plug-in
 that is activated when going to standby.

Hmm, worked perfectly for me.  (Too perfectly, there are times I don't
want the receiver to power down when I switch off the Transporter, so I
disabled that part!)  But I don't use the Weather plugin.

The only issue I had was timing of the three commands: power on, switch
to Transporter input, V-Mute on.  If they're all done with the default
0.25 second delay, the V-Mute usually gets missed.  I just put in some
additional delay, works fine.

 And I wonder if the IR blaster can be tweaked, so that a short press
 switches only the SB on and off, and a long press also switches the
 receiver.

That'd be cool - as I indicated, there are times when I turn off the TP
I don't want to turn off the receiver.


-- 
Mark Lanctot

Mark Lanctot's Profile: http://forums.slimdevices.com/member.php?userid=2071
View this thread: http://forums.slimdevices.com/showthread.php?t=26326

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


[SlimDevices: Plugins] Re: Announce MC2Slim V1.3 now with Windows right click support.

2006-11-29 Thread Craig

MeSue;157905 Wrote: 
 
 
 Had to set up all my zones again in MC12, but it seems to be working
 again. If I use the sleep button on the remote now, will it send a stop
 command to MC on the PC when the SB turns off?.

Glad you got it working again, I guess you didn't notice the option to
let MC2Slim to set up the zones for you ;-)
I don't know about the stop/sleep command but I'll try to have a look
and see if I can add it if possible.


MeSue;157905 Wrote: 
 
 Maybe something you can work on for an update… Currently if you send
 music from MC2Slim, you lose whatever playlist was already going in
 SlimServer. It would be cool if you could have MC2Slim save the
 slimserver playlist before deleting it.
Good idea, I'll put that on the to-do list too

Craig


-- 
Craig

MC2Slim - Windows Shell and J River Media Center Integration for
Squeezebox.

http://www.duff-zapp.co.uk

Craig's Profile: http://forums.slimdevices.com/member.php?userid=96
View this thread: http://forums.slimdevices.com/showthread.php?t=29622

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


[SlimDevices: Plugins] Re: Announce MC2Slim V1.3 now with Windows right click support.

2006-11-29 Thread MeSue

I guess you didn't notice the option to let MC2Slim to set up the
zones for you 

heh… not until I had already done it.

I don't know about the stop/sleep command but I'll try to have a look
and see if I can add it if possible.

Now that I have used it a few nights, it looks like it does, and that's
exactly what I wanted. 

Keep up the great work!


-- 
MeSue

Sue

PS: I once wanted a Squeezebox boombox, but I don't anymore. ;-)

MeSue's Profile: http://forums.slimdevices.com/member.php?userid=985
View this thread: http://forums.slimdevices.com/showthread.php?t=29622

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


[SlimDevices: Plugins] Re: Announce: XMRadio v1.1.1 updated for SS 6.5

2006-11-29 Thread Joe Bob

Hey atlslim,

I have experienced this a couple of times myself, but have been unable
to reproduce it.  (I've only seen it twice and could not reproduce it
even with your detailed steps.)

I've updated the attachment in the original post which now includes
improved error handling in the retrieve station play URL code. 
Hopefully, this will solve the problem.

I've also updated the code that determines which client is logged into
XM.  This should prevent the already logged in through client...
problem from occurring.  This will at least provide a mechanism for
resetting the hanging client from the web interface (saving you from
having to bounce the server).

Also, am I correct in assuming that this version of the plugin works in
transcoding mode (since you're using it with an SB1)?  It would be nice
to know since I haven't been able to test this capability myself.

Let me know if these patches help at all.


-- 
Joe Bob

Joe Bob's Profile: http://forums.slimdevices.com/member.php?userid=7361
View this thread: http://forums.slimdevices.com/showthread.php?t=29867

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


[SlimDevices: Plugins] Re: Attention Plugin Developers: API Changing / Discussion

2006-11-29 Thread danco

Jut a quick note, as a user, that this means that 7.0 needs to come with
a warning to users. 

That is, users should be told PROMINENTLY that their current plugins
will *not* work with 7.0. Depending on how quickly developers produce
new versions of their plugins, that might be a reason for some people
not to upgrade.


-- 
danco

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

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


[SlimDevices: Plugins] Re: Audioscrobbler Tag Submitting?

2006-11-29 Thread James

OK, I agree that the tag submission no longer works. The submission is
accepted by LastFM, but no response is returned. 

It seems that the official player (now?) uses a different method to tag
files. 

I should be able to move to the new method in a 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=30127

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


[SlimDevices: Plugins] Re: Slimscrobbler crashing Slimserver

2006-11-29 Thread James

BTW please try a later version of 6.5.1. 
26/11/2006 works fine for me.

James


-- 
James

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

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