plugin.video.netflix icon indicating copy to clipboard operation
plugin.video.netflix copied to clipboard

MSL playback error

Open 4nouk opened this issue 1 year ago • 8 comments

Netflix add-on version

1.23.3

Operative systems used

Android

Kodi version used

Kodi 19 (Matrix)

Description of the bug

Netflix Add-on error Due to a msl error you cannot playback videos with this device. This is a know problem due to a website changes. This problem could be solved in the future, but at the moment there is no solution

Playback failed One or more items failed to play. Check the log for mor information about this message.

Steps to reproduce the behavior

No response

Debug log - mandatory

https://paste.kodi.tv/etunutepuh

Possible fix

No response

Additional context

I have a XGIMI Halo projector. Everything used to work fine, until recently I could not log in anymore. I fixed that problem based on the fix as suggested in #1674, and was able to log in again. As I am not that tech-savy, I was super proud that I was able to fix it, and excited to have access to Netflix again... but then encountered this next problem and can still not watch anything on Netflix :-(

Screenshots

No response

4nouk avatar Aug 31 '24 09:08 4nouk

I have the save issue with my Amazon fire tv stick. Device info trough ESN: NFANDROID2-PRV-FIRETVSTICKPLUS2020-AMAZOAFTSSS

M3veronMast3r avatar Sep 06 '24 23:09 M3veronMast3r

Same issue on shield tv.

Zuluuk avatar Sep 08 '24 02:09 Zuluuk

Just got this issue with Xiaomi Mibox S (MDH-22A)

leonaheidernfan avatar Sep 12 '24 11:09 leonaheidernfan

I also have this issue on the kodi version 21.1 on the shield tv pro.

Does anybody have a solution?

Beylers avatar Oct 03 '24 10:10 Beylers

Same here on my Fire Tv Stick. Is a solution in sight?

tomsnakes avatar Oct 15 '24 10:10 tomsnakes

Just bought a Philips PUS8818 with GoogleTV and have the same error message. Is there a fix for that?

cube79 avatar Oct 31 '24 22:10 cube79

Has anyone received a fix for this or are we still waiting?

TechGod6 avatar Feb 02 '25 21:02 TechGod6

I don't think it's going to ever be fixed unless someone can keep up with the algorithms

Yahoo Mail: Search, organise, conquer

On Mon, 3 Feb 2025 at 5:32, @.***> wrote:

Has anyone received a fix for this or are we still waiting?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

leonaheidernfan avatar Feb 03 '25 00:02 leonaheidernfan

I have the same issue on a newly installed device. I have two devices (one old laptop and a raspberry pi 4) that both run on libreelec and play netflix without problem. I recently had to reinstall libre-elec on another raspberry pi 4 and in this new install I do not get netflix to play.

the older devices that still play netflix are on: libreelec 12.0.2 kodi 21.2 inputstream-helper 0.8.4 inputstream-adaptive 21.5.18.1 netflix 1.23.5+matrix.1 widevine 4.10.2662.3

In the newly installed device the differences are: libreelec 12.1.2 kodi 21.3 other plugins the same

Upon comparing the contents of addons-data in the devices for eventual settings that might cause the different behaviour I noticed that in plugin.video.netflix the length of the file 'msl_data.json' differs considerably. I do not know if that can be a cause for the different behaviour or that it is caused by one device not managing to play, but below are the contents of the two files In a functioning device the file 'msl_data.json' reads

msl_data functioning.json

for the non-playing device it reads

msl_data non-functioning.json

I have also created a log with netflix set to debug logging

kodi.log

I hope this helps, if more information is needed please tell me what to add.

ggieling avatar Dec 23 '25 14:12 ggieling

@ggieling I have the same issue with a clean install vs an old one. As the old one crashed due to a failing sdcard, I can't compare anymore. Could you run pastekodi on both machines. I would like to go through the differences and look for the cause of this bug.

See also my issue: https://github.com/CastagnaIT/plugin.video.netflix/issues/1771

neunzehnachtneun avatar Dec 28 '25 08:12 neunzehnachtneun

@ggieling I have the same issue with a clean install vs an old one. As the old one crashed due to a failing sdcard, I can't compare anymore. Could you run pastekodi on both machines. I would like to go through the differences and look for the cause of this bug.

See also my issue: #1771

the result of the failing libreelec is at https://paste.libreelec.tv/pleased-cat.log The result for the still functioning one is at https://paste.libreelec.tv/driven-camel.log

ggieling avatar Dec 28 '25 11:12 ggieling

@ggieling Thank you so much! At first glance, I can't see where the error might be coming from. All relevant modules have the same versions.

I'll try reinstalling and setting up LE from scratch. Do you remember which version you had initially with 12.0.2? This one, or did you update at some point?

-- Update: Clean 12.0.2 is also failing.

neunzehnachtneun avatar Dec 28 '25 13:12 neunzehnachtneun

@ggieling Thank you so much! At first glance, I can't see where the error might be coming from. All relevant modules have the same versions.

I'll try reinstalling and setting up LE from scratch. Do you remember which version you had initially with 12.0.2? This one, or did you update at some point?

-- Update: Clean 12.0.2 is also failing.

The one that is still working was a fresh install in august 2025 and auto-update activated for libre-elec and all plugins The one that is not working was a fresh install on the 13th of december 2025, starting with LibreELEC-RPi4.aarch64-12.2.1.img. Also with auto-update enabled for libre-elec and all plug ins.

ggieling avatar Dec 28 '25 15:12 ggieling

Well that's curious.

I tried to setup a LE 11.0.6 also, but it seems there is no suitable widevine file anymore. So I moved the working cdm file from my 12.2.1 to that sd card. But unfortunenately it's failing also.

So to wrap up: Fresh installs doesnt work anymore, while old updated ones with more or less same addon versions are working seamlessly. I hesitate to ask you @CastagnaIT , but I have to: Is there any hidden magic, which I may overlook?

neunzehnachtneun avatar Dec 28 '25 18:12 neunzehnachtneun

I did little bit debugging while upgrading my raspberry to trixie. New netflix login doesn't work anymore. I can only play 2 minutes, after that video freezes and audio keeps playing. So I took my logged in token from my backup and I can play videos normally again.

So it has somethong to do with new login tokens. Maybe related to widevine, or not. But surely related to tokens.

One interesting thing is that playing videos with my old working token is that videos are using inputstream.adaptive.h264.decoder (SW) While new token serves videos for HW prime decoder. Too bad SW decoder have strobing colors effect, but atleast it works

Slugsh avatar Dec 28 '25 19:12 Slugsh

Thanks, good observation. That could also cause the missing user_id_tokens in the msl data file.

The two-minutes-bug has been discussed deeply and at least in my case it has been solved with my old LE 12.0 machine.

neunzehnachtneun avatar Dec 28 '25 19:12 neunzehnachtneun

I will try to keep this Issue about MSL error, because it is a problem. But I'm interested to know how you fixed your 2 minute problem? I forgot to mention that after upgrading to trixie and doing a new login to Netflix with fresh token I also get MSL error (multiple times in a row), and after 4th or 5th error playback starts (but I'm stuck with 2 min problem). Old token still works without problems, lucky I had backup

Slugsh avatar Dec 28 '25 20:12 Slugsh

I did little bit debugging while upgrading my raspberry to trixie. New netflix login doesn't work anymore. I can only play 2 minutes, after that video freezes and audio keeps playing. So I took my logged in token from my backup and I can play videos normally again.

So it has somethong to do with new login tokens. Maybe related to widevine, or not. But surely related to tokens.

One interesting thing is that playing videos with my old working token is that videos are using inputstream.adaptive.h264.decoder (SW) While new token serves videos for HW prime decoder. Too bad SW decoder have strobing colors effect, but atleast it works

What is the old token? Where can I find it? I can access Netflix with an authentication key that comes with a code, but it expires quickly, is that what you mean? CE 21.3.0 Beelink GT KIng

ginolaginola avatar Dec 28 '25 22:12 ginolaginola

@ggieling I took a look into my msl_data.json. It is not striped by user_id_tokens. It has all elements your working one has. Here you find an overlook, which I shortened to 80 chars. I can also provide full length.

{"tokens": {"mastertoken": {"tokendata": 
"eyJzZXNzaW9uZGF0YSI6IkJRQ0FBQUVCRVBESGVFbnZ6cnNQYVNsZERhSWRKeHlCUUNlZkhJbmt4amRLbTUvZktvb1N0V1I4U1>
"signature": "AQEAgQABASAREWctIzbEs5hFLuQpK8CwKfms6nZgjJeQ3wQJ+7mqNB9cDZ4="}}, 
"encryption_key": "OrU5SvvPaBSM+qhXu1gjHw==", "sign_key": 
"x8Sp293o2q5SC1127y3dotzNnX2dfi17moASJpF7xOk=", "rsa_key": 
"LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBMUNmYUNIYjMyL2JaSC9uc0EwOFJQQmk5Tn>
"bound_esn": "NFCDCH-02-PPT1UCVZPPBSGFJIBDNFXA3GT553XI", "user_id_tokens": 
{"HPXVH5NSWBGKDLRPKRLNF7U5NI": {"tokendata": 
"eyJ1c2VyZGF0YSI6IkJRQ0FBQUVCRUc5dGgxUG4xa1BDVCtiNEl5ZTRQanFCRVBWUGdnZFZLaDlqUGRmdEhINVlZNUVVbkRwdX>
"signature": "AQEAgQABASDWnQZdEiYldAI5XpE+16RNyP0igBzuVbS7ig0xzQ9geHR2gWA="}}}

neunzehnachtneun avatar Dec 29 '25 15:12 neunzehnachtneun

I did little bit debugging while upgrading my raspberry to trixie. New netflix login doesn't work anymore. I can only play 2 minutes, after that video freezes and audio keeps playing. So I took my logged in token from my backup and I can play videos normally again. So it has somethong to do with new login tokens. Maybe related to widevine, or not. But surely related to tokens. One interesting thing is that playing videos with my old working token is that videos are using inputstream.adaptive.h264.decoder (SW) While new token serves videos for HW prime decoder. Too bad SW decoder have strobing colors effect, but atleast it works

What is the old token? Where can I find it? I can access Netflix with an authentication key that comes with a code, but it expires quickly, is that what you mean? CE 21.3.0 Beelink GT KIng

I'm talking about ~/.kodi/userdata/addon_data/plugin.video.netflix/msl_data.json file. New tokens won't work for me anymore, but my old (I think year ago) still works even today. So after logging in to Netflix I just replaced msl_data.json with the old one and It's working 👌

EDIT: I also compared old msl_data.json to new one. I think there wasn't anything missing. Just different tokens. So netflix is using/comparing tokens to serve different data

Slugsh avatar Dec 29 '25 17:12 Slugsh

Kicsit hibakeresést végeztem, miközben a Raspberry-met Trixie-re frissítettem. Az új Netflix bejelentkezés már nem működik. Csak 2 percig tudok játszani, utána a videó lefagy, a hang viszont folyamatosan szól. Szóval elővettem a bejelentkezési tokent a biztonsági mentésemből, és újra normálisan tudom lejátszani a videókat. Szóval köze van az új bejelentkezési tokenekhez. Lehet, hogy a Widevine-hez kapcsolódik, vagy nem. De biztosan a tokenekhez. Az egyik érdekes dolog, hogy a régi működő tokennel való videók lejátszásakor a videók az inputstream.adaptive.h264.decoder (SW) fájlt használják. Míg az új token a HW Prime dekóderhez szolgálja ki a videókat. Kár, hogy az SW dekódernek stroboszkópos színeffektje van, de legalább működik.

Mi az a régi token? Hol találom? Hozzáférhetek a Netflixhez egy hitelesítési kulccsal, amihez kód tartozik, de az gyorsan lejár, erre gondolsz? CE 21.3.0 Beelink GT King

A ~/.kodi/userdata/addon_data/plugin.video.netflix/msl_data.json fájlról beszélek. Az új tokenek már nem működnek nálam, de a régi (szerintem egy évvel ezelőtti) még ma is működik. Szóval, miután bejelentkeztem a Netflixbe, lecseréltem az msl_data.json fájlt a régire, és működik 👌.

SZERKESZTÉS: Összehasonlítottam a régi msl_data.json fájlt az újjal. Szerintem semmi sem hiányzott. Csak különböző tokenek. Tehát a Netflix tokeneket használ/hasonlít össze különböző adatok kiszolgálására.

So you made a backup at the time and restored that backup, so you went into the aforementioned directory and looked for that particular file. Then you restored the latest backup and simply logged into Netflix with your authentication key and then you simply pasted this fight you wrote into the specified library and it works.

ginolaginola avatar Dec 29 '25 20:12 ginolaginola

So you made a backup at the time and restored that backup, so you went into the aforementioned directory and looked for that particular file. Then you restored the latest backup and simply logged into Netflix with your authentication key and then you simply pasted this fight you wrote into the specified library and it works.

I upgraded my OS. Installed netflix. Logged in. Video playback didn't work. Replaced msl_data.json from my old installation backup. Netflix works (NO NEED TO LOGIN. IT IS ALREADY LOGGED IN). If i logout and login again it won't work. I would have to replace msl_data.json again.

Slugsh avatar Dec 29 '25 20:12 Slugsh

Szóval csináltál egy biztonsági mentést akkoriban és azt visszaállítottad, tehát bementél a fent említett könyvtárba és megkerested azt a bizonyos fájlt. Aztán visszaállítottad a legújabb biztonsági mentést és egyszerűen bejelentkeztél a Netflixbe a hitelesítési kulcsoddal majd egyszerűen beillesztetted ezt a harcot amit írtál a megadott könyvtárba és működött.

Frissítettem az operációs rendszeremet. Telepítettem a Netflixet. Nem működött. Lecseréltem az msl_data.json fájlt a régi telepítési biztonsági mentésemből. A Netflix működik (NEM KELL BEJELENTKEZNIE. MÁR BE VAN BEJELENTKEZVE). Ha kijelentkezem, majd újra bejelentkezem, nem fog működni. Újra le kellene cserélnem az msl_data.json fájlt.

In order to find the old token, I have to restore an older save and extract the token from it. How did you get the old token?

ginolaginola avatar Dec 29 '25 20:12 ginolaginola

In order to find the old token, I have to restore an older save and extract the token from it. How did you get the old token?

Have you looked in msl_data.json? Folder path is in my previous comments. Authorization key expiring is another issue. I was talkin about MSL and playback errors. I can't help with expiring token, but if you have playback problems and have old backup then restoring msl_data.json might help

Slugsh avatar Dec 29 '25 20:12 Slugsh

Ahhoz, hogy megtaláljam a régi tokent, vissza kell állítanom egy régebbi mentést, és ki kell kinyernem belőle a tokent. Hogyan szerezted meg a régi tokent?

Megnézted az msl_data.json fájlt? A mappa elérési útja az előző hozzászólásaimban szerepel. Az engedélyezési kulcs lejárta egy másik probléma. Az MSL-ről és a lejátszási hibákról beszéltem. A token lejáratával kapcsolatban nem tudok segíteni, de ha lejátszási problémáid vannak, és régi biztonsági mentésed van, akkor az msl_data.json visszaállítása segíthet.

I'm just trying out the April 2025 token, now I'm restoring from a fresh backup.... This was my problem PLAYBACK ERROR - MSLError: The title is not available to watch instanly

ginolaginola avatar Dec 29 '25 20:12 ginolaginola

I'm just trying out the April 2025 token, now I'm restoring from a fresh backup.... This was my problem PLAYBACK ERROR - MSLError: The title is not available to watch

Okay, I think that is same error. I would imagine msl_data.json from april would work.

EDIT: Actually i'm not sure. My backup is old, old. 2023 or 2024 - don't know if that makes any difference

Slugsh avatar Dec 29 '25 20:12 Slugsh

Épp most próbálom ki a 2025 áprilisi tokent, most egy friss biztonsági mentésből állítom vissza.... Ez volt a problémám LEJÁTSZÁSI HIBA - MSLError: A cím nem nézhető meg.

Oké, azt hiszem, ez ugyanaz a hiba. El tudom képzelni, hogy az áprilisi msl_data.json működne.

SZERKESZTÉS: Tulajdonképpen nem vagyok benne biztos. A biztonsági mentésem régi, nagyon régi. 2023-as vagy 2024-es - nem tudom, hogy ez számít-e valamit.

Not Work:(

Also, the problem is that if I do such an old backup, it's 100% certain that I'll have to log in to Netflix again and from then on, the whole thing won't work anymore...

ginolaginola avatar Dec 29 '25 21:12 ginolaginola

@ggielingMegnéztem az msl_data.json fájlomat. Nincs user_id_tokensek szerint csíkozva. Minden elemet tartalmaz, ami a működő fájlodban van. Itt találsz egy overlook-ot, amit 80 karakterre rövidítettem. Teljes hosszúságot is tudok biztosítani.

{"tokens": {"mastertoken": {"tokendata": 
"eyJzZXNzaW9uZGF0YSI6IkJRQ0FBQUVCRVBESGVFbnZ6cnNQYVNsZERhSWRKeHlCUUNlZkhJbmt4amRLbTUvZktvb1N0V1I4U1>
"signature": "AQEAgQABASAREWctIzbEs5hFLuQpK8CwKfms6nZgjJeQ3wQJ+7mqNB9cDZ4="}}, 
"encryption_key": "OrU5SvvPaBSM+qhXu1gjHw==", "sign_key": 
"x8Sp293o2q5SC1127y3dotzNnX2dfi17moASJpF7xOk=", "rsa_key": 
"LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcEFJQkFBS0NBUUVBMUNmYUNIYjMyL2JaSC9uc0EwOFJQQmk5Tn>
"bound_esn": "NFCDCH-02-PPT1UCVZPPBSGFJIBDNFXA3GT553XI", "user_id_tokens": 
{"HPXVH5NSWBGKDLRPKRLNF7U5NI": {"tokendata": 
"eyJ1c2VyZGF0YSI6IkJRQ0FBQUVCRUc5dGgxUG4xa1BDVCtiNEl5ZTRQanFCRVBWUGdnZFZLaDlqUGRmdEhINVlZNUVVbkRwdX>
"signature": "AQEAgQABASDWnQZdEiYldAI5XpE+16RNyP0igBzuVbS7ig0xzQ9geHR2gWA="}}}

You haven't found a solution yet either. MSL error this title is not available to watch instantly please try another title

ginolaginola avatar Dec 29 '25 22:12 ginolaginola

In order to find the old token, I have to restore an older save and extract the token from it. How did you get the old token?

Have you looked in msl_data.json? Folder path is in my previous comments. Authorization key expiring is another issue. I was talkin about MSL and playback errors. I can't help with expiring token, but if you have playback problems and have old backup then restoring msl_data.json might help

To those who might hope that moving a msl_data.json file from a working instance on one device to a non-working instance on another device might help as well. I just tried but it does not solve the issue. Apparently msl_data.json contains some device specific information, as a consequence this trick will likely work only if you have a backup of msl_data.json from an earlier working version on the same device.

ggieling avatar Dec 30 '25 10:12 ggieling