Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Member BKDotCom's Avatar
    Join Date
    Apr 2005
    Location
    Jenks, OK
    Posts
    57

    CLI on windows box?

    SlimServer 6.0.2

    Telneting to localhost 9090 times out...
    (I've confirmed that this is the port in the settings)

    And from the command line itself?
    slimserver --stdio
    starts GUI

    slimserver.exe players 0 2
    I get an alert box:
    Slimserver:
    "c:\program files\slimserver\players was not found"

    What on earth am I doing wrong?

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    18,932

    CLI on windows box?

    > Telneting to localhost 9090 times out...
    > (I've confirmed that this is the port in the settings)


    How do you connect? Be sure _not_ to put a colon between localhost and the
    port number ("telnet localhost 9090").

    --

    Michael

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


  3. #3
    Member BKDotCom's Avatar
    Join Date
    Apr 2005
    Location
    Jenks, OK
    Posts
    57
    Quote Originally Posted by mherger
    > Telneting to localhost 9090 times out...
    > (I've confirmed that this is the port in the settings)

    How do you connect? Be sure _not_ to put a colon between localhost and the port number ("telnet localhost 9090").
    Correct. Using space (not colon). Actually used the PuTTY telnet client first where port is in a separate field from the host.

  4. #4
    Member BKDotCom's Avatar
    Join Date
    Apr 2005
    Location
    Jenks, OK
    Posts
    57
    Quote Originally Posted by BKDotCom
    SlimServer 6.0.2

    Telneting to localhost 9090 times out...
    (I've confirmed that this is the port in the settings)

    (Snip)

    What on earth am I doing wrong?
    The documentation is wrong?
    Telnet does not work, however opening a raw connection to the port does get me in.

  5. #5
    Senior Member
    Join Date
    Apr 2005
    Location
    Minnesnowta, USA
    Posts
    117
    > Telnet does not work, however opening a raw connection to the
    > port does get me in.

    That doesn't make any sense.

    open up a console window (aka "dos window").
    type this command:
    telnet localhost 9090

    it'll look like nothing's happening, but as long as you don't get a response back like "connection refused", that means it's connected. If you're using the windows telnet client, hit Ctrl+] followed by quit to close the session.

  6. #6
    Member BKDotCom's Avatar
    Join Date
    Apr 2005
    Location
    Jenks, OK
    Posts
    57
    OK... I get the bonehead of the day award.
    I swear it wasn't connecting earlier..
    and with my latest attempts I simply saw the "connecting to ....."
    message and assumed it never connected....

    But, in the meantime, I have managed to write a nifty PHP script that grabs my current winamp playlist (via the httpQ winamp plugin). All tracks that have a "mapping" on my slimserver (and URLs) are then enqueued on the slim (via web interface right now)....

    How if only I knew how to write a winamp plugin...

  7. #7
    Senior Member Philip Meyer's Avatar
    Join Date
    Apr 2005
    Location
    UK
    Posts
    5,568

    Re: CLI on windows box?

    I have tried to connect using the MS Windows cmd prompt telnet command.

    When I do "telnet localhost 9090", I get a blank window with flashing cursor. If I type anything, such as "login" or "version", the telnet session just exits back to a standard DOS prompt without any output.

    Am I doing something wrong?

    Thanks,
    Phil


  8. #8
    Karl
    Guest

    Re: CLI on windows box?

    Try player ? and press enter

    It will tell you how many players you have

    Player id 0 ? 'enter' or 1 etc will tell you the mac address of the player


    If you then type the mac address play 'enter' it will play

    Note the mac address that it gives you back %3a = :

    Any more info just ask - Trying to update the crestron module at the minute
    that uses all these commands

    -----Original Message-----
    From: discuss-bounces (AT) lists (DOT) slimdevices.com
    [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Philip Meyer
    Sent: 16 June 2005 20:19
    To: Slim Devices Discussion
    Subject: Re: [slim] Re: CLI on windows box?

    I have tried to connect using the MS Windows cmd prompt telnet command.

    When I do "telnet localhost 9090", I get a blank window with flashing
    cursor. If I type anything, such as "login" or "version", the telnet
    session just exits back to a standard DOS prompt without any output.

    Am I doing something wrong?

    Thanks,
    Phil


  9. #9
    Senior Member
    Join Date
    Apr 2005
    Location
    Minnesnowta, USA
    Posts
    117
    Quote Originally Posted by Philip Meyer
    I have tried to connect using the MS Windows cmd prompt telnet command.

    When I do "telnet localhost 9090", I get a blank window with flashing cursor. If I type anything, such as "login" or "version", the telnet session just exits back to a standard DOS prompt without any output.

    Am I doing something wrong?
    Phil
    Nope. You're connected, but you need to speak (well, type) in the proper dialect of slimserver command-line-interface. ;-)

    Point your webbrowser at your slimserver config (presumably http://localhost:9000, then at the bottom of the page, you'll see a "Help" section, choose the "Technical Information" section. Next choose the "Slim Server Command Line Interface", for a lengthy discussion of how the CLI works.

  10. #10
    Senior Member Philip Meyer's Avatar
    Join Date
    Apr 2005
    Location
    UK
    Posts
    5,568

    Re: CLI on windows box?

    >Nope. You're connected, but you need to speak (well, type) in the
    >proper dialect of slimserver command-line-interface. ;-)
    >
    >Point your webbrowser at your slimserver config (presumably
    >http://localhost:9000, then at the bottom of the page, you'll see a
    >"Help" section, choose the "Technical Information" section. Next
    >choose the "Slim Server Command Line Interface", for a lengthy
    >discussion of how the CLI works.
    >

    I was reading the help page via Help -> Technical Information -> The SlimServer Command Line Interface.

    The first command I saw listed, was "login" which I assumed I would need to use, as I do use username/password protection. It didn't work. I tried a few other commands, but all had the same result - returning blank.

    However, I just tried again, with "login <user> <pass>" and got back an echo of my username and ******.

    I *think* I might have misread and typed "logon" instead of "login" previously

    Phil


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •