PDA

View Full Version : [Slim-Checkins] r4128 -trunk/server/Plugins/RandomPlay



Steve Bernard, Jr
2005-08-30, 17:15
On 8/30/05, dsully (AT) svn (DOT) slimdevices.com <dsully (AT) svn (DOT) slimdevices.com> wrote:
> Author: dsully
> Date: 2005-08-30 16:53:04 -0700 (Tue, 30 Aug 2005)
> New Revision: 4128
>
> Modified:
> trunk/server/Plugins/RandomPlay/Plugin.pm
> Log:
> Bug: N/A
> Description: Updates to the Random Mix plugin per Dean's request.
>
> *) Just start playing tracks for the web link.
>
> *) Remove 'artist' & 'album' modes from the PlayerUI, as Tracks are the only
> useful things to randomize - keep it simple.

Just for the record, I've been using KDF's random plugin to have the
Squeezebox randomly serve up a single random album from the Player UI
for several weeks and have liked that functionality a lot.

Not that I can't just still use that plugin, or roll back this one,
but it is something I find useful.

-Steve

kdf
2005-08-30, 17:22
Quoting "Steve Bernard, Jr" <sbernardjr (AT) gmail (DOT) com>:

> Just for the record, I've been using KDF's random plugin to have the
> Squeezebox randomly serve up a single random album from the Player UI
> for several weeks and have liked that functionality a lot.

I guess this is intended to be much like the situation for the alarm.
Slimserver providing a basic function, leaving more advanced features for
plugins. I dont think the plugin is currently capable of co-habiting with the
new RandomPlay included plugin (I think strings overlap), but given the
differences, I guess its not too hard to make sure they can still live
together, or even work in conjunction.

-kdf

mherger
2005-08-30, 21:23
Dan,

> Description: Updates to the Random Mix plugin per Dean's request.

The plugin crashes immediately when selecting it from the player's plugin
menu:

2005-08-31 06:15:39.9151 Backtrace:

frame 0: Slim::Buttons::Common::pushMode
(D:/eclipse/SVN/Slim/Buttons/Common.pm line 1086)
frame 1: Slim::Buttons::Common::pushModeLeft
(D:/eclipse/SVN/Slim/Buttons/Home.pm line 392)
frame 2: Slim::Buttons::Home::homeExitHandler
(D:/eclipse/SVN/Slim/Buttons/Input/List.pm line 307)
frame 3: Slim::Buttons::Input::List::exitInput
(D:/eclipse/SVN/Slim/Buttons/Input/List.pm line 65)
frame 4: Slim::Buttons::Input::List::__ANON__
(D:/eclipse/SVN/Slim/Hardware/IR.pm line 662)
frame 5: Slim::Hardware::IR::executeButton
(D:/eclipse/SVN/Slim/Control/Command.pm line 239)
frame 6: Slim::Control::Command::execute
(D:/eclipse/SVN/Slim/Player/Client.pm line 984)
frame 7: Slim::Player::Client::execute
(D:/eclipse/SVN/Slim/Hardware/IR.pm line 675)
frame 8: Slim::Hardware::IR::processCode
(D:/eclipse/SVN/Slim/Hardware/IR.pm line 493)
frame 9: Slim::Hardware::IR::processIR
(D:/eclipse/SVN/Slim/Control/Command.pm line 239)
frame 10: Slim::Control::Command::execute
(D:/eclipse/SVN/Slim/Player/Client.pm line 984)
frame 11: Slim::Player::Client::execute
(D:/eclipse/SVN/Slim/Hardware/IR.pm line 88)
frame 12: Slim::Hardware::IR::idle (slimserver.pl line 615)
frame 13: main::idle (slimserver.pl line 581)
frame 14: main::main (slimserver.pl line 1187)

2005-08-31 06:15:39.9182 Crashing because 'PLUGIN.RandomPlay::Plugin' has
no mode function. Perhaps you mis-typed the mode name.
Can't use string ("") as a subroutine ref while "strict refs" in use at
D:/eclipse/SVN/Slim/Buttons/Common.pm line 1029.

> *) Just start playing tracks for the web link.

Does it still need to display the playlist in the left panel? Doesn't make
much sense to have it side by side with the actual playlist.

> *) Remove 'artist' & 'album' modes from the PlayerUI, as Tracks are the
> only useful things to randomize - keep it simple.

I like it that way. I never used the other mode options (artist or album).

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

Dan Sully
2005-08-30, 21:41
* Michael Herger shaped the electrons to say...

>2005-08-31 06:15:39.9182 Crashing because 'PLUGIN.RandomPlay::Plugin' has
>no mode function. Perhaps you mis-typed the mode name.
>Can't use string ("") as a subroutine ref while "strict refs" in use at
>D:/eclipse/SVN/Slim/Buttons/Common.pm line 1029.

I'll fix this.

>>*) Just start playing tracks for the web link.
>
>Does it still need to display the playlist in the left panel? Doesn't make
>much sense to have it side by side with the actual playlist.

No - it just creates a playlist and starts playing.

I'd really like to tell the right panel to update however.

>>*) Remove 'artist' & 'album' modes from the PlayerUI, as Tracks are the
>>only useful things to randomize - keep it simple.
>
>I like it that way. I never used the other mode options (artist or album).

Yep!

-D
--
( ( ( [ ] ) ) )
In Stereo Where
Available