amsehili / genRSS

genRSS generates an RSS 2.0 feed from media files in a directory
https://github.com/amsehili/genRSS
MIT License
124 stars 43 forks source link

iTunes Tags #24

Open tboneonair opened 3 years ago

tboneonair commented 3 years ago

Is it possible to add the following iTunes tags:

-  <itunes:duration>300</itunes:duration>
-  <itunes:title>The Example Times Daily News Briefing</itunes:title>
-  <itunes:block>yes</itunes:block>

And copyright tags: <copyright>Copyright 2018 The Example Times – For Personal Use Only</copyright>

Everything about this script is great. I'm hoping to generate an RSS feed for Google that requires the following:

https://developers.google.com/news/assistant/newsbriefings/technical-requirements

Any help would be greatly appreciated.

KAMiKAZOW commented 3 years ago

For professional podcast publishing you may want to have a look at something like https://publisher.podlove.org/

That said, iTunes tags would be great to have.

tboneonair commented 3 years ago

For professional podcast publishing you may want to have a look at something like https://publisher.podlove.org/

That said, iTunes tags would be great to have.

I agree, and like what Podlove is offering, but I am hoping to automate the process.

Audio is placed into a directory, and every 30 min, I have genRSS set to run and generate my feed.

tboneonair commented 3 years ago

I also see references to itunes:duration in genRSS.py but have no idea how to use it.

` >>> item = buildItem("my/web/site/media/item2", title = "Title of item 2", indent = " ", ... extraTags=[{"name" : "itunes:duration" , "value" : "06:08"}])

print(item)

my/web/site/media/item2 my/web/site/media/item2 Title of item 2 06:08

`

amsehili commented 2 years ago

<itunes:duration> tag has been added, other itunes tag should be easier to add. Will fix this as soon as I can, please feel free to contribute.