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
1=== modified file 'app/podbird.qml'
2--- app/podbird.qml 2016-03-14 00:16:15 +0000
3+++ app/podbird.qml 2016-03-15 23:25:21 +0000
4@@ -196,10 +196,6 @@
5
6 source = source.toString()
7
8- if (source.indexOf("file://") === 0) {
9- source = source.substring(7);
10- }
11-
12 return Podcasts.lookup(decodeFileURI(source)) || blankMeta;
13 }
14
15
16=== modified file 'po/podbird.nik90.pot'
17--- po/podbird.nik90.pot 2016-03-14 23:06:06 +0000
18+++ po/podbird.nik90.pot 2016-03-15 23:25:21 +0000
19@@ -8,7 +8,7 @@
20 msgstr ""
21 "Project-Id-Version: \n"
22 "Report-Msgid-Bugs-To: \n"
23-"POT-Creation-Date: 2016-03-14 21:01+0530\n"
24+"POT-Creation-Date: 2016-03-16 04:49+0530\n"
25 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
26 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
27 "Language-Team: LANGUAGE <LL@li.org>\n"
28@@ -527,10 +527,10 @@
29 msgid "Finish"
30 msgstr ""
31
32-#: /home/krnekhelesh/Development/add-swipe-gesture-build/po/Podbird.desktop.in.h:1
33+#: /home/krnekhelesh/Development/fix-playlist-source-truncation-build/po/Podbird.desktop.in.h:1
34 msgid "The chirpiest podcast manager for Ubuntu"
35 msgstr ""
36
37-#: /home/krnekhelesh/Development/add-swipe-gesture-build/po/Podbird.desktop.in.h:2
38+#: /home/krnekhelesh/Development/fix-playlist-source-truncation-build/po/Podbird.desktop.in.h:2
39 msgid "podcast;audio;itunes;broadcast;digital;stream;podcatcher;video;vodcast;"
40 msgstr ""

Subscribers

People subscribed via source and target branches