maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [Announce] podQast - a queue based podcast player. (https://talk.maemo.org/showthread.php?t=100505)

cy8aer 2019-02-01 13:27

Re: [Announce] podQast - a queue based podcast player.
 
hm, locally compiled dbus-python.

Code:

[nemo@wilf site-packages]$ python3
Python 3.4.3 (default, Aug 10 2018, 07:11:41)
[GCC 4.8.3 20140401 (Mer 4.8.3-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus
>>> session_bus = dbus.SessionBus()
>>>

Looks like it's working :)

Now - again - looking for the freedesktop mpris definitions...

[Update] Bummer: can only work with Glib loop. Not Qt. :-(

cy8aer 2019-02-14 07:11

Re: [Announce] podQast - a queue based podcast player.
 
Some user told me that he can now use the bluetooth buttons (on his XperiaX?) after starting the mpris proxy (https://openrepos.net/comment/27949#comment-27949)

Does anyone know something about this proxy (and why it may not started on some devices)? And: How can I start this proxy on a JollaC?

velox 2019-02-14 12:45

Re: [Announce] podQast - a queue based podcast player.
 
Quote:

Originally Posted by cy8aer (Post 1553995)
Some user told me that he can now use the bluetooth buttons (on his XperiaX?) after starting the mpris proxy (https://openrepos.net/comment/27949#comment-27949)

Does anyone know something about this proxy (and why it may not started on some devices)? And: How can I start this proxy on a JollaC?

It's not installed by default at all…

I haven't tried this, but you could have a look at https://github.com/ksiazkowicz/sailf...mpris_proxy.sh

cheers,
velox

cy8aer 2019-02-14 13:27

Re: [Announce] podQast - a queue based podcast player.
 
Quote:

Originally Posted by velox (Post 1554005)
It's not installed by default at all…

I haven't tried this, but you could have a look at https://github.com/ksiazkowicz/sailf...mpris_proxy.sh

cheers,
velox

I got it running on my JollaC (but testet in the afternoon...) https://together.jolla.com/question/...d-native-apps/

[Update] These recipes work for me. I now have bluetooth key support with mpris proxy and podqast 2.2ff (openrepos) on JollaC. This might work with all devices with new bluez libraries (all others than Jolla1 - and Tablet?).

taixzo 2020-08-10 16:16

Re: [Announce] podQast - a queue based podcast player.
 
One of my podcasts stopped showing anything in the library view. I did a bit of digging and found the problem was in python/podcast/podpost.py, line 108:
Code:

self.htmlpart = entry.summary_detail.value
One episode was apparently missing the summary_detail field. Changing this line to
Code:

try:
    self.htmlpart = entry.summary_detail.value
except:
    self.htmlpart = ""

fixed it and my podcasts are back. I would suggest this as a change to be made upstream; I haven't figured out yet how to make an official merge request on gitlab.

cy8aer 2020-08-10 20:27

Re: [Announce] podQast - a queue based podcast player.
 
Quote:

Originally Posted by taixzo (Post 1568694)
fixed it and my podcasts are back. I would suggest this as a change to be made upstream; I haven't figured out yet how to make an official merge request on gitlab.

Pushed to ff and master.

cy8aer 2021-02-09 13:49

Re: [Announce] podQast - a queue based podcast player.
 
Opened up a translation engine:

https://translate.g3la.de

Feel free to translate.

taixzo 2021-02-10 00:32

Re: [Announce] podQast - a queue based podcast player.
 
I've encountered another issue, which affects any podcast which uses the podtrac.com podcast tracker in their RSS feed: the URLs are redirected to the actual podcast URL via a 308 redirect. PodQast uses urllib.request for its podcast downloading, and urllib.request treats 308 as an HTTPError (rather than a generic 300 series status code for some reason?) As such, podQast just spams notifications of download failures if you try to download an episode of such a podcast.

I'm not sure there's an easy fix for this. The Requests library handles these URLs just fine, but it would require not insignificant changes due to the difference in how requests handles streaming content. Alternatively, it might be possible to subclass the url opener and have it turn 308s into 301s?

cy8aer 2021-02-10 14:58

Re: [Announce] podQast - a queue based podcast player.
 
Quote:

Originally Posted by taixzo (Post 1570953)
I've encountered another issue, which affects any podcast which uses the podtrac.com podcast tracker in their RSS feed: the URLs are redirected to the actual podcast URL via a 308 redirect. PodQast uses urllib.request for its podcast downloading, and urllib.request treats 308 as an HTTPError (rather than a generic 300 series status code for some reason?) As such, podQast just spams notifications of download failures if you try to download an episode of such a podcast.

I'm not sure there's an easy fix for this. The Requests library handles these URLs just fine, but it would require not insignificant changes due to the difference in how requests handles streaming content. Alternatively, it might be possible to subclass the url opener and have it turn 308s into 301s?

Filed a new issue: https://gitlab.com/cy8aer/podqast/-/issues/33

nonsuch 2021-02-10 18:44

Re: [Announce] podQast - a queue based podcast player.
 
Does anybody else experience UI wickedness like this:
I have a long playlist, and try to move an item across, from bottom to top.
So I have to long-press to get those little arrows to appear, and start tapping the up arrow. Halfway, when the item goes out of view, the UI goes haywire and I cannot get a "grab" of it anymore.
I have to change to a different view (Library or inbox) and back to Playlist view, then try again.
If the item has to travel a long way, it might become necessary to do that a few times.
Very rarely I can "get hold" of the item again by sliding my finger downwards (scrolling the playlist) very slowly.

PodQast from openrepos,
SailfishOS 3.4.0.whatever the official is
Xperia XA2


All times are GMT. The time now is 08:03.

vBulletin® Version 3.8.8