Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Added missing UUID patch
- Loading branch information
1 parent
10a6641
commit 4e75f4c
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- slimserver.pl.old 2010-03-29 08:00:44.231656524 +0100 | ||
+++ slimserver.pl 2010-03-29 08:16:20.000000000 +0100 | ||
@@ -391,8 +391,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("Squeezebox Server binary search path init..."); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- slimserver.pl.old 2010-03-29 08:00:44.231656524 +0100 | ||
+++ slimserver.pl 2010-03-29 08:16:20.000000000 +0100 | ||
@@ -391,8 +391,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("Squeezebox Server binary search path init..."); |