added feedparser for testing RSS
parent
2715358487
commit
3c5501643b
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
import feedparser
|
||||||
|
|
||||||
|
#d = feedparser.parse('http://www.reddit.com/r/python/.rss')
|
||||||
|
d = feedparser.parse('file:///home/rob/antena/html/podcast_rss.xml')
|
||||||
|
|
||||||
|
for post in d.entries:
|
||||||
|
# print(post.title + ": " + post.link + "")
|
||||||
|
print(post)
|
||||||
|
|
|
@ -100,6 +100,7 @@ def create_episode_playlist(episode_playlist: list, complete_playlist:list):
|
||||||
min_track_dur = 2
|
min_track_dur = 2
|
||||||
|
|
||||||
# TODO what is most important 12 tracks or 60 minutes
|
# TODO what is most important 12 tracks or 60 minutes
|
||||||
|
# what will
|
||||||
while episode_duration < 60 * 60 and track_count < 12 :
|
while episode_duration < 60 * 60 and track_count < 12 :
|
||||||
|
|
||||||
cursor = conn.cursor()
|
cursor = conn.cursor()
|
||||||
|
|
Loading…
Reference in New Issue