Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 5 123 ... LastLast
Results 1 to 10 of 46
  1. #1
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,530

    Upcoming changes to download sites:bye, bye Debian and yum repos

    Don't panic! But there are a few changes coming. We're about to change
    our CDN provider. This was an opportunity to review the various hosts
    and download sites we have.

    downloads.slimdevices.com should be available as before. We'll probably
    have to tweak the caching behaviour for the nightlies. So please let me
    know should you see outdate or otherwise confusing results when trying
    to get the latest nightly builds.

    update.slimdevices.com has always been really static (ip3k firmware).
    This should not change from existing behaviour.

    debian.slimdevices.com - while I had tried to keep this working, I've
    seen a lot of complaints about incorrect checksums and/or file sizes
    etc. It must have been broken for years. Therefore I think it's time to
    say goodbye to this old friend. It's easy enough to install a .deb file.

    repos.slimdevices.com (yum): I didn't even know we had a yum
    repository... And it has not been updated in years. It's a good
    opportunity to say goodbye for good. Nobody will miss it.

    These changes should be mostly transparent to you. If not, then please
    let me know. And no, this is not a sign of the inevitable. It's only an
    attempt to consolidate our networking infrastructure. And yes, save a
    few bucks here and there, of course.

    --

    Michael

  2. #2
    Member
    Join Date
    Feb 2015
    Location
    Salzburg / Austria
    Posts
    88
    I think not many used the debian repo anyway since 7.9 wasn't in there..
    By the way is there any script to get the newest nightly from the server? Or do i always have to look what the latest filename is to download it?

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

    Upcoming changes to download

    > I think not many used the debian repo anyway since 7.9 wasn't in there..

    ....and the others didn't work reliably.

    > By the way is there any script to get the newest nightly from the
    > server? Or do i always have to look what the latest filename is to
    > download it?


    http://downloads.slimdevices.com/nightly/?ver=7.9 - should be easy
    enough to write a shell script to parse that output for your needs.

    --

    Michael

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

    Upcoming changes to download

    > By the way is there any script to get the newest nightly from the
    > server? Or do i always have to look what the latest filename is to
    > download it?


    Oh, I totally forgot the url LMS itself is using to check whether it's
    got an update:

    http://www.mysqueezebox.com/update/?...eturl=1&os=deb

    version: obviously the LMS version you're using

    revision: its revision. If you set it to 1, then you'll always get the
    url for the latest build, no matter whether you've got it installed
    already or not.

    os: the flavour of installer you want
    (deb/rpm/win/whs/osx/readynas/readynaspro/readynasarm/src/nocpan). The
    latter two would give you the url for the tarball with and without the
    CPAN binaries.

    geturl: must be set to 1, or you'd get 1 or 0 at best, depending on
    whether there was an update or not available.

    --

    Michael

  5. #5
    what stands in the way of getting the server into the debian repos as an "official" package? i would much rather have LMS simply be updated along with the rest of my OS. it might not be the latest, but my needs from LMS are reasonably simple. (i'm still running 7.8)

    paul

  6. #6
    Senior Member
    Join Date
    Sep 2005
    Posts
    2,854
    Quote Originally Posted by mherger View Post

    > By the way is there any script to get the newest nightly from the
    > server? Or do i always have to look what the latest filename is to
    > download it?


    http://downloads.slimdevices.com/nightly/?ver=7.9 - should be easy
    enough to write a shell script to parse that output for your needs.

    --

    Michael
    That my Idea how to change eg. init.d/logitechmediaserver:
    (but adding this feature in a file thats also updated Michael had to support that idea)
    adding @row 107

    Code:
    d_update() {
            latest_lms=$(wget -q -O - "http://www.mysqueezebox.com/update/?version=7.9.0&revision=1&geturl=1&
            lms_deb=$(echo $latest_lms|cut -d "/" -f8)
            lms_new_Version=$(echo $lms_deb |cut -d "_" -f2)
            installed_lms=$(dpkg-query -W -f '${status} ${package} ${version}\n'|grep logitech |cut -d " " -f
            if [ ! $lms_new_Version = $installed_lms ]
                    then
                    echo 'Update Logitechmediaserver $installed_lms to $lms_newVersion'
                    mkdir -p /sources
                    cd /sources
                    wget $latest_lms
                    dpkg -i /sources/$lms_deb
            else
                    echo "you already installed the latest Version $lms_new_Version"
            fi
    }
    and adding /changing the case to this
    Code:
      update)
            d_stop
            d_update
            d_start 
            ;;      
      *)
            # echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
            echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|update}" >&2
            exit 1
            ;;
    Last edited by DJanGo; 2015-07-02 at 14:54. Reason: added "dont do nothing if not needed" ;-p

  7. #7
    Senior Member
    Join Date
    Sep 2005
    Posts
    2,854
    Quote Originally Posted by DJanGo View Post
    That my Idea how to change eg. init.d/logitechmediaserver:
    (but adding this feature in a file thats also updated Michael had to support that idea)
    Hmm after i run my own script the init.d/logitechmediaserver is still "my" Version
    But i have to improve that (eg dont update if old and new are the same)

    What did you think Michael ?

  8. #8
    Senior Member lrossouw's Avatar
    Join Date
    Jan 2006
    Location
    Cape Town, South Africa
    Posts
    1,034
    Just removed the debian repo form my sources.list.
    Did have lots of error over the last couple of months though.
    Going to miss the convenience though.
    Louis
    Last.fm

  9. #9
    Member
    Join Date
    Feb 2015
    Location
    Salzburg / Austria
    Posts
    88
    Quote Originally Posted by DJanGo View Post
    That my Idea how to change eg. init.d/logitechmediaserver:
    (but adding this feature in a file thats also updated Michael had to support that idea)
    adding @row 107

    Code:
    d_update() {
            latest_lms=$(wget -q -O - "http://www.mysqueezebox.com/update/?version=7.9.0&revision=1&geturl=1&
            lms_deb=$(echo $latest_lms|cut -d "/" -f8)
            lms_new_Version=$(echo $lms_deb |cut -d "_" -f2)
            installed_lms=$(dpkg-query -W -f '${status} ${package} ${version}\n'|grep logitech |cut -d " " -f
            if [ ! $lms_new_Version = $installed_lms ]
                    then
                    echo 'Update Logitechmediaserver $installed_lms to $lms_newVersion'
                    mkdir -p /sources
                    cd /sources
                    wget $latest_lms
                    dpkg -i /sources/$lms_deb
            else
                    echo "you already installed the latest Version $lms_new_Version"
            fi
    }
    and adding /changing the case to this
    Code:
      update)
            d_stop
            d_update
            d_start 
            ;;      
      *)
            # echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
            echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|update}" >&2
            exit 1
            ;;
    +1 on that
    Quote Originally Posted by mherger View Post
    > By the way is there any script to get the newest nightly from the
    > server? Or do i always have to look what the latest filename is to
    > download it?


    Oh, I totally forgot the url LMS itself is using to check whether it's
    got an update:

    http://www.mysqueezebox.com/update/?...eturl=1&os=deb

    version: obviously the LMS version you're using

    revision: its revision. If you set it to 1, then you'll always get the
    url for the latest build, no matter whether you've got it installed
    already or not.

    os: the flavour of installer you want
    (deb/rpm/win/whs/osx/readynas/readynaspro/readynasarm/src/nocpan). The
    latter two would give you the url for the tarball with and without the
    CPAN binaries.

    geturl: must be set to 1, or you'd get 1 or 0 at best, depending on
    whether there was an update or not available.

    --

    Michael
    Hehe to late now i already made a script with the download page (:

  10. #10
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,530
    On Windows and OS X LMS would automatically check for updates and download the installers (optionally). Is this something we should enable on Debian and RedHat, too?
    Michael

    "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
    (LMS: Settings/Information)

Posting Permissions

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