Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    pmcdowell
    Guest

    slimp3slave startup on debian

    I'd like to set up my slimp3slave debian player up so that it just starts up
    automatically on boot. Its a home machine inside a firewall and security
    isn't really an issue.
    Has someone got a script or maybe point me at a general purpose howto.
    I'm a happy squeezebox user, this is just for another headless dumpster
    reclaimed player to synchronize with it.

  2. #2
    alexd
    Guest

    slimp3slave startup on debian

    On Thu, 2004-04-08 at 13:18 +1200, pmcdowell wrote:

    > I'd like to set up my slimp3slave debian player up so that it just starts up
    > automatically on boot. Its a home machine inside a firewall and security
    > isn't really an issue.
    > Has someone got a script or maybe point me at a general purpose howto.
    > I'm a happy squeezebox user, this is just for another headless dumpster
    > reclaimed player to synchronize with it.


    cat /etc/init.d/README

    alexd
    --
    http://ale.cx

  3. #3
    Junior Member
    Join Date
    May 2005
    Posts
    4

    Not really...

    slimp3slave has a segfault issue when it isn't foreground in a console. even backgrounding it causes a segfault... I think there's a memory allocation/access issue (from the segfault), but it's 900+ lines of code I'd rather not debug for a pointer error =/

    I ran it as a service, but it segfaults there too.

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,324

    Re: slimp3slave startup on debian

    > slimp3slave has a segfault issue when it isn't foreground in a
    > console.
    > even backgrounding it causes a segfault... I think there's a memory
    > allocation/access issue (from the segfault), but it's 900+ lines of
    > code I'd rather not debug for a pointer error =/


    Try v0.3 (latest is IMHO 0.4). The latter caused more problems for me, too. 0.3 doesn't offer the text based UI, but did its job of playing quite fine.

    http://www.ex-parrot.com/~pdw/slimp3...ave-0.3.tar.gz

    --

    Michael

    -----------------------------------------------------------
    Help translate SlimServer by using the
    SlimString Translation Helper (http://www.herger.net/slim/)
    Last edited by mherger; 2005-09-19 at 23:55.

  5. #5
    Junior Member
    Join Date
    Sep 2005
    Posts
    4
    If you are interested, I have managed to get this to work.

    I created a -b option (background) and changed one line in the code.

  6. #6
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,324

    Re: slimp3slave startup on debian

    > If you are interested, I have managed to get this to work.
    >
    > I created a -b option (background) and changed one line in the code.


    Yes please!

    --

    Michael

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

  7. #7
    Junior Member
    Join Date
    Sep 2005
    Posts
    4
    G'day all,

    Here is a patch to update your c code

    It works for me, no guarantee's it will work for you :-)

  8. #8
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,324

    Re: slimp3slave startup on debian

    > If you are interested, I have managed to get this to work.
    >
    > I created a -b option (background) and changed one line in the code.


    Excellent! Works like a charm. Thanks a lot!

    --

    Michael

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

  9. #9
    Junior Member
    Join Date
    May 2005
    Posts
    4
    Quote Originally Posted by stinga`
    If you are interested, I have managed to get this to work.

    I created a -b option (background) and changed one line in the code.
    I'd love to hear about this too!

  10. #10
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,324

    Re: slimp3slave startup on debian

    >> If you are interested, I have managed to get this to work.
    >> I created a -b option (background) and changed one line in the code.

    >
    > I'd love to hear about this too!


    I downloaded his patch, compiled and have it running since without a
    problem using the following command line:

    slimp3slave -b -s localhost

    --

    Michael

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

Posting Permissions

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