Mediatomb does not work anymore with youtube videos. Probably because the website has been changed. Reproducible: Always Steps to Reproduce: 1. Configure youtube settings in mediatomb 2. Try to play video using mediatomb / youtube Actual Results: The video does not play Expected Results: The video does play
I have made a small patch to enable youtube support again. Maybe this can be enabled using a use-flag? The original code does not seem to work anymore. I have commented-out all the original code, and instead replaced it with a call/exec to youtube-dl (this is a separate/stand-alone python script). Available at http://rg3.github.io/youtube-dl/ The current code works on a/my samsung TV. I have not tested it further on other devices. (I needed a quick fix, because I wanted to watch some video's. :) ) I thought I would share the results. Regards, Bas Nedermeijer
Created attachment 346508 [details, diff] Patch to enable youtube support in mediatomb using youtube-dl
The patch seems fairly sensbile but it needs some clean up: for instance why did you remove the existing comments?
> The patch seems fairly sensbile but it needs some clean up: for instance why did you remove the existing comments? I am not sure why they were removed (it was btw, in the code added by me). I did copy-paste the modifications a couple of times (during testing/compiling/modfiying). (I think something went wrong when creating the diff-file. Because some of the lines in the patch-file came from a previous version of my modifications.) I can make a new patch, when I am back at home, to avoid further confusion.
Created attachment 348178 [details, diff] Patch to enable youtube support in mediatomb using youtube-dl
I have added again a patch-file, this time against the correct sources.
I've just committed mediatomb-0.12.1-r7 to the tree, its got the youtube-dl patch applied. If you could test and reopen if anything is not working that would be great.