Merge lp:~nik90/podbird/fix-playlist-source-truncation into lp:podbird/devel

Proposed by Nekhelesh Ramananthan
Status: Merged
Merged at revision: 132
Proposed branch: lp:~nik90/podbird/fix-playlist-source-truncation
Merge into: lp:podbird/devel
Diff against target: 40 lines (+3/-7)
2 files modified
app/podbird.qml (+0/-4)
po/podbird.nik90.pot (+3/-3)
To merge this branch: bzr merge lp:~nik90/podbird/fix-playlist-source-truncation
Reviewer Review Type Date Requested Status
Podbird Developers Pending
Review via email: mp+289118@code.launchpad.net

Description of the change

The playlist does not show the metadata of episodes saved in disk due to incorrect truncation of the "file://" section of the url. This has been fixed in this MP.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'app/podbird.qml'
--- app/podbird.qml 2016-03-14 00:16:15 +0000
+++ app/podbird.qml 2016-03-15 23:25:21 +0000
@@ -196,10 +196,6 @@
196196
197 source = source.toString()197 source = source.toString()
198198
199 if (source.indexOf("file://") === 0) {
200 source = source.substring(7);
201 }
202
203 return Podcasts.lookup(decodeFileURI(source)) || blankMeta;199 return Podcasts.lookup(decodeFileURI(source)) || blankMeta;
204 }200 }
205201
206202
=== modified file 'po/podbird.nik90.pot'
--- po/podbird.nik90.pot 2016-03-14 23:06:06 +0000
+++ po/podbird.nik90.pot 2016-03-15 23:25:21 +0000
@@ -8,7 +8,7 @@
8msgstr ""8msgstr ""
9"Project-Id-Version: \n"9"Project-Id-Version: \n"
10"Report-Msgid-Bugs-To: \n"10"Report-Msgid-Bugs-To: \n"
11"POT-Creation-Date: 2016-03-14 21:01+0530\n"11"POT-Creation-Date: 2016-03-16 04:49+0530\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"14"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -527,10 +527,10 @@
527msgid "Finish"527msgid "Finish"
528msgstr ""528msgstr ""
529529
530#: /home/krnekhelesh/Development/add-swipe-gesture-build/po/Podbird.desktop.in.h:1530#: /home/krnekhelesh/Development/fix-playlist-source-truncation-build/po/Podbird.desktop.in.h:1
531msgid "The chirpiest podcast manager for Ubuntu"531msgid "The chirpiest podcast manager for Ubuntu"
532msgstr ""532msgstr ""
533533
534#: /home/krnekhelesh/Development/add-swipe-gesture-build/po/Podbird.desktop.in.h:2534#: /home/krnekhelesh/Development/fix-playlist-source-truncation-build/po/Podbird.desktop.in.h:2
535msgid "podcast;audio;itunes;broadcast;digital;stream;podcatcher;video;vodcast;"535msgid "podcast;audio;itunes;broadcast;digital;stream;podcatcher;video;vodcast;"
536msgstr ""536msgstr ""

Subscribers

People subscribed via source and target branches