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 761466 - [playlist extract] guarantee playlist title
[playlist extract] guarantee playlist title
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Extractor
git master
Other Linux
: Normal normal
: ---
Assigned To: tracker-extractor
tracker-extractor
Depends on:
Blocks:
 
 
Reported: 2016-02-02 17:14 UTC by Marinus Schraal
Modified: 2016-02-26 01:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use the filename as title if none given (920 bytes, patch)
2016-02-02 17:14 UTC, Marinus Schraal
none Details | Review
tracker-extract: Use tracker-guarantee to ensure a title in playlists (1.35 KB, patch)
2016-02-26 01:03 UTC, Carlos Garnacho
committed Details | Review

Description Marinus Schraal 2016-02-02 17:14:45 UTC
Created attachment 320278 [details] [review]
use the filename as title if none given

bug #746447 describes gnome-music having a lot of 'untitled' playlist, because m3u and pls playlist don't contain titles. Attached patch uses  tracker_guarantee_title_from_file to give these files a nie:title .
Comment 1 Carlos Garnacho 2016-02-26 01:02:18 UTC
Thanks for the patch! pushed to master.

The following fix has been pushed:
88dcce8 tracker-extract: Use tracker-guarantee to ensure a title in playlists
Comment 2 Carlos Garnacho 2016-02-26 01:03:25 UTC
Created attachment 322431 [details] [review]
tracker-extract: Use tracker-guarantee to ensure a title in playlists

Resort to the basename in order to guarantee a title.