Active Topics

 



Notices


Reply
Thread Tools
Posts: 281 | Thanked: 679 times | Joined on Feb 2010
#51
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. :-(

Last edited by cy8aer; 2019-02-02 at 13:32.
 

The Following 3 Users Say Thank You to cy8aer For This Useful Post:
Posts: 281 | Thanked: 679 times | Joined on Feb 2010
#52
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?
 

The Following 3 Users Say Thank You to cy8aer For This Useful Post:
velox's Avatar
Posts: 394 | Thanked: 1,341 times | Joined on Dec 2009
#53
Originally Posted by cy8aer View Post
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
__________________
slumber: sensors enabled sleep timer for SFOS (translations/input/… appreciated if you've got some spare time)
talefish: directory based audiobook player for SFOS
nofono: ofono restart for SFOS
___
list of i486/noarch packages on openrepos (jolla tablet)
 

The Following 3 Users Say Thank You to velox For This Useful Post:
Posts: 281 | Thanked: 679 times | Joined on Feb 2010
#54
Originally Posted by velox View Post
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?).

Last edited by cy8aer; 2019-02-15 at 09:59.
 

The Following 2 Users Say Thank You to cy8aer For This Useful Post:
Posts: 958 | Thanked: 3,426 times | Joined on Apr 2012
#55
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.
 

The Following User Says Thank You to taixzo For This Useful Post:
Posts: 281 | Thanked: 679 times | Joined on Feb 2010
#56
Originally Posted by taixzo View Post
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.
 

The Following 2 Users Say Thank You to cy8aer For This Useful Post:
Posts: 281 | Thanked: 679 times | Joined on Feb 2010
#57
Opened up a translation engine:

https://translate.g3la.de

Feel free to translate.
 

The Following User Says Thank You to cy8aer For This Useful Post:
Posts: 958 | Thanked: 3,426 times | Joined on Apr 2012
#58
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?
 

The Following 2 Users Say Thank You to taixzo For This Useful Post:
Posts: 281 | Thanked: 679 times | Joined on Feb 2010
#59
Originally Posted by taixzo View Post
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
 

The Following 2 Users Say Thank You to cy8aer For This Useful Post:
nonsuch's Avatar
Posts: 584 | Thanked: 1,550 times | Joined on Sep 2019
#60
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
__________________
N900 in 2020
SFOS in 2021
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:12.