Release [REPO] gPodder - 3.5.1.1 - Update


Repository

Member
Joined
Apr 29, 2013
Messages
117
gpodder.png
gPodder downloads and manages free audio and video content (podcasts) for you. Includes smplayer2 for playback on your pandora.
Get it from here!
 
Since the update to the latest firmware (SuperZaxxon 1.6) gPodder won't start. :(
 
As i said in comments on the repo, i'm trying to fix it, but no luck so far.

Debug says: "No module dbus found", but python-dbus is installed, and if i try "import dbus" on python console, it works.
 
If anyone would like to test it, I have made a working version of gPodder. Since the PND worked when Codebolcks was mounted, but presented the d-bus issue when it was not, I tried pulling libs (found using lsof) and sticking them in the gPodder PND.

From what I can tell, python would complain there was no d-bus if there were other libs that were missing that d-bus depended on. It was hard to tell what was actually missing though...

I could probably use some help customizing with support for some of the more common media players, maybe adding smplayer2, and I need to clean out a lot of the redundant libs that I added while trying to find out what was missing.

This PND depends on ptitSeb's wxpython PND as well. I might be able to make it standalone, but this works for me for now.
 

Attachments

  • gpodder.pnd
    33.5 MB · Views: 151
Last edited:
I need to test further, but so far seems to work fine.

The only problem i found, it doesn't umount wxpython or gpodder on exit.
 
There is a mistake in some of my scipts.
The unmount part must include the "-p PATH/TO/wxpython.pnd" parameter to umount cleanly.
 
Ah sure. I have done the same thing while working with the pnd run scripts. I can easily fix my launch script then.
 
There is a mistake in some of my scipts.
The unmount part must include the "-p PATH/TO/wxpython.pnd" parameter to umount cleanly.

This is the unmount portion of the wxpython script:
Code:
#unmount wxPython
unset LD_LIBRARY_PATH
if [ ! "$allready" = "1" ];then
/usr/pandora/scripts/pnd_run.sh -p $path_to_pnd -u &
fi

Should I maybe remove the exclamation point? From what I understand, allready gets set to 1 when the wxpython pnd is mounted successfully, so after mounting correctly, this unmount script would not execute.

EDIT: Hmm... Tried it and it didn't seem to work.
 
Last edited:
No, the allready variable is there to avoid unmounting if wxpython was mounted already, for example if used on another software. It's not perfect but mainly for me, as codeblocks & all ar always launched on my dev. pandora.

Try with this line instead
Code:
 /usr/pandora/scripts/pnd_run.sh -p $path_to_pnd -b $pnd_folder -u &
 
Awesome. That was it. Using the -b and -s parameters also fixed my script to try and launch deadbeef from within the gpodder PND. I now have deadbeef and Panplayer2 support working on my unit. I need to have a look at some of your auto mount scripts and figure out how to search for the user's pnd file before it will work for anybody else.

I'll update the PND with the unmount fix and try to add plug and play support for audio through deadbeef and video through PanPlayer2. After that I think it could be considered ready for the repo.

Maybe later I'll add some of the more widely used players and can try to add more on request.

I just noticed some of the icons don't show up for me. I think icons for old/new/downloading/canceled are all missing. Will look into that as well. That'll probably happen with the PND cleanup too.
 
Okay here is the latest PND. Unmounting is fixed, thanks to @ptitSeb. I packaged scripts for deadbeef and panplayer2 support. Simply type in "deadbeef" and "panplayer2" for your default audio and video players.

The "Enqueue in media players" extension also works with deadbeef. This gives you the choice in the context menu to either play/stream the selected episode or add it to the current deadbeef playlist.

@canseco: would you mind sending me the XML for the old version? The PND is disabled on the repo and I'd like to copy over the descriptions.

I will try to remove some unnecessary libs, fix the XML, and it can probably go on the repo after that.

Still not sure why some icons are missing...
 

Attachments

  • gpodder.pnd
    33.5 MB · Views: 125
I will enable it again on repo, so you can download the PND.

It would be great to have SMPlayer too.

I have little time and a lot updates to do, so i will test ASAP.

Thx and keep up the good work.
 
I'll try adding smplayer soon after I strip out as many of the unnecessary libs as I can. If anyone has an idea of a better way to tell what libs it is using. I will take it. My method didn't take links into account, so I ended up probably adding way more than I should have to try and find out what was missing.

I found another issue, unfortunately. Trying to download from "Doug Loves Movies" gives:

Code:
I/O Error: unkown url type: https - Doug Loves Movies

This looks similar to: https://github.com/wbond/package_control/issues/557. Does the Pandora use an old version of urllib2 that might still be affected by missing SSL?

Also, in order to get proper audio and video player support, all spaces should be removed from a podcast series name after adding it. This way the folder it saves to will be without spaces. It seems like the Pandora dislikes passing file addresses that as spaces in them. From what I can tell, the "\" character gets stripped when being passed through pnd_run.sh.
[doublepost=1455427369,1455408077][/doublepost]Alright, I think this is ready enough for the repo. Smplayer2 is included along with all the codecs. I stripped out a number of libs and it still seems to run okay.
 

Attachments

  • gpodder.pnd
    24.2 MB · Views: 136
I did some clean up and relocated some files, almost ready, except for https issue.
 
Awesome, thank you. I'll be interested to see what you did. This is one of the first PND's where I've almost been able to understand how the various lib folders were getting assigned, so it will be nice to see how everything is supposed to be set up.
 
Noticed another issue. I think paths to files are being sent using the "/mnt/utmp/gpodder/..." folder.

After gPodder is unmounted, these files in your playlist will no longer play.

I think this would maybe be fixed by assigning the home directory directly to the appdata directory on the SD card rather than the mounted PND path.
 
Here's the next beta test, updated to 3.9.0.

File names with spaces could be fixed the same way as i did with qpdfview. When invoking the program (eg. deadbeef), use "$*" instead of $*.

Deadbeef and Panplayer2 need to be updated too.

https
 

Attachments

  • gpodder.pnd
    21.8 MB · Views: 128
Back
Top