I think the Slim::Schema::Playlist appendTracks method got broken during
the merge from the noweb-sqlite branch.
The "TrackStat Playlist" plugin has earlier worked but now it fails
with the following error. I can also reproduce the problem by holding
Add on a Classic player in the Now Playing screen which moves the
current track to the zapped playlist and issues a call to the
appendTracks method.
Code:
--------------------
[09-08-01 11:38:37.6445] Slim::Schema::Storage::throw_exception (82)
Backtrace:
frame 0: Slim::Utils::Log::logBacktrace
(/media/disk2/squeezecenter/7.4/server/Slim/Schema/Storage.pm line 82)
frame 1: Slim::Schema::Storage::throw_exception
(/media/disk2/squeezecenter/7.4/server/CPAN/DBIx/Class/Storage/DBI.pm line 489)
frame 2: DBIx::Class::Storage::DBI::txn_do
(/media/disk2/squeezecenter/7.4/server/CPAN/DBIx/Class/Schema.pm line 633)
frame 3: DBIx::Class::Schema::txn_do
(/media/disk2/squeezecenter/7.4/server/Slim/Schema/Playlist.pm line 78)
frame 4: (eval)
(/media/disk2/squeezecenter/7.4/server/Slim/Schema/Playlist.pm line 77)
frame 5: Slim::Schema::Playlist::appendTracks
(/media/disk2/squeezecenter/7.4/server/Plugins/TrackStatPlaylist/Export.pm line
379)
frame 6: Plugins::TrackStatPlaylist::Export::addRatingToPlaylist
(/media/disk2/squeezecenter/7.4/server/Plugins/TrackStatPlaylist/Export.pm line
507)
frame 7: Plugins::TrackStatPlaylist::Export::exportRating
(/media/disk2/squeezecenter/7.4/server/Plugins/TrackStatPlaylist/Plugin.pm line
95)
frame 8: Plugins::TrackStatPlaylist::Plugin::setTrackStatRating
(/media/disk2/squeezecenter/7.4/server/Plugins/TrackStat/Plugin.pm line 4173)
frame 9: (eval)
(/media/disk2/squeezecenter/7.4/server/Plugins/TrackStat/Plugin.pm line 4173)
frame 10: Plugins::TrackStat::Plugin::rateSong
(/media/disk2/squeezecenter/7.4/server/Plugins/TrackStat/Plugin.pm line 4351)
frame 11: Plugins::TrackStat::Plugin::setCLIRating
(/media/disk2/squeezecenter/7.4/server/Slim/Control/Request.pm line 1907)
frame 12: (eval)
(/media/disk2/squeezecenter/7.4/server/Slim/Control/Request.pm line 1907)
frame 13: Slim::Control::Request::execute
(/media/disk2/squeezecenter/7.4/server/Slim/Web/JSONRPC.pm line 354)
frame 14: Slim::Web::JSONRPC::requestMethod
(/media/disk2/squeezecenter/7.4/server/Slim/Web/JSONRPC.pm line 201)
frame 15: (eval) (/media/disk2/squeezecenter/7.4/server/Slim/Web/JSONRPC.pm
line 201)
frame 16: Slim::Web::JSONRPC::handleURI
(/media/disk2/squeezecenter/7.4/server/Slim/Web/HTTP.pm line 484)
frame 17: Slim::Web::HTTP::processHTTP
(/media/disk2/squeezecenter/7.4/server/Slim/Networking/IO/Select.pm line 133)
frame 18: (eval)
(/media/disk2/squeezecenter/7.4/server/Slim/Networking/IO/Select.pm line 119)
frame 19: Slim::Networking::IO::Select::__ANON__
(/media/disk2/squeezecenter/7.4/server/Slim/Networking/IO/Select.pm line 177)
frame 20: (eval)
(/media/disk2/squeezecenter/7.4/server/Slim/Networking/IO/Select.pm line 177)
frame 21: Slim::Networking::IO::Select::loop
(/opt/squeezecenter74/slimserver.pl line 605)
frame 22: main::idle (/opt/squeezecenter74/slimserver.pl line 574)
frame 23: main::main (/opt/squeezecenter74/slimserver.pl line 1086)
[09-08-01 11:38:37.6457] Slim::Schema::Playlist::appendTracks (85) Error:
Failed to add tracks to playlist: [Carp::Clan::__ANON__(): Can't call method
"get_column" on an undefined value at
/media/disk2/squeezecenter/7.4/server/Slim/Schema/Playlist.pm line 66.
--------------------
--
erland
Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan, Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=66143
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta