[gpodder] Re: Using Gpodder in mac Terminal

  • From: Benjamin Blatter <info@xxxxxxxxxxxxxxxxxx>
  • To: gpodder@xxxxxxxxxxxxx
  • Date: Wed, 20 Nov 2019 20:53:07 +0100

Hi Eric and Nemo

Sorry for the long wait. I was and still am a bit too busy these days. There 
are always lots of concerts and rehearsals for me as musician when christmas 
comes around :-)

Thanks so  much for your help.  Now GPO is running fine in the terminal.
Eric, your instructions were very helpful.

Could you please modify my settings.json file a bit?
I'd like to have the rename after download extension enabled. If possible with  
an underscore and date of an episode at the end. Par example:
episodetitle_20191120.m4a
What would happen if two files had the same title and date? There are people 
making livestreams which name their streams just hey or something like that. 
Would one file get overwritten or can this extension rename it? Or would it be 
even possible to get the time after the date into the filename to prevent such 
a case?
Par example:
filename_20191120-0900

And 2nd:
I'd like to have the extension enabled wich deletes the folder.jpg files, if 
there really exist such one.

Thanks again for your help and kind regards
Ben

Attachment: Settings.json
Description: application/json



Am 17.11.2019 um 22:23 schrieb Eric Le Lay <contact@xxxxxxxxx>:

Hi,

the MacOS package is not user-friendly for running gpo.
There are currently 2 options:

1. run Terminal.app, 
2. then drag-drop or type the complete path to gPodder.app
3. then complete the path to Contents/MacOS/gpo.
4. Press enter: it runs gpo in your terminal

or

1. right-click gPodder.app, Show Contents,
2. navigate to the Contents/MacOS subfolder, remove the existing gpo file;
3. right-click _launcher and choose Duplicate.
4. rename launcher copy to gpo
5. double-clicking gpo should now work.

--
Eric

Le Sat, 16 Nov 2019 06:13:55 +0100,
Benjamin Blatter <info@xxxxxxxxxxxxxxxxxx> a écrit :

When I wrote "python3" at the terminal I got the option to install
the command line tools, so I did that. And I also installed Xcode
from Apple which I got some time ago for another program I don't use
at the moment. I think the hello world test was successful.

I went manually with cd to the gpo location:
cd Applications/gPodder.app/Contents/resources/bin

From there I run python3 gpo

Here is what I get, i hope you can read this:

https://www.dropbox.com/s/vh3uo8ifh7rlm6j/Screenshot%202019-11-16%2006.06.28.png?dl=0

Thanks
Ben


Am 15.11.2019 um 16:19 schrieb Nemo (Redacted sender "bokkenka" for
DMARC) <dmarc-noreply@xxxxxxxxxxxxx>:

It is looking for Python in /usr/local/bin but can't find it there.
Sort of like if you tried to open an MP3 and it couldn't find the
music player.

Try running just the command `python3` in the terminal. It should
open the REPL, kind of a command-line interactive interpreter for
Python. It should print the Python version, some other info, and
give a >>> prompt...

   Python 3.7.5 (default, Oct 17 2019, 12:21:00)
   [GCC 8.3.1 20190223 (Red Hat 8.3.1-2)] on linux
   Type "help", "copyright", "credits" or "license" for more
information.  


If it does, enter the command `print("hello world")`. It should
print hello world on the next line. Use CRTL+D (or CMD+D on Mac
???) to exit.

If the REPL runs, then cd to the directory where gpo is, and you
should be able to run `python3 gpo`. (Or, you could run `python3
/path/to/gpo/gpo`.)  If that works, we can figure out why your
computer is looking in /usr/local/bin for Python and not finding it.

If the REPL doesn't run, then you'll have to check to make sure you
have Python installed. 





Other related posts: