Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logitechmediaserver-bin 8.2.0 version #13

Open
antonellocaroli opened this issue Jun 23, 2021 · 1 comment
Open

logitechmediaserver-bin 8.2.0 version #13

antonellocaroli opened this issue Jun 23, 2021 · 1 comment

Comments

@antonellocaroli
Copy link

Hi,

I was trying to adapt your ebuild, I'm no expert, to install version 8.2.0

But for some reason I can't apply the patches:
uuid-gentoo.patch
client-playlists-gentoo.patch

do you have any solution for this?

@antonellocaroli
Copy link
Author

I think I solved it this way:

--- slimserver.pl	2012-05-29 13:43:52.000000000 +0100
+++ slimserver.pl	2012-04-01 22:00:00.000000000 +0100
@@ -471,8 +471,9 @@

 	# Generate a UUID for this SC instance on first-run
 	if ( !$prefs->get('server_uuid') ) {
-		require UUID::Tiny;
-		$prefs->set( server_uuid => UUID::Tiny::create_UUID_as_string( UUID::Tiny::UUID_V4() ) );
+		require Data::UUID;
+		my $ug = new Data::UUID;
+		$prefs->set( server_uuid => lc $ug->create_str() );
 	}

 	main::INFOLOG && $log->info("Server binary search path init...");
--- a/Slim/Player/Playlist.pm	2012-05-29 13:43:52.000000000 +0100
+++ b/Slim/Player/Playlist.pm	2012-05-29 13:43:52.000000000 +0100
@@ -1124,7 +1124,7 @@
 	$id =~ s/://g;

 	return Slim::Utils::Misc::fileURLFromPath(
-		catfile(scalar Slim::Utils::OSDetect::dirsFor('prefs'), "clientplaylist_$id.m3u")
+		catfile(scalar Slim::Utils::OSDetect::dirsFor('ClientPlaylists'), "clientplaylist_$id.m3u")
 	);
 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant