dsully | 1 Feb 01:00 2006

[Slim-Checkins] r5995 - in /trunk/server: Slim/Utils/PluginManager.pm slimserver.pl

Author: dsully
Date: Tue Jan 31 16:00:35 2006
New Revision: 5995

URL: http://svn.slimdevices.com?rev=5995&view=rev
Log:
Bug: N/A
Description: Update  <at> INC handling:

* Remove all our paths when attempting to load a module from the system paths.

* Put additional Plugin paths directly onto  <at> INC. use and not require.

Modified:
    trunk/server/Slim/Utils/PluginManager.pm
    trunk/server/slimserver.pl

Modified: trunk/server/Slim/Utils/PluginManager.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Utils/PluginManager.pm?rev=5995&r1=5994&r2=5995&view=diff
==============================================================================
--- trunk/server/Slim/Utils/PluginManager.pm (original)
+++ trunk/server/Slim/Utils/PluginManager.pm Tue Jan 31 16:00:35 2006
 <at>  <at>  -31,12 +31,12  <at>  <at> 
 my %playerplugins = ();
 my %brokenplugins = ();

-BEGIN {
+INIT: {

 	 <at> pluginDirs = Slim::Utils::OSDetect::dirsFor('Plugins');
(Continue reading)

kdf | 1 Feb 03:26 2006

[Slim-Checkins] r5996 - /trunk/server/Plugins/RandomPlay/Plugin.pm

Author: kdf
Date: Tue Jan 31 18:26:01 2006
New Revision: 5996

URL: http://svn.slimdevices.com?rev=5996&view=rev
Log:
Bug: n/a
Description: tweak a debug message to be a bit less alarming :)

Modified:
    trunk/server/Plugins/RandomPlay/Plugin.pm

Modified: trunk/server/Plugins/RandomPlay/Plugin.pm
URL: http://svn.slimdevices.com/trunk/server/Plugins/RandomPlay/Plugin.pm?rev=5996&r1=5995&r2=5996&view=diff
==============================================================================
--- trunk/server/Plugins/RandomPlay/Plugin.pm (original)
+++ trunk/server/Plugins/RandomPlay/Plugin.pm Tue Jan 31 18:26:01 2006
 <at>  <at>  -508,8 +508,7  <at>  <at> 
 	if (!defined $client || !defined $type{$client}) {

 		if ($::d_plugins) {
-			msg("RandomPlay: No client!\n");
-			bt();
+			msg("RandomPlay: no client or mix to process.\n");
 		}
 		return;
 	}
kdf | 1 Feb 03:45 2006

[Slim-Checkins] r5997 - in /trunk/server/HTML/Fishbone: cmdwrappers html/scripts.js index.html pageheader.html status_header.html

Author: kdf
Date: Tue Jan 31 18:45:48 2006
New Revision: 5997

URL: http://svn.slimdevices.com?rev=5997&view=rev
Log:
Bug: N/A
Description: a few fishbone fixes
	- update trackinfo so that loading jumps playlist render to current song
	- update player saving cookie handlers

Modified:
    trunk/server/HTML/Fishbone/cmdwrappers
    trunk/server/HTML/Fishbone/html/scripts.js
    trunk/server/HTML/Fishbone/index.html
    trunk/server/HTML/Fishbone/pageheader.html
    trunk/server/HTML/Fishbone/status_header.html

Modified: trunk/server/HTML/Fishbone/cmdwrappers
URL: http://svn.slimdevices.com/trunk/server/HTML/Fishbone/cmdwrappers?rev=5997&r1=5996&r2=5997&view=diff
==============================================================================
--- trunk/server/HTML/Fishbone/cmdwrappers (original)
+++ trunk/server/HTML/Fishbone/cmdwrappers Tue Jan 31 18:45:48 2006
 <at>  <at>  -140,6 +140,9  <at>  <at> 
 [% END %]

 [% BLOCK trackinfo %]
+	[% IF item.currentsong %]
+		<a name="currentsong"></a>
+	[% END %]
(Continue reading)

fred | 1 Feb 04:06 2006

[Slim-Checkins] r5998 - in /trunk/server: HTML/EN/html/docs/cli-api.html Plugins/CLI.pm Plugins/RPC.pm Plugins/RadioIO/HTML/EN/plugins/RadioIO/index.html Plugins/RadioIO/Plugin.pm Plugins/RandomPlay/Plugin.pm Slim/Control/Queries.pm Slim/Control/Request.pm

Author: fred
Date: Tue Jan 31 19:05:49 2006
New Revision: 5998

URL: http://svn.slimdevices.com?rev=5998&view=rev
Log:
Bug: N/A
Description:

* Added CLI can function to check for availability of a command. This is
  useful for plugins commands: the caller can check the command availability

* Changed CLI functions to go through Request.pm whenever convenient

* Started work on having radioio support commands, mainly for CLI usage. This
  is still WIP as there seems to be some problems with radioio tonight.
  Nevertheless, radioio.stations and radioio.stationinfo kinda work from
  the CLI. The big question is where is this documented?

* Updates to the CLI docs for 'can' and minor other things

* Changed radioio parameter to its "songinfo" page to something else than
  p0, this was having us go through execute for nothing

* Moved Queries::_normalize to Request::normalize since it starts to be used
  all over the place.

* Completely silenced RandomPlay with its "no client!" messages.

Modified:
(Continue reading)

kdf | 1 Feb 11:18 2006

[Slim-Checkins] r6000 - /trunk/server/Slim/Web/Pages/EditPlaylist.pm

Author: kdf
Date: Wed Feb  1 02:18:04 2006
New Revision: 6000

URL: http://svn.slimdevices.com?rev=6000&view=rev
Log:
Bug: N/A
Description: still missed one more playlist param that needed to be fixed. 

Modified:
    trunk/server/Slim/Web/Pages/EditPlaylist.pm

Modified: trunk/server/Slim/Web/Pages/EditPlaylist.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Web/Pages/EditPlaylist.pm?rev=6000&r1=5999&r2=6000&view=diff
==============================================================================
--- trunk/server/Slim/Web/Pages/EditPlaylist.pm (original)
+++ trunk/server/Slim/Web/Pages/EditPlaylist.pm Wed Feb  1 02:18:04 2006
 <at>  <at>  -217,7 +217,7  <at>  <at> 
 	$params->{'level'}     = 0;

 	my $ds          = Slim::Music::Info::getCurrentDataStore();
-	my $playlistObj = $ds->objectForId('track', $params->{'id'});
+	my $playlistObj = $ds->objectForId('track', $params->{'playlist'});

 	if (blessed($playlistObj) && $playlistObj->can('id') && $params->{'newname'}) {

fm | 1 Feb 19:13 2006

[Slim-Checkins] r6001 - /branches/BRANCH_6_2_x/server/Slim/Networking/Slimproto.pm

Author: fm
Date: Wed Feb  1 10:12:59 2006
New Revision: 6001

URL: http://svn.slimdevices.com?rev=6001&view=rev
Log:
Added IR Learning functionality

Modified:
    branches/BRANCH_6_2_x/server/Slim/Networking/Slimproto.pm

Modified: branches/BRANCH_6_2_x/server/Slim/Networking/Slimproto.pm
URL: http://svn.slimdevices.com/branches/BRANCH_6_2_x/server/Slim/Networking/Slimproto.pm?rev=6001&r1=6000&r2=6001&view=diff
==============================================================================
--- branches/BRANCH_6_2_x/server/Slim/Networking/Slimproto.pm (original)
+++ branches/BRANCH_6_2_x/server/Slim/Networking/Slimproto.pm Wed Feb  1 10:12:59 2006
 <at>  <at>  -40,11 +40,22  <at>  <at> 
 our %status;

 our %callbacks;
+our %callbacksRAWI;

 sub setEventCallback {
 	my $event	= shift;
 	my $funcptr = shift;
 	$callbacks{$event} = $funcptr;
+}
+
+sub setCallbackRAWI {
+	my $callbackRef = shift;
(Continue reading)

max | 1 Feb 21:10 2006

[Slim-Checkins] r6002 - /trunk/server/Plugins/RandomPlay/Plugin.pm

Author: max
Date: Wed Feb  1 12:10:12 2006
New Revision: 6002

URL: http://svn.slimdevices.com?rev=6002&view=rev
Log:
Changed RandomPlay to not play tracks/albums etc more than once in a mix.  Bug #2551

Modified:
    trunk/server/Plugins/RandomPlay/Plugin.pm

Modified: trunk/server/Plugins/RandomPlay/Plugin.pm
URL: http://svn.slimdevices.com/trunk/server/Plugins/RandomPlay/Plugin.pm?rev=6002&r1=6001&r2=6002&view=diff
==============================================================================
--- trunk/server/Plugins/RandomPlay/Plugin.pm (original)
+++ trunk/server/Plugins/RandomPlay/Plugin.pm Wed Feb  1 12:10:12 2006
 <at>  <at>  -21,9 +21,8  <at>  <at> 
 use Slim::Utils::Strings qw(string);

 my %stopcommands = ();
-
-# Random play type for each client
-my %type         = ();
+# Information on each clients random mix
+my %mixInfo      = ();
 # Display text for each mix type
 my %displayText  = ();
 # Genres for each client (don't access this directly - use getGenres())
 <at>  <at>  -187,7 +186,7  <at>  <at> 
 	$::d_plugins && msg("RandomPlay: playRandom called with type $type\n");
(Continue reading)

max | 1 Feb 22:47 2006

[Slim-Checkins] r6003 - /trunk/server/Plugins/RandomPlay/Plugin.pm

Author: max
Date: Wed Feb  1 13:47:43 2006
New Revision: 6003

URL: http://svn.slimdevices.com?rev=6003&view=rev
Log:
Stored startTime before adding first tracks rather than after.

Modified:
    trunk/server/Plugins/RandomPlay/Plugin.pm

Modified: trunk/server/Plugins/RandomPlay/Plugin.pm
URL: http://svn.slimdevices.com/trunk/server/Plugins/RandomPlay/Plugin.pm?rev=6003&r1=6002&r2=6003&view=diff
==============================================================================
--- trunk/server/Plugins/RandomPlay/Plugin.pm (original)
+++ trunk/server/Plugins/RandomPlay/Plugin.pm Wed Feb  1 13:47:43 2006
 <at>  <at>  -191,6 +191,12  <at>  <at> 
 	# Whether to keep adding tracks after generating the initial playlist
 	my $continuousMode = Slim::Utils::Prefs::get('plugin_random_keep_adding_tracks');;
 	
+	# If this is a new mix, store the start time
+	my $startTime = undef;
+	if ($continuousMode && $mixInfo{$client}->{'type'} ne $type) {
+		$startTime = time();
+	}
+
 	my $songIndex = Slim::Player::Source::streamingSongIndex($client);
 	my $songsRemaining = Slim::Player::Playlist::count($client) - $songIndex - 1;
 	$::d_plugins && msg("RandomPlay: $songsRemaining songs remaining, songIndex = $songIndex\n");
 <at>  <at>  -313,12 +319,13  <at>  <at> 
(Continue reading)

dsully | 2 Feb 01:28 2006

[Slim-Checkins] r6006 - in /trunk: platforms/debian/control server/Slim/Utils/OSDetect.pm server/Slim/Utils/PluginManager.pm server/slimserver.pl

Author: dsully
Date: Wed Feb  1 16:28:53 2006
New Revision: 6006

URL: http://svn.slimdevices.com?rev=6006&view=rev
Log:
Bug: N/A
Description: Debian / Ubuntu updates:

* Depend on libgd-gd2-perl OR libgd-gd2-noxpm-perl

* Include /usr/share/slimserver/lib in the  <at> INC path.

* Change INIT: {} to INIT {} in PluginManager, as it was causing issues.

Modified:
    trunk/platforms/debian/control
    trunk/server/Slim/Utils/OSDetect.pm
    trunk/server/Slim/Utils/PluginManager.pm
    trunk/server/slimserver.pl

Modified: trunk/platforms/debian/control
URL: http://svn.slimdevices.com/trunk/platforms/debian/control?rev=6006&r1=6005&r2=6006&view=diff
==============================================================================
--- trunk/platforms/debian/control (original)
+++ trunk/platforms/debian/control Wed Feb  1 16:28:53 2006
 <at>  <at>  -12,7 +12,7  <at>  <at> 
  libclass-accessor-chained-perl, libclass-data-inheritable-perl,
  libclass-trigger-perl, libclass-virtual-perl, libclass-whitehole-perl,
  libcompress-zlib-perl, libtimedate-perl, libdbd-sqlite3-perl (>= 1.11-1),
(Continue reading)

dsully | 2 Feb 01:52 2006

[Slim-Checkins] r6007 - in /branches/split-scanner: ./ HTML/EN/html/docs/ HTML/Fishbone/ HTML/Fishbone/html/ Plugins/ Plugins/RadioIO/ Plugins/RadioIO/HTML/EN/plugins/RadioIO/ Plugins/RandomPlay/ Slim/Buttons/ Slim/Control/ Slim/DataStores/ Slim/DataStores/DBI/ Slim/Player/ Slim/Utils/ Slim/Web/Pages/

Author: dsully
Date: Wed Feb  1 16:51:09 2006
New Revision: 6007

URL: http://svn.slimdevices.com?rev=6007&view=rev
Log:
 r9855 <at> wibble (orig r5973):  fred | 2006-01-30 17:10:10 -0800
 Bug: 2787
 Description: indicate source of RandomPlay commands so we can recognize
 and ignores the one we sent.
 Also use ERROR for the wrong CLI login
 
 
 r9857 <at> wibble (orig r5975):  dsully | 2006-01-30 17:18:17 -0800
 Bug: N/A
 Description: We need to load Win32 before using it.
 r9861 <at> wibble (orig r5979):  kdf | 2006-01-30 20:55:52 -0800
 Bug: 28981
 Description: check playmode when changing repeat setting.  playout modes need to change to playout-play for repeat 1, 2 and playout-stop for repeat 0
 
 
 r9862 <at> wibble (orig r5980):  kdf | 2006-01-30 23:41:30 -0800
 Bug: N/A
 Description: a couple of code comments
 
 
 r9866 <at> wibble (orig r5984):  andy | 2006-01-31 09:34:42 -0800
 Fix TrackInfo to display the first line using Slim::Music::Info::getCurrentTitle instead of standardTitle
 r9870 <at> wibble (orig r5988):  mherger | 2006-01-31 11:28:57 -0800
 Bug: N/A
(Continue reading)


Gmane