Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Robin Bowes
    Guest

    Use SVN to track latest slimserver code

    Hi,

    For sometime it's bugged me that people download nightly builds to get
    the latest slimserver code. It's such a waste of bandwidth.

    On linux, it's relatively easy to use svn to get the latest updates, but
    on Windows I can see it's more of a problem.

    Not any more.

    I've written an article [1] and copied it onto the Slim Wiki [2]
    describing how to checkout the latest code from the svn repository and
    to install slimserver.pl as a Windows service.

    [1] http://robinbowes.com/article.php/20050921223540880
    [2] http://wiki.slimdevices.com/index.cg...TrunkAsService

    Go on, give it a try.

    R.
    --
    http://robinbowes.com

    If a man speaks in a forest,
    and his wife's not there,
    is he still wrong?


  2. #2
    Senior Member
    Join Date
    May 2005
    Location
    In a house
    Posts
    1,785
    Seems like streaming radio and flac over the internet is a much larger "waste" of bandwidth!
    Last edited by MrC; 2005-09-22 at 10:16.

  3. #3
    Robin Bowes
    Guest

    Use SVN to track latest slimserver code

    MrC wrote:
    > Seems like streaming radio and flac over the internet is a much large
    > "waste" of bandwidth!




    Actually, it's not just bandwidth. It really bugs me that folk go to all
    sorts of extremes automatically downloading the latest nightly every
    night when it's really easy to use svn.

    No excuse now!

    R.
    --
    http://robinbowes.com

    If a man speaks in a forest,
    and his wife's not there,
    is he still wrong?


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

    Re: Use SVN to track latest slimserver code

    > Seems like streaming radio and flac over the internet is a much large
    > "waste" of bandwidth!


    But it's much more fun than waiting for that 10MB archive! :-)

    --

    Michael

    -----------------------------------------------------------
    Help translate SlimServer by using the
    SlimString Translation Helper (http://www.herger.net/slim/)


  5. #5
    Senior Member max.spicer's Avatar
    Join Date
    Apr 2005
    Location
    York, United Kingdom
    Posts
    1,661
    Do you not need to restart the service after updating?

    Max

    Quote Originally Posted by Robin Bowes
    Hi,

    For sometime it's bugged me that people download nightly builds to get
    the latest slimserver code. It's such a waste of bandwidth.

    On linux, it's relatively easy to use svn to get the latest updates, but
    on Windows I can see it's more of a problem.

    Not any more.

    I've written an article [1] and copied it onto the Slim Wiki [2]
    describing how to checkout the latest code from the svn repository and
    to install slimserver.pl as a Windows service.

    [1] http://robinbowes.com/article.php/20050921223540880
    [2] http://wiki.slimdevices.com/index.cg...TrunkAsService

    Go on, give it a try.

    R.
    --
    http://robinbowes.com

    If a man speaks in a forest,
    and his wife's not there,
    is he still wrong?
    Some people think the title of this song is irrelevant,
    but it's not irrelevant - it's a hippopotamus.

  6. #6
    Senior Member
    Join Date
    Jul 2005
    Location
    Wake Forest, NC
    Posts
    133
    Robin, is this going to install SlimTray as well or just Slimserver as a service? I frequently use the start/stop slimserver from the tray. Would the new procedure be to use a cmd prompt and type "net start slimserver" (as you wrote) or "net stop slimserver"?

  7. #7
    Robin Bowes
    Guest

    Use SVN to track latest slimserver code

    max.spicer wrote:
    > Do you not need to restart the service after updating?


    Yes. I'll amend the articles to make that clear.

    R.
    --
    http://robinbowes.com

    If a man speaks in a forest,
    and his wife's not there,
    is he still wrong?


  8. #8
    Robin Bowes
    Guest

    Use SVN to track latest slimserver code

    Dave D wrote:
    > Robin, is this going to install SlimTray as well or just Slimserver as a
    > service? I frequently use the start/stop slimserver from the tray.
    > Would the new procedure be to use a cmd prompt and type "net start
    > slimserver" (as you wrote) or "net stop slimserver"?


    This just installs Slimserver. I can't test it at the moment, but I
    suspect you just need to run "perl -w platforms/win32/SlimTray.pl" to
    get the SlimTray app running.

    One thing I did note is that SlimTray looks for a service called
    "slimsvc" not "slimserver" so you would need to either:

    a. create the service with the name slimsvc instead of slimserver
    b. modify SlimTray.pl to use the service named "slimserver".

    I think the optimal solution would be to use slimsvc as the service name
    and for SlimTray.pl to be modified to take the name of the service as a
    command-line option, using slimsvc as the default.

    The procedure to start/stop the service would be to either use the GUI
    service manager tool or, as you say, to use a cmd prompt:

    Start service: net start slimserver
    Stop service: net stop slimserver

    R.
    --
    http://robinbowes.com

    If a man speaks in a forest,
    and his wife's not there,
    is he still wrong?


  9. #9
    Senior Member
    Join Date
    May 2005
    Location
    In a house
    Posts
    1,785
    Quote Originally Posted by mherger
    > Seems like streaming radio and flac over the internet is a much large
    > "waste" of bandwidth!


    But it's much more fun than waiting for that 10MB archive! :-)
    Ah, so true. So while I'm waiting the 10 seconds for that download, I'm having fun listing to my streaming music as well!

    I was just ribbing RB at the optimization, which I thought was a fine one. It was nice that RB took the time to help out.

    Personally, I think the next step down the optimization path would be automatically generated patches that can be applied to the existing installation (like those on kernel.org). With this, only the patch would need to be downloaded, others would not need to learn and configure subversion. To me, optimization for Users means point, click, and NO thinking/learning. Its the latter part that many optimizations neglect.

  10. #10
    Robin Bowes
    Guest

    Use SVN to track latest slimserver code

    Robin Bowes said the following on 22/09/2005 13:01:
    > Dave D wrote:
    >
    >> Robin, is this going to install SlimTray as well or just Slimserver as a
    >> service? I frequently use the start/stop slimserver from the tray.
    >> Would the new procedure be to use a cmd prompt and type "net start
    >> slimserver" (as you wrote) or "net stop slimserver"?

    >
    >
    > This just installs Slimserver. I can't test it at the moment, but I
    > suspect you just need to run "perl -w platforms/win32/SlimTray.pl" to
    > get the SlimTray app running.


    OK, I've looked into this. It's not as easy as that.

    The easiest way to get SlimTray running is to download one of the
    nightlies and install it. Then, stop the slimsvc, remove it, and follow
    the instructions to install from svn.

    So, from the command-line, that's;

    net stop slimsvc
    sc delete slimsvc
    >
    > One thing I did note is that SlimTray looks for a service called
    > "slimsvc" not "slimserver" so you would need to either:
    >
    > a. create the service with the name slimsvc instead of slimserver
    > b. modify SlimTray.pl to use the service named "slimserver".
    >
    > I think the optimal solution would be to use slimsvc as the service name
    > and for SlimTray.pl to be modified to take the name of the service as a
    > command-line option, using slimsvc as the default.


    Again, it's not as simple as that. I've change the instructions to use
    "slimsvc" instead of "slimserver" as the service name to allow the
    service to be controlled by SlimTray.

    R.
    --
    http://robinbowes.com

    If a man speaks in a forest,
    and his wife's not there,
    is he still wrong?


Posting Permissions

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