After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 553130 - totem won't play last file of m3u list if there's no windows endline CR/LF
totem won't play last file of m3u list if there's no windows endline CR/LF
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
2.23.x
Other All
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-09-21 14:30 UTC by Pablo Castellano (IRC: pablog)
Modified: 2008-09-27 03:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Example m3u file (57.56 KB, image/png)
2008-09-21 14:32 UTC, Pablo Castellano (IRC: pablog)
Details

Description Pablo Castellano (IRC: pablog) 2008-09-21 14:30:33 UTC
Please describe the problem:
Original: https://bugs.launchpad.net/ubuntu/+source/totem/+bug/272761

Binary package hint: totem

I have an album ripped using windows so the m3u file has Windows newline CR/LF on every line (those ^M seen in vi).
The problem is when you are playing the album using the m3u file and the last song arrives.
If there's no newline character at the end, totem doesn't parse well the line and shows a popup saying:
"An error occurred. Location not found"

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: wl
Package: totem 2.23.91-0ubuntu3
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=es_ES.UTF-8
SourcePackage: totem
Uname: Linux 2.6.27-3-generic i686

Steps to reproduce:
You can write your own m3u file or look at the attached screenshot


Actual results:


Expected results:


Does this happen every time?
Yes

Other information:
Comment 1 Pablo Castellano (IRC: pablog) 2008-09-21 14:32:59 UTC
Created attachment 119098 [details]
Example m3u file
Comment 2 Bastien Nocera 2008-09-27 03:30:06 UTC
Fixed in gnome-2-24 and trunk

2008-09-27  Bastien Nocera  <hadess@hadess.net>

        * plparse/totem-pl-parser-lines.c (totem_pl_parser_add_m3u):
        Fix parsing of DOS M3U files where the last line finishes with
        a carriage return but no line feed (Closes: #553130)