15 lines
524 B
Diff
15 lines
524 B
Diff
|
--- a/slimserver.pl 2015-08-16 16:39:04.469868701 +0100
|
||
|
+++ b/slimserver.pl 2015-08-16 16:39:04.469868701 +0100
|
||
|
@@ -440,8 +440,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...");
|