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.
Results 1 to 10 of 25
Thread: Applying old patch to 7.3 code
-
2008-12-02, 12:08 #1Senior Member
- Join Date
- Dec 2006
- Posts
- 173
Applying old patch to 7.3 code
-
2008-12-02, 15:19 #2Senior 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?).
-
2008-12-02, 17:50 #3
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
-
2008-12-02, 23:54 #4
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.
-
2008-12-03, 06:57 #5Senior 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.
-
2008-12-03, 20:43 #6Senior Member
- Join Date
- Apr 2005
- Location
- Colorado
- Posts
- 10,073
-
2008-12-03, 21:49 #7Senior 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/
-
2008-12-03, 22:30 #8
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=9507Erland 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.
-
2008-12-04, 02:55 #9Senior Member
- Join Date
- Apr 2005
- Location
- Colorado
- Posts
- 10,073
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.
-
2008-12-04, 09:41 #10
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.

Reply With Quote

