Skip to content

Commit

Permalink
Merge branch 'public/9.0' into public/9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelherger committed Dec 23, 2024
2 parents 3654af4 + ec65e75 commit 12a81f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Slim/Plugin/Podcast/ProtocolHandler.pm
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ sub scanUrl {
my $track = shift;

if ($track) {
# XXXX - this doesn't really belong here. But somewhere down the scanUrl() rabbit hole
# we seem to convert %21 with !. Which breaks some podcast URLs. And I don't want
# to open that can of worms right now. - mh
if (new URI($track->url)->path =~ /!/ && new URI($httpUrl)->path !~ /!/) {
my $uri = $track->url;
$uri =~ s/!/%21/g;
$track->url($uri);
}

main::INFOLOG && $log->info("Scanned podcast $url => ", $track->url, " from ($startTime) for title: ", $song->track->title);

# use the scanned track to get streamable url, ignore scanned title and coverart
Expand Down
2 changes: 1 addition & 1 deletion Slim/Utils/Firmware.pm
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ and custom.$model.bin in the cachedir. If these exist then these are used in pr
sub init_firmware_download {
my $model = shift;

return if $model eq 'squeezeplay'; # there is no firmware for the desktop version of squeezeplay!
return if $model =~ /squeeze(?:play|lite)/i; # there is no firmware for the desktop version of squeezeplay!

my $version_file = catdir( $updatesDir, "$model.version" );

Expand Down

0 comments on commit 12a81f4

Please sign in to comment.