"iTunes Media Library reader" playlist demux shouldn't open for files it can't parse
When "iTunes Media Library reader" fail with "playlist error: invalid root node name" it should let lua playlist operate or rewrite itml in lua as j-peg said.
When "iTunes Media Library reader" fail with "playlist error: invalid root node name" it should let lua playlist operate or rewrite itml in lua as j-peg said.
I don't see why. If it is an itml file, it should be parsed by itml.
If the root node name is invalid then it probably mean that it isn't a itml file.
Example: http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-79d04c6a-b9c5-49aa-8cd1-022d38010030.xml
The itml playlist demux would have to be modified to check this and fail in its open/probe function instead, earlier. If the itml demux claims to handle it, there's nothing the lua demux can do.
added Component::Demuxers: Playlist label
changed title from LUA: Lua playlist doesn't work when "iTunes Media Library reader" start to "iTunes Media Library reader" playlist demux shouldn't open for files it can't parse
mentioned in merge request !5152
VideoLAN code repository instance