MythNettv
From MythTV Official Wiki
Revision as of 12:13, 3 April 2009 by Managementboy (Talk | contribs)
MythNetTV, is a RSS and Atom aggregator for video downloads (podcasts / webtv / movie trailers). The idea is that video blogs end up as recordings in MythTV, which you then watch as if they had be recorded by MythBackend.
Contents |
Features
- Runs from command line, simple GUI available
- RSS subscriptions
- Transcode non supported formats
- HTTP and Torrent support
- Import local files (batch and single)
- Cron Jobs possible
- Automatic retry
- Grouping of subscriptions
- Download statistics
Where?
Developer Homepage: Michael Still
You can download the latest version of this Python application at: SVN
The MythBuntu team provides packages at: MythBuntu testing PPA
How?
Example of subscription:
mythnettv subscribe "http://feeds.feedburner.com/TedtalksHD?format=xml" "TEDTalks"
Example of grouping:
mythnettv group "TEDTalks" "My TED Talks"
Example of listing update:
myhtnettv update
Example of 1 download:
mythnettv download 1
Example of 1 download of 1 specific show:
mythnettv download 1 "TEDTalks"
Example of importing local files:
mythnettv importlocal /tmp/ourwedding.avi "Our Wedding" "Part 1" "The actual Wedding"
Manual usage
url <url> <title> : to download an RSS feed and load the shows
from it into the TODO list. The title is
as the show title in the MythTV user
interface
file <url> <title>: to do the same, but from a file, with a show
title like url above
download <num> : to download that number of shows from the
TODO list. We download some of the oldest
first, and then grab some of the newest as
well.
download <num> <title filter>
: the same as above, but filter to only
download shows with a title exactly
matching the specified filter
download <num> <title filter> <subtitle filter>
: the same as above, but with a regexp title
filter as well
download <num> <title filter> <subtitle filter> justone
: the same as above, but download just one
and then mark all other matches as read
cleartodo : permanently remove all items from the TODO
list
markread <num> : interactively mark some of the oldest <num>
shows as already downloaded and imported
markread <num> <title filter>
: the same as above, but filter to only mark
shows with a title exactly matching the
specified filter
markread <num> <title filter> <subtitle filter>
: the same as above, but with a regexp title
filter as well
markunread <num> : interactively mark some of the youngest <num>
shows as not already downloaded and imported
resetattempts : interactively reset the number of attempts
for matching programs to zero. This will
cause previously failed programs to be
retried
resetattempts <title filter>
: as above, but only for shows with this title
unfail : interactively scan through list of failed downloads
asking the user if they should be tried again
unfail <title filter>
: as above, but only for shows which match the title filter
Handy stuff
todoremote : add a remote URL to the TODO list. This will
prompt for needed information about the
video, and set the date of the program to
now
todoremote <url> <title> <subtitle> <description>
: the same as above, but don't prompt for
anything
importremote : download and immediately import the named
URL. Will prompt for needed information
importremote <url> <title> <subtitle> <description>
: the same as above, but don't prompt for
anything
importtorrent <url> <title> <subtitle> <description>
: the same as above, but force the URL to be
treated as a torrent. This is useful when
MythNetTV doesn't automatically detect
that the URL is to a torrent file.
importlocal <file>: import the named file, using the title,
subtitle and description from the command
line. The file will be left on disk.
importlocal <file>: import the named file. The file will be
left on disk. Will prompt for needed
information
importmanylocal <path> <regexp> <title>:
import all the files from path matching
regexp. title is use as the title for the
program, and the filename is used as the
subtitle
Subscription management
subscribe <url> <title>
: subscribe to a URL, and specify the show
title
list : list subscriptions
unsubscribe <url> <title>
: unsubscribe from a feed, and remove feed programs from TODO list
update : add new programs from subscribed URLs to the
TODO list
update <title> : as above, but just for this program
(things you can do to subscriptions)
archive <title> <path>
: archive all programs with this title to the
specified path. This is useful for shows you
download and import, but want to build a
non-MythTV archive of as well
category <title> <category>
: set the category for a given program. The
category is used for parental filtering within
MythTV.
group <title> <group>
: set the group for a given program. The
group is used as a recording group within
MythTV.
http_proxy <url regexp> <proxy>
: you can choose to use a HTTP proxy for URL
requests matching a given regular expression.
Use this command to define such an entry. This
might be handy if some of the programs you
wish to subscribe to are only accessible over
a VPN.
http_proxy <url regexp> <proxy> <budget mb>
: the same a s above, but you can specify the
maximum number of megabytes to download via
the proxy in a given day. To see proxy usage
information, use the proxyusage command.
Reporting
statistics : show some simple statistics about MythNetTV
log : dump the current internal log entries
nextdownload <num>
: if you executed download <num>, what would
be downloaded?
nextdownload <num> <title filter>
: as above, but only for the specified title
proxyusage : print a simple report on HTTP proxy usage over
the last seven days
Debugging
videodir : show where MythNetTV thinks it should be
placing video files
explainvideodir : verbosely explain why that video directory was
selected. This can help debug when the wrong
video directory is being used, or no video
directory at all is found