Jump to content

Emby incorrectly parses links in an m3u8 playlist


Go to solution Solved by Luke,

Recommended Posts

Posted

I am trying to link Emby to my Mirakurun server.

When I added the m3u8 link from Mirakurun to Emby as Live TV, I could not play any of the channels and Emby would throw Internal Server Error.

Upon investigating the log, I found this weird behaviour.

2024-08-2623_51_47-C__Users_manatails_Desktop_embyserver.txt-Notepad.thumb.png.613fc88fbc8024e9f763fecc772d3cc9.png

Although the link to the video stream looks superficially okay, it contains hidden invisible characters so it causes the Mirakurun server to return 500 error.

2024-08-2623_58_43-ErrorMozillaFirefox.thumb.png.40d82eb4be2d6fd3cd6e1841c1651b4a.png

I could see it more clearly when I copy pasted the link to the browser, for some reason Emby adds sequences of %E2%80%8C%E2%80%8D%E2%80%8D%E2%80%8D%E2%80%8D in the middle of the link.

 

Attached is the original playlist.m3u8 file, those rogue bytes are not present in it.

I am guessing that emby somehow messes up the encoding of the file since it contains non-latin characters.

It would be great if the bug could be resolved promptly.

playlist.m3u8 embyserver.txt

Posted

I forgot to mention that I am running the newest emby version 4.8.8.0.

  • Solution
Posted

Hi, Emby doesn't add those characters when requesting the content. It is only for the purposes of the log file, for the log anonymization feature.

That means when you copy and paste from the log, this is going to happen.

Posted

I see, Thanks for the clarification.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...