natumbri / mopidy-youtube

Mopidy extension for playing music from YouTube
Apache License 2.0
256 stars 75 forks source link

"Video unplayable" as title of every track, but track itself can be played #244

Open tepiloxtl opened 1 year ago

tepiloxtl commented 1 year ago

Using jAPI, I assume youtube changed something and its now broken

sie 29 11:16:45 ***-mopidy mopidy[79148]: DEBUG    2023-08-29 11:16:45,157 [79148:YouTubeBackend-11] mopidy_youtube
sie 29 11:16:45 ***-mopidy mopidy[79148]:   youtube LibraryProvider.lookup "youtube:video:d6tV0cr9zYI"
sie 29 11:16:45 ***-mopidy mopidy[79148]: DEBUG    2023-08-29 11:16:45,159 [79148:ThreadPoolExecutor-35_0] mopidy_youtube
sie 29 11:16:45 ***-mopidy mopidy[79148]:   jAPI pl_run_search triggered session.get: {'search_query': '"d6tV0cr9zYI"', 'sp': 'EgIQAQ%3D%3D', 'app': 'desktop', 'persist_app': 1}
sie 29 11:16:45 ***-mopidy mopidy[79148]: ERROR    2023-08-29 11:16:45,385 [79148:ThreadPoolExecutor-35_0] mopidy_youtube
sie 29 11:16:45 ***-mopidy mopidy[79148]:   No data found on page
sie 29 11:16:45 ***-mopidy mopidy[79148]: ERROR    2023-08-29 11:16:45,386 [79148:ThreadPoolExecutor-35_0] mopidy_youtube
sie 29 11:16:45 ***-mopidy mopidy[79148]:   list_videos error "No data found on page"
sie 29 11:16:45 ***-mopidy mopidy[79148]: WARNING  2023-08-29 11:16:45,387 [79148:ThreadPoolExecutor-35_0] mopidy_youtube
sie 29 11:16:45 ***-mopidy mopidy[79148]:   Error argument of type 'NoneType' is not iterable setting api data for d6tV0cr9zYI; probably private or deleted
sie 29 11:19:45 ***-mopidy mopidy[79148]: [youtube] Extracting URL: https://www.youtube.com/watch?v=d6tV0cr9zYI
sie 29 11:19:45 ***-mopidy mopidy[79148]: [youtube] d6tV0cr9zYI: Downloading webpage
sie 29 11:19:46 ***-mopidy mopidy[79148]: WARNING: [youtube] unable to extract initial player response; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you a
re on the latest version using  yt-dlp -U
sie 29 11:19:46 ***-mopidy mopidy[79148]: [youtube] d6tV0cr9zYI: Downloading ios player API JSON
sie 29 11:19:46 ***-mopidy mopidy[79148]: [youtube] d6tV0cr9zYI: Downloading android player API JSON
sie 29 11:19:46 ***-mopidy mopidy[79148]: [youtube] d6tV0cr9zYI: Downloading iframe API JS
sie 29 11:19:46 ***-mopidy mopidy[79148]: [youtube] d6tV0cr9zYI: Downloading player c153b631
sie 29 11:19:46 ***-mopidy mopidy[79148]: [youtube] d6tV0cr9zYI: Downloading web player API JSON
sie 29 11:19:47 ***-mopidy mopidy[79148]: [youtube] d6tV0cr9zYI: Downloading m3u8 information
sie 29 11:19:47 ***-mopidy mopidy[79148]: WARNING: [youtube] unable to extract yt initial data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on th
e latest version using  yt-dlp -U
sie 29 11:19:47 ***-mopidy mopidy[79148]: WARNING: [youtube] Incomplete data received in embedded initial data; re-fetching using API.
sie 29 11:19:47 ***-mopidy mopidy[79148]: [youtube] d6tV0cr9zYI: Downloading initial data API JSON

Might be related to https://github.com/yt-dlp/yt-dlp/issues/7594

LaneaLucy commented 9 months ago

I have the same problem when adding videos by URL. But if I search for a video in iris and add it to the queue, it has the right name and everything