Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Senior Member
    Join Date
    Dec 2006
    Posts
    173

    Applying old patch to 7.3 code

    I may be forced to go with 7.2 or newer because I really want a Boom. I have stayed with 6.5.4 because I manually went in and applied the patch to allow the squeezebox to sort albums by year (I know the server software can already do this, I am talking about it doing it on the squeezebox). I did this by manually editing the 4-5 perl files that needed changing.
    http://bugs.slimdevices.com/show_bug.cgi?id=112

    The latest patch for that bug was written around 7.0 I think. Has the code changed so much from 7.0 to 7.3 that I wouldn't be able to manually edit the perl files and find the proper location and insert the patch code? I really don't want to go back to having albums sorted alphabetically.

  2. #2
    Senior Member
    Join Date
    Dec 2006
    Posts
    173
    I looked through the files that have to be changed for this patch and 7.2.2 still have all of those files and I was able to find the location where the changes should be made. But with 7.3 all of those files are gone. So it looks like I am stuck with 7.2.2 (but squeezeplay will only work with 7.3 right?).

  3. #3
    Senior Member funkstar's Avatar
    Join Date
    Nov 2005
    Location
    Scotland
    Posts
    4,067
    Quote Originally Posted by lemmy999 View Post
    I looked through the files that have to be changed for this patch and 7.2.2 still have all of those files and I was able to find the location where the changes should be made. But with 7.3 all of those files are gone. So it looks like I am stuck with 7.2.2 (but squeezeplay will only work with 7.3 right?).
    Correct.

    I would guess the reason those files are gone is to do with the complete re-write of the streaming architecture in 7.3.

    See the Wiki for details: http://wiki.slimdevices.com/index.ph..._new-streaming

  4. #4
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,317
    The files still exists in 7.3 but they aren't installed on Windows if you install with the exe distribution. I think you will need to download the zip or tgz distribution instead to get all the perl files which can be patched. In the exe distributions the perl code is compiled into a squeezecenter.exe file and can't be patched.

    I suspect you will be able to download and install the exe and then just take the contents of the "Slim" directory from the zip distribution. After patching, you will need to run it through ActiveState perl, it won't work if you run it from the tray icon or through squeezecenter.exe.
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  5. #5
    Senior Member
    Join Date
    Dec 2006
    Posts
    173
    Currently I have 6.5.4 and I used the .exe to install and all of the perl files were there. I patched the perl files and then used srvany and perl to run my slimserver as a service using the patched files. But with 7.3 I looked in the .zip file and those files weren't in there anywhere. They were in the 7.2.2 .zip file though.

  6. #6
    Senior Member
    Join Date
    Apr 2005
    Location
    Colorado
    Posts
    10,073
    Quote Originally Posted by lemmy999 View Post
    Currently I have 6.5.4 and I used the .exe to install and all of the perl files were there. I patched the perl files and then used srvany and perl to run my slimserver as a service using the patched files. But with 7.3 I looked in the .zip file and those files weren't in there anywhere. They were in the 7.2.2 .zip file though.
    I just took a look at the latest patch posted to the bug report and all the files referenced are in my 7.3 installation. You may be able to apply the changes by hand. Or make a request in the original bug report asking for an updated patch against SC 7.3.

  7. #7
    Senior Member
    Join Date
    Dec 2006
    Posts
    173
    I have applied the patch to the latest 7.2.2 (24134) and it works great. however I downloaded the latest 7.3 (24187) in .zip format and unzipped it and those files or directories aren't included. The files you need to change are:

    Slim/Utils/Prefs.pm
    Slim/Schema/ResultSet/Contributor.pm
    Slim/Web/Settings/Server/UserInterface.pm
    HTML/EN/settings/server/interface.html
    strings.txt
    Slim/Control/Queries.pm

    when I look in the directory /Slim directory there is only a plugin directory and a text file called "DO NOT INSTALL YOUR PLUGINS HERE.txt" So this means 4 of the 6 files are not there. I even did a search for those 4 files and nothing came up. Where are you getting your 7.3? I am getting mine as a .zip file here:

    http://downloads.slimdevices.com/nightly/latest/7.3/

  8. #8
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,317
    Quote Originally Posted by lemmy999 View Post
    when I look in the directory /Slim directory there is only a plugin directory and a text file called "DO NOT INSTALL YOUR PLUGINS HERE.txt" So this means 4 of the 6 files are not there. I even did a search for those 4 files and nothing came up. Where are you getting your 7.3? I am getting mine as a .zip file here:

    http://downloads.slimdevices.com/nightly/latest/7.3/
    For some reason the source code isn't delivered with the Windows distribution anymore. The only way to get a full source code installation on Windows at the moment seems to be to retrieve the code with svn.

    If you don't want to bother with svn, you can probably download the tgz Linux distribution and copy the Contents from its "Slim" directory to your current Windows installation. I'm not completely sure this will be enough though, because the CPAN and lib directories also seems to be missing on Windows and these contain binary files. You can try to also copy the CPAN and lib directory but I'm pretty sure the CPAN and lib directories from the tgz package won't work on Windows.

    Retrieving SqueezeCenter with svn is probably the easiest way in the end. You might need to compile some perl modules manually, there is a perl script in the Bin directory called build-perl-modules.pl that should take care of this.

    The reason the source code no longer is delivered with the Windows distribution can probably be found in this bug report:
    http://bugs.slimdevices.com/show_bug.cgi?id=9507
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  9. #9
    Senior Member
    Join Date
    Apr 2005
    Location
    Colorado
    Posts
    10,073
    Quote Originally Posted by lemmy999 View Post
    I have applied the patch to the latest 7.2.2 (24134) and it works great. however I downloaded the latest 7.3 (24187) in .zip format and unzipped it and those files or directories aren't included.
    Ok, I just downloaded the zip file and you're right. It looks like it's just the Windows EXE without the installer. Not that you or I or anyone else could tell that from the worthless nightlies download page and the minimal information listed there about files available on the page.

  10. #10
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,317
    Apparently the idea is that you should use the svn version if you like to modify the code on Windows with 7.3 or later.

    So, you will have to:
    1. Download a svn tool, for example TortoiseSVN
    2. Perform a SVN Checkout with the url: http://svn.slimdevices.com/7.3/trunk/server
    3. Apply the patch
    4. Launch SqueezeCenter with ActiveState perl or some other perl implementation.

    All modules should already be compiled for Windows, so you shouldn't have to use the build-perl-modules.pl script which I mentioned in my previous post.
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

Posting Permissions

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