Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 47062 Details for
Bug 73832
media-sound/slimserver-6.1.1 (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/slimserver-5.4.0--Shoutcast_recent_dir.patch
slimserver-5.4.0--Shoutcast_recent_dir.patch (text/plain), 1.33 KB, created by
TGL
on 2004-12-28 15:40:24 UTC
(
hide
)
Description:
files/slimserver-5.4.0--Shoutcast_recent_dir.patch
Filename:
MIME Type:
Creator:
TGL
Created:
2004-12-28 15:40:24 UTC
Size:
1.33 KB
patch
obsolete
>--- SlimServer_v5.4.0.orig/Plugins/ShoutcastBrowser.pm 2004-12-07 13:50:09.000000000 +0100 >+++ SlimServer_v5.4.0/Plugins/ShoutcastBrowser.pm 2004-12-10 13:26:58.528413544 +0100 >@@ -150,11 +150,14 @@ > my $all_name = ''; > my $sort_bitrate_up = 0; > >-my ($recent_name, $misc_genre, $position_of_recent); >+my ($recent_name, $recent_dir, $misc_genre, $position_of_recent); > my (%recent_filename, %recent_data); > my $recent_dirname = 'ShoutcastBrowser_Recently_Played'; >-my $recent_dir = catdir(Slim::Utils::Prefs::get('playlistdir'), $recent_dirname); >-mkdir $recent_dir unless (-d $recent_dir); >+ >+if (Slim::Utils::Prefs::get('playlistdir')) { >+ $recent_dir = catdir(Slim::Utils::Prefs::get('playlistdir'), $recent_dirname); >+ mkdir $recent_dir unless (-d $recent_dir); >+} > > my ($top_limit, $most_popular_name, $custom_genres, %custom_genres); > >@@ -344,9 +347,7 @@ > $recent_name = Slim::Utils::Strings::string('PLUGIN_SHOUTCASTBROWSER_RECENT'); > $most_popular_name = Slim::Utils::Strings::string('PLUGIN_SHOUTCASTBROWSER_MOST_POPULAR'); > $misc_genre= Slim::Utils::Strings::string('PLUGIN_SHOUTCASTBROWSER_MISC'); >- $recent_filename{$client} = >- catfile($recent_dir, >- $client->name() . '.m3u'); >+ $recent_filename{$client} = catfile($recent_dir,$client->name() . '.m3u') if defined $recent_dir; > > # Get streams > unless (@genres)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 73832
:
45556
|
45557
|
45558
|
45559
|
45560
|
45561
|
45563
|
45564
|
45565
|
45615
|
45616
|
45617
|
46428
|
46429
|
47062
|
51744
|
54408
|
65839
|
65841
|
65842
|
66443
|
66447
|
66448
|
66555
|
66955
|
67023
|
67024
|
67025
|
67026
|
67027
|
67028
|
67029
|
68486
|
68487
|
68488
|
68489
|
68490
|
69183
|
69184
|
69185
|
71769
|
71770
|
71771
|
71826
|
71827
|
71828
|
71829
|
73156
|
73157
|
73158
|
77289
|
77300
|
87174
|
87175
|
87176
|
87177
|
87178
|
90462
|
101321
|
101322
|
101323
|
101324
|
101325