![]() ![]() The metadata script is more complicated, but the general idea is to ask channelsDVR for info about any files. This wrapper runs the download script, waits 5 minutes (during which time channelsDVR has most likely noticed any new files in it's Videos directory), then runs the metadata script. This actually runs a simple wrapper instead of gPodder_download directly, but if you run the download script from the crontab, it would be a pretty functional feed by itself.īut, I want to pull some metadata from the podcast episodes, so I have a 2nd script that is run by this wrapper (this is gPodder_daemon, invoked from crontab): #!/bin/bash I have a crontab set up to run things 4 times per day: 23 3,9,15,21 * * * bin/gPodder_daemon # Script to fetch new episodes of podcasts The script to manage the downloading is in ~/bin/gPodder_download: #!/bin/bash (It turns out that channelsDVR will not follow a symlink to the gPodder directory.) I then put a symlink in the gPodder/Downloads directory that points to where the directory was moved to. After setting up a new feed, I move its directory from ~/gPodder/Downloads/ to Imports/Video/ in the channelsDVR DVR directory. GPodder normally stores its data in ~/gPodder/Downloads, in one directory for each feed. Normally this is run non-interactively from a crontab, but I do run the GUI (as "channels") whenever I want to add or manage feeds. I run it as the channelsDVR userid ("channels" on my system). ![]() Ī final entry here just to document what my solution is for tying an RSS feed into channels.įirst off, I use gPodder to manage the RSS feeds. Have it place episodes in a directory named after your podcast, and Channels will use that directory name as the group name for the imported content. You may want to give this a try: point gPodder to the Imports/Videos/ directory of your DVR storage path. You can then use Channels' native management features to edit the metadata and delete watched items. You designate a directory for Channels to periodically scan-every 5 minutes-and when new content is found, it is added to your library. What you are describing sounds like you want to use a local content import. Using it as a playlist for static/VOD content is not support (and likely will not ever be). mp4 format, but I can translate them if necessary.Ĭustom Channels (M3U playlists) are only supported for live/linear streaming content. mp4 file that MPEG-TS could grok it? I'm not sure that all of the podcasts are. m3u playlist, one thing it asks is the stream format, and offers HLS or MPEG-TS. There are some other issues, such as I would prefer the date to be the publish date of the episode, but I think channelsDVR would think that was the date to look for the episode and that the date has already passed. That is why I am looking for some handshake from channelsDVR that it has picked it up. What I don't know is when to remove the downloaded episode? I have to leave it visible long enough to know that channelsDVR has picked it up, but not so long that it gets picked up more than once. m3u file with info about it and place it where channelsDVR will eventually look at it. So, If gPodder is run 4 times a day, then when it downloads new episodes, I can leave them spooled in gPodder's directory and build a. The guide data is 1, 3, 6, 12, or 24 hours. The m3u is either never or every 24 hours. You tell Channels how often to read the m3u and the XML guide data. So, what would be the best way to programmatically add content to the server? But, how do I provide episode description & other metadata? Also, will channelsDVR delete episodes from the library after they are watched?Īnd I see references to the unpublished (and unstable) REST API, which I'm thinking might have some mechanism there. I'm guessing that I just copy episodes into the library directory and channelsDVR will periodically check and notice the added files there. I also see a library mechanism that might be a good fit. m3u file and generate the file whenever channelsDVR reads it, but it is kind of difficult to tell when channelsDVR gets around to reading the program so that I can mark it for gPodder to delete. m3u file under custom channels, but I'm not quite sure how good of a fit this is. At the moment, I use gPodder to pull down programs from various feeds, and then pull episode info from gPodder's database and push the episodes into mythtv's video spool directory and it's database, then tell gPodder to delete it. One thing that I want to migrate is my RSS program feed. New user here, migtrating from mythtv and a patchwork of various services. ![]()
0 Comments
Leave a Reply. |