Re: [SlimDevices: Plugins] Help troubleshooting script/CLI interface.

2008-02-11 Thread ArtVandelay

Yeah, normally I keep my music library in neatly organized folders :), I
just wanted to make sure that the path didn't screw anything up by
containing spaces or whatever. So the file is in the root, and I've set
up Slimserver to use this as it's music dir (nothing much more on the
disk btw). 

Is there anything indicating that the path being sent is incorrect /
parsed incorrectly by SlimServer?

Thanks for your answer btw.

-Art


-- 
ArtVandelay

ArtVandelay's Profile: http://forums.slimdevices.com/member.php?userid=15041
View this thread: http://forums.slimdevices.com/showthread.php?t=43325

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


[SlimDevices: Plugins] Help troubleshooting script/CLI interface.

2008-02-10 Thread ArtVandelay

Hi.

First of all, I'm not sure this is the correct subforum, but it deals
with a 3rd part plugin so I surely hope so. :)

Anyways.. I'm trying to use SlimServer with MediaMonkey by way of a
script posted on the MM forums
(http://www.mediamonkey.com/forum/viewtopic.php?t=21124postdays=0postorder=ascstart=15).
However, as can be seen in the thread I can't get it to work..  What
happends is the path to the file is displayed on my SqueezeBox (so
something is communicated alright :) but nothing plays. And also, the
playlist is cleared, if I had any on the SB previously.

I've managed to get a log file from Slimserver and was hoping someone
could point me to where things go wrong, and how to remedy the
situation..?

Here is the log:


Code:

[08-02-10 22:09:35.2377] Slim::Plugin::CLI::Plugin::cli_socket_accept (239) 
Accepted connection from 192.168.1.6:3645 (1 active connections)
  [08-02-10 22:10:07.8747] Slim::Plugin::CLI::Plugin::cli_process (558) Request 
[mode] requires client, allocated 00:04:20:12:57:07
  [08-02-10 22:10:07.8750] Slim::Plugin::CLI::Plugin::cli_process (568) 
Processing request [mode]
  [08-02-10 22:10:07.8753] Slim::Plugin::CLI::Plugin::cli_process (602) 
Dispatching [mode]
  [08-02-10 22:10:07.8758] Slim::Control::Request::dump (2207) Request: Query 
[00:04:20:12:57:07-mode] from CLI  (Dispatchable)
  [08-02-10 22:10:07.8771] Slim::Plugin::CLI::Plugin::client_socket_write (437) 
192.168.1.6:3645 - Sending response [00%3A04%3A20%3A12%3A57%3A07 mode stop...]
  [08-02-10 22:10:07.8777] Slim::Plugin::CLI::Plugin::client_socket_write (463) 
Sent response to 192.168.1.6:3645
  [08-02-10 22:10:07.8795] Slim::Plugin::CLI::Plugin::cli_process (558) Request 
[playlist] requires client, allocated 00:04:20:12:57:07
  [08-02-10 22:10:07.8798] Slim::Plugin::CLI::Plugin::cli_process (568) 
Processing request [playlist]
  [08-02-10 22:10:07.8801] Slim::Plugin::CLI::Plugin::cli_process (602) 
Dispatching [playlist]
  [08-02-10 22:10:07.8805] Slim::Control::Request::dump (2207) Request: Command 
[00:04:20:12:57:07-playlist play] from CLI  (Dispatchable)
  [08-02-10 22:10:07.8808] Slim::Control::Request::dump (2211)Param: 
[_item] = [D:\test.mp3]
  [08-02-10 22:10:07.8813] Slim::Control::Commands::playlistXitemCommand (1038) 
cmd : play
  [08-02-10 22:10:07.8816] Slim::Control::Commands::playlistXitemCommand (1039) 
item: D:\test.mp3
  [08-02-10 22:10:07.8819] Slim::Control::Commands::playlistXitemCommand (1064) 
url: D:\test.mp3
  [08-02-10 22:10:07.8824] Slim::Control::Commands::playlistXitemCommand (1106) 
path: D:\test.mp3
  [08-02-10 22:10:07.8837] Slim::Control::Commands::playlistXitemCommand (1115) 
currentPlaylist:file:///D:/test.mp3
  [08-02-10 22:10:07.8841] Slim::Control::Commands::playlistXitemCommand (1151) 
jumpToIndex: 0
  [08-02-10 22:10:07.8938] Slim::Control::Request::notifyFromArray (774) 
(playlist cant_open D:\test.mp3 PLAYLIST_EMPTY)
  [08-02-10 22:10:07.8962] Slim::Control::Request::notifyFromArray (774) 
(playlist load_done)
  [08-02-10 22:10:07.8968] Slim::Control::Request::callback (1872) Callback 
disabled
  [08-02-10 22:10:07.9052] Slim::Control::Request::notifyFromArray (774) 
(prefset server currentSong )
  [08-02-10 22:10:07.9378] Slim::Plugin::CLI::Plugin::client_socket_write (437) 
192.168.1.6:3645 - Sending response [00%3A04%3A20%3A12%3A57%3A07 playlist play 
D%3A%5Ctest.mp3...]
  [08-02-10 22:10:07.9621] Slim::Plugin::CLI::Plugin::client_socket_write (463) 
Sent response to 192.168.1.6:3645
  [08-02-10 22:10:07.9735] Slim::Control::Request::notifyFromArray (774) 
(prefset server currentSong )
  [08-02-10 22:10:14.2251] Slim::Plugin::CLI::Plugin::cli_process (558) Request 
[pause] requires client, allocated 00:04:20:12:57:07
  [08-02-10 22:10:14.2264] Slim::Plugin::CLI::Plugin::cli_process (568) 
Processing request [pause]
  [08-02-10 22:10:14.2272] Slim::Plugin::CLI::Plugin::cli_process (602) 
Dispatching [pause]
  [08-02-10 22:10:14.2283] Slim::Control::Request::dump (2207) Request: Command 
[00:04:20:12:57:07-pause] from CLI  (Dispatchable)
  [08-02-10 22:10:14.2302] Slim::Control::Request::dump (2207) Request: Command 
[00:04:20:12:57:07-playlist jump] (Dispatchable)
  [08-02-10 22:10:14.2311] Slim::Control::Request::dump (2211)Param: 
[_index] = [0]
  [08-02-10 22:10:14.2376] Slim::Plugin::CLI::Plugin::client_socket_write (437) 
192.168.1.6:3645 - Sending response [00%3A04%3A20%3A12%3A57%3A07 pause...]
  [08-02-10 22:10:14.2386] Slim::Plugin::CLI::Plugin::client_socket_write (463) 
Sent response to 192.168.1.6:3645
  [08-02-10 22:10:14.2411] Slim::Control::Request::notifyFromArray (774) 
(prefset server currentSong )
  



From what I can gather (since I don't know programming and/or the 
Slimserver CLI interface, it's a bit tricky :) ), something goes wrong
here:
(playlist cant_open D:\test.mp3 PLAYLIST_EMPTY) .. but maybe there's
some error even earlier.

I would be very grateful for any help. Thanks in 

Re: [SlimDevices: Plugins] Help troubleshooting script/CLI interface.

2008-02-10 Thread Zaragon

Well I have no idea what the script is or does from MM but just looking
at your pick out of the error your asking Slimserver to play file
test.mp3 in the root of your D drive.

Since it would be bad practice to have all tracks in the root of any
drive under windows I either have to assume this is just a single test
track or the file isn't really in the root directory.

I suspect the script in MM is passing command line commands to the
slimserver. You would need to ensure that the path to the file that it
sends is the path as the server sees it.


-- 
Zaragon

Zaragon's Profile: http://forums.slimdevices.com/member.php?userid=14577
View this thread: http://forums.slimdevices.com/showthread.php?t=43325

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