PodcastGenerator icon indicating copy to clipboard operation
PodcastGenerator copied to clipboard

Automatic FTP to categories

Open gfreccia opened this issue 5 years ago • 9 comments

Hi All,

I'm very interested on PG.

I've to implement automatic upload using FTP. Is there a way to use FTP for uploading, so the uploaded file is automatically added to a category? (e.g. using a tag inside the filename or ID3)

Thank you!

Giacomo.

gfreccia avatar Aug 25 '20 13:08 gfreccia

Is there a way to use FTP for uploading, so the uploaded file is automatically added to a category? (e.g. using a tag inside the filename or ID3)

No, so far this is not possible.

cvengler avatar Aug 25 '20 15:08 cvengler

Thanks! But it's not clear for me how to add an FTP uploaded file to a category, that's what I need. Do I need to make it by hand?

gfreccia avatar Aug 31 '20 08:08 gfreccia

Thanks! But it's not clear for me how to add an FTP uploaded file to a category, that's what I need. Do I need to make it by hand?

Yes you need to edit that episode manually

cvengler avatar Aug 31 '20 13:08 cvengler

The way I see it, you

Step 1: investigate

  • start a testlab with an empty podcast site.
  • make a snapshot of that site.
  • upload via web iface
  • make a second snapshot
  • make a diff between those snapshots

Step 2 - Trial Create a script, that will edit all the changed files to add another episode cleanly Test: upload ep#2 via ftp Test: fire a script, that puts all data into the needed files

Step 3 - Trial Create a script that automatically does add data when a new episode gets added

Step 4 - Trial Create a script that extracts all needed data from the uploaded file (mp3, flac, ogg, etc)

Step 5 - Trial Put together all of the above and test it. remember, for at least 3 popular audio formats

Step 6 Implement Put all of your written code on your github and let others thank you for your hard work.

erdnuesse avatar Oct 03 '20 09:10 erdnuesse

Yes that's the way (mostly)

cvengler avatar Oct 06 '20 05:10 cvengler

Hello did anyone ever figure out how this might be possible for PG to automatically assign audio uploaded to a specific category? Maybe something in the ID3 tags?

astevens93 avatar Nov 28 '20 14:11 astevens93

Hi. did you read anything? It's standing there. Depending on your screen it's about 2cm / 1in above your question.

erdnuesse avatar Nov 29 '20 20:11 erdnuesse

Hello @erdnuesse yes i did read the above thank you, but this does not necessarily give advice on any steps someone who is not that competent in coding to achieve, so my question was I guess asking if this script had been developed, or functionality added.

It looks like it has not been, so that's also fine. As I've only just started delving into PG, I can see .xml is the key here so that's what i will start exploring.

astevens93 avatar Nov 30 '20 15:11 astevens93

Alright. As you can see, this issue is marked with the label "help wanted". So if you want, you can contribute for a solution that first helps you, provide step 6 as mentioned above and let the community build along yours. If it either had been done or rejected as an idea, it would have been tagged or commented as such. Kind Regards - K

erdnuesse avatar Nov 30 '20 15:11 erdnuesse