GNOME Bugzilla – Bug 758710
m3u-files will not start any more; error "The given film cannot be found"
Last modified: 2015-11-26 16:56:27 UTC
Hi, After the recent Ubuntu upgrade (32 bits, 15.10 - obviously) Totem doesn't accept the m3u files any more. The m3u text files simply have a line for each audio file. It gives an error message: "The given film cannot be found" (translated from Dutch). This worked in the older version. Could not find a (recent) duplicate bug here. But may have searched not well enough (new with this software). Version 3.16.4 (Is it normal that Help doesn't show a version number?) Cheers - Cor
Created attachment 316327 [details] [review] lines: Fix parsing of m3u files This was broken since commit d2caf76e0646f29ee8edcc89627398d8363dd327 (and version 3.10.4) which changed the functions used to emit new playlist items. We didn't take enough care to replace totem_pl_parser_add_one_file() calls by TOTEM_PL_PARSER_FIELD_FILE fields, and passed GFiles as URIs instead, leading to garbage being added, and possibly to crashes.
Wow :) Thanks for the quick action Bastien!
Created attachment 316330 [details] [review] lines: Fix parsing of m3u files This was broken since commit d2caf76e0646f29ee8edcc89627398d8363dd327 (and version 3.10.4) which changed the functions used to emit new playlist items. We didn't take enough care to replace totem_pl_parser_add_one_file() calls by TOTEM_PL_PARSER_FIELD_FILE fields, and passed GFiles as URIs instead, leading to garbage being added, and possibly to crashes. Include test case to avoid this sort of error in the future.
Attachment 316330 [details] pushed as 21f64b6 - lines: Fix parsing of m3u files