maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   gPodder 2.0 for Fremantle (https://talk.maemo.org/showthread.php?t=31978)

j d 2010-08-08 13:50

Re: gPodder 2.0 for Fremantle
 
Hi, sorry if this has been asked before but i couldnt find it:

Is there a way that i can increase the number of simultaneous downloads? I often get slow or large podcasts holding up the rest.

thp 2010-08-09 11:43

Re: gPodder 2.0 for Fremantle
 
Quote:

Originally Posted by j d (Post 779517)
Is there a way that i can increase the number of simultaneous downloads? I often get slow or large podcasts holding up the rest.

Yes, close gPodder and edit the file ~/.config/gpodder/gpodder.conf and there you will find "max_downloads" - set this to the desired value (e.g. max_downloads = 2). Please note that this might decrease the overall responsiveness of your device while gPodder is downloading files (that's also why this defaults to 1 and isn't exposed in the GUI).

dscobsct 2010-08-09 12:14

Re: gPodder 2.0 for Fremantle
 
gpodder has an automatic update interval in the settings, but it has never automatically updated anything for me, is it supposed to, or does it only work if gpodder is open, maybe in the background?

pelago 2010-08-09 12:43

Re: gPodder 2.0 for Fremantle
 
I'm pretty sure gpodder has to be running for the automatic update to work. It would be nice if there was a service or a crob job or something that could do the updating without the main gpodder executable having to be running all the time.

dscobsct 2010-08-09 15:20

Re: gPodder 2.0 for Fremantle
 
thanks, yeah just something that would wake up in the middle of the night (or any pre defined time) and download the new episodes would be killer

rajil.s 2010-08-09 17:53

Re: gPodder 2.0 for Fremantle
 
Quote:

Originally Posted by dscobsct (Post 780488)
thanks, yeah just something that would wake up in the middle of the night (or any pre defined time) and download the new episodes would be killer

Yup, it is possible. I do it with the following shell script (use alarmed or fcron):
Code:

test=`cat /proc/net/route | grep wlan0`
[[ -n "$test" ]] && gpo update >/home/user/logs.log && gpo download >> /home/user/logs.log


magnuslu 2010-08-12 07:35

Re: gPodder 2.0 for Fremantle
 
1 Attachment(s)
Hi,

I'm having an issue importing the attached OPML file that I got from the Podcasting application of my previous phone, the Nokia E61i. I've looked at the OPML file and it looks good to me, but I'm no expert...

I did have to remove some ^M characters from the original file and I changed the url attribute to xmlUrl, but that was obviously not enough.

The message I get in gPodder is:

"No podcasts found. Try another source."

Please note that I renamed the file to ...txt only to be able to attach it here. On the device I use the file with the .opml extension.

[EDIT]
After creating this post, I was able to run the OPML Validator and I found an issue. The version attribute was missing in the opml tag. Unfortunately, even after adding it, I still hit the same error in gPodder.

gruik 2010-08-12 15:11

Re: gPodder 2.0 for Fremantle
 
It would be great if Gpodder can remember the player position after quiting it.

magnuslu 2010-08-14 04:25

Re: gPodder 2.0 for Fremantle
 
Quote:

Originally Posted by magnuslu (Post 783832)
The message I get in gPodder is:

"No podcasts found. Try another source."

Ok, the problem seems to be that gPodder doesn't handle certain special characters in the opml file. I removed the 'Swedish' characters (ä) and the

Code:

&
and

Code:

'
that I had in there as well. After that it worked just fine.

thp 2010-08-14 10:58

Re: gPodder 2.0 for Fremantle
 
Quote:

Originally Posted by magnuslu (Post 786008)
Ok, the problem seems to be that gPodder doesn't handle certain special characters in the opml file.

Yes, I just checked it with your file - Python's XML parser seems to have a problem with the file - it's encoded in iso-8859-1 (you can use the "file" utility to do some rough encoding detection - it gives "ISO-8859 English text" for me), and you have to escape the chars there. If you convert the file to utf-8, it works with umlauts as well, and gPodder happily imports it:

Code:

iconv -fiso-8859-1 -tutf-8 Podcasting.opml  > Podcasting2.opml
Alternatively, you can (should?) specify the encoding in the document. You have to add the following line at the very beginning of your OPML file:

Code:

<?xml version="1.0" encoding="iso-8859-1"?>
More info at http://www.opentag.com/xfaq_enc.htm, especially:

Quote:

Note that the encoding of an XML document is never iso-8859-1 by default.
Maybe you can contact the authors of the application from which you exported the OPML file from and tell them about this bug in their export function - it's not a bug or shortcoming in gPodder, the file is invalid - you could check with any strict XML parser.


All times are GMT. The time now is 21:46.

vBulletin® Version 3.8.8