View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Aug 08, 2007 9:04 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
This is a process I followed to have KnoppMyth automatically download audio and video podcasts (putting each in MythMusic or MythVideo respectively). Having KnoppMyth download Internet content ended up working well as the KM box is on nearly 24x7 with Internet connectivity.

Out of the box KnoppMyth R5F1 already includes built in Podcast clients, such as the mythstream plugin and Democracy but I found both these programs are better for getting podcasts on-demand rather than automatically downloading new content (Democray should be able to be configured to automatically download as well).

This guide uses Podget run by user MythTV to download podcasts. I chose Podget as there is a package for Podget in the Debian unstable repository, configuration is simple, and Podget allows a relative directory to be specified in the configuration per podcast/netcast.

http://podget.sourceforge.net/

Installing Podget on R5F1 from the KnoppMyth console or over SSH.

1. Change to use unstable debian repository
login as root
Code:
pico /etc/apt/sources.list


Change the 1st line from stable to unstable
Code:
deb http://ftp.debian.org unstable main contrib non-free


2. Install podget
Code:
apt-get update
apt-get install podget

podget will install

3. Change to back to using stable debian repository machine.
Code:
pico /etc/apt/sources.list


Change the 1st line from unstable to stable
Code:
deb http://ftp.debian.org stable main contrib non-free


4. Launch podget to create configuration
login as mythtv (password mythtv)
type

Code:
podget


Some pre-configured Podcasts will start downloading. Hit ctrl+c to cancel the download.

Clean up any unwanted downloads that may have started in /home/mythtv/POD/

5. Customize podget settings
Next we will customize podget’s download location, enable logging, disable playlist creation, and limit number of back episodes podget will retrieve.
Podget’s configuration file for user mythtv can be found at /home/mythtv/.podget/podgetrc.

Code:
pico /home/mythtv/.podget/podgetrc 


To change download location edit the line

Code:
dir_library=/home/mythtv/POD
to
dir_library=/myth


To enable logging remove the # and space on the line

Code:
# dir_log=/home/mythtv/POD/LOG
to
dir_log=/home/mythtv/POD/LOG

To disable playlist creation clear the value in playlist_namebase

Code:
playlist_namebase=New-
to
playlist_namebase=

To limit podget to only download X back episode podcasts. Leave the value at 0 to get all back episodes. I set mine to 3 back episodes

Code:
most_recent=0
to
most_recent=3


6. Add some Podcasts and Videocasts
Next we will add some sample audio and video podcasts feeds. Podget’s feed configuration file for user mythtv can be found at /home/mythtv/.podget/serverlist.
Code:
pico /home/mythtv/.podget/serverlist


To add the audio Podcast “Linux Reality� add the line
Code:
http://feeds.feedburner.com/linuxreality-mp3 music LinuxReality

The above line is broken into 3 parts, the feed URL, the relative path to download to, and the Title, which will also be a created as a directory. So in the above example the podcast would be downloaded to /myth/music/LinuxReality (/myth was configured in podgetrc)

To add the video Podcast “Systm� add the line

Code:
http://revision3.com/systm/feed/xvid-small video Systm


7. Setup cron to retrieve Podcast regularly
Finally we will setup the cron daemon to run podget regulary and retrieve our podcasts.

Still while logged in as mythtv

Code:
crontab -e


Enter the following line

Code:
15 1 * * * /usr/bin/podget -s  #Podget - Check for new content (silent)


The above line runs the command “/usr/bin/podget –s� at 1:15AM every day. Google “cron� for more specific scheduling options.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 6:06 pm 
Offline
Joined: Sat Apr 08, 2006 7:27 am
Posts: 125
this is exactly what i was searching for. thanks.. ill give it a try on F27.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 25, 2007 7:11 pm 
Offline
Joined: Fri Nov 18, 2005 9:22 am
Posts: 777
Location: spencerport, ny (USA)
This is awesome. Thanks!

My list:
Code:
http://leoville.tv/podcasts/twit.xml tech This Week In Tech
http://podcasts.engadget.com/rss-aac.xml tech Engadget
http://revision3.com/diggnation/feed/mp3 tech Diggnation
http://rssnewsapps.ziffdavis.com/audioblogs/crankygeeks/cg.audio.xml tech Cranky Geeks
http://leoville.tv/podcasts/ww.xml tech Windows Weekly with Paul Thurott
http://sharewareradio.libsyn.com/rss tech Shareware Radio
http://www.cyberears.com/podcasts/podcast_5039.xml tech Delphi Hour Replays


I'm dumping these into a directory that's shared with my Windows machines, so I can easily plop these onto my phone, and listen at my desk with windows media player.

Lots of podcasts listed at http://www.digg.com/podcasts


Top
 Profile  
 
 Post subject: Updating video list
PostPosted: Wed Nov 21, 2007 9:35 pm 
Offline
Joined: Mon Feb 23, 2004 3:11 pm
Posts: 4
Location: Astoria, OR
I've been using Podget this way for a while now and it works great. Thanks for the how to!

I was wondering if there is a way have a cron job run the "video manager" after downloading podcasts to update the database with the new files?


Top
 Profile  
 
 Post subject: Re: Updating video list
PostPosted: Thu Nov 22, 2007 12:30 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
magic wrote:
I was wondering if there is a way have a cron job run the "video manager" after downloading podcasts to update the database with the new files?


IMDB updater script should work http://www.4shared.com/file/23145905/54 ... ertar.html

Never tried it myself...

I set my MythVideo view (Gallery) to browse files. That way Video Manager doesn't have to be run to show new files.

Utilities/Setup>Setup>Video Settings>General Settings>2nd screen, Check "<Your View> browse files"


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 23, 2007 7:11 pm 
Offline
Joined: Mon Feb 23, 2004 3:11 pm
Posts: 4
Location: Astoria, OR
I changed the settings, and that did what I needed. Thanks for the tip!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 26, 2007 9:31 am 
Offline
Joined: Mon Feb 06, 2006 11:12 am
Posts: 8
Cool - Has anyone done this with the vlog/podcasts going into their recordings instead of music or video?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 26, 2007 10:02 am 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
rootmoose wrote:
Cool - Has anyone done this with the vlog/podcasts going into their recordings instead of music or video?


In order for media to show up in recordings it has to have a corresponding entry in the mythconverg, recordings table.

That said, you could probably create a script using the "import recordings" script (forget exact name) to import the recordings into the recordings database after they are downloaded. Also just putting an entry into the database often isn't enough, without a seek table the ffw/rrw functions from the Internal MythTV player are poor. So something to script adding the seek table too is useful.

Also there is a project MythNetTV that may better fit for your needs.

http://www.stillhq.com/mythtv/mythnettv ... release-2/

Release notes:

Quote:
This release has bug fixes (including code from "nickca" for FLV support), and some new minor features. Enjoy!

* Started working harder to ensure video filenames are unique once imported into MythTV, I now prepend video files with epoch seconds at time of import
* DIVX (not divx) doesn't need transcode, added. Check for the existence of the video directory, and return an error if it needs creating.
* Handle storage groups, check for the existence of the data directory
* Updated docs
* Complained about the poor state of SWF support
* WMV support
* FLV support


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 58 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu