michaelherger / Spotty-Plugin

A Spotify plugin for the Lyrion Music Server (fka. Logitech Media Server) and Squeezebox compatible players
104 stars 20 forks source link

Spotify can't play specifc track #94

Open steffenheyne opened 10 months ago

steffenheyne commented 10 months ago

My Spotty / Spotify is working fine. However I cannot play some podcast tracks. In the LMS log I found this:

[23-08-28 17:53:49.7692] Plugins::Spotty::OPML::episodesList (1421) This episode might need inspection: do {
  my $a = {
    album => {},
    audio_preview_url => undef,
    description => "Karl May habe die Vorurteile seiner Zeit geteilt, sich aber ein Leben lang bem\xFCht, diese zu \xFCberwinden, sagt Florian Schleburg. Der Vorsitzende der Karl-May-Gesellschaft spricht \xFCber kulturelle Aneignung und Rassismus.",
    duration_ms => 1_487_958,
    explicit => bless(do{\(my $o = 0)}, "JSON::XS::Boolean"),
    html_description => "

Nach einem Sturm der Entr\xFCstung im Internet hatte der Ravensburger Verlag im Sommer 2022 ein Begleitbuch zum Film "Der junge H\xE4uptling Winnetou" vom Markt genommen. Der Vorwurf im Netz: Film und Buch w\xFCrden rassistische Stereotype verbreiten. Seitdem wird diskutiert, wie Karl Mays Winnetou-Geschichten heute zu vermitteln sind.

Florian Schleburg, Vorsitzender der Karl-May-Gesellschaft, begr\xFC\xDFt diese Debatte, auch wenn er den Autor gr\xFCndlich missverstanden sieht. Karl May habe als Autor des 19. Jahrhunderts die Vorurteile und Wertvorstellungen seiner Zeit geteilt, er habe sich aber auch sein Leben lang bem\xFCht, sich \xFCber diese Vorurteile emporzuarbeiten, sagt Schleburg. Er sieht Karl May gar als Vorl\xE4ufer heutiger Antidiskriminierungsbewegungen.
",
    id => "6PMyGL6FHG2KPs42g433K6",
    image => "https://i.scdn.co/image/ab6765630000ba8a84e08e7cdb8bc66557bd3400",
    is_externally_hosted => bless(do{\(my $o = 1)}, "JSON::XS::Boolean"),
    is_playable => 'fix',
    language => "de-DE",
    languages => ["de-DE"],
    name => "Wie vermittelt man heute Karl May und Winnetou? | Der Philologe Florian Schleburg im Gespr\xE4ch mit Tino Dallmann",
    release_date => "2023-07-01",
    "release_date_precision" => "day",
    show => {},
    uri => "spotify:episode:6PMyGL6FHG2KPs42g433K6",
  };
  $a->{is_playable} = \${$a->{is_externally_hosted}};
  $a;
}

What could be the issue here? Thank you for this great plugin!

michaelherger commented 10 months ago

The podcast is flagged is_externally_hosted. Which means Spotify doesn't serve it from their servers. In this case it's difficult to see where the problem lies, as Spotty is talking to Spotify. There might be a codec issue, or they block spotty/librespot on their servers or whatever.

But you should still be able to listen to that podcast using LMS' built-in podcast plugin.

https://www.mdr.de/kultur/podcast/winnetou/winnetou-ist-kein-apache-podcast-100-podcast.xml

bungh0l10 commented 6 months ago

I know this might be outdated but I just stumbled across this 😆. @steffenheyne if you want to listen to german ÖRR, there is a third party plugin within LMS plugin repo list you can use for that called 'ARD Audiothek'. It literally covers everything. Feel free to give it a try, no account required as well.

Cheers