[mythtv-commits] mythtv commit: r15362 by greg
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Mon Jan 7 17:03:44 UTC 2008
Author: greg
Date: 2008-01-07 17:03:44 +0000 (Mon, 07 Jan 2008)
New Revision: 15362
Changeset: http://cvs.mythtv.org/trac/changeset/15362
Added:
trunk/mythtv/programs/mythbackend/upnpmedia.cpp
trunk/mythtv/programs/mythbackend/upnpmedia.h
Modified:
trunk/mythtv/programs/mythbackend/main.cpp
trunk/mythtv/programs/mythbackend/mediaserver.cpp
trunk/mythtv/programs/mythbackend/mediaserver.h
trunk/mythtv/programs/mythbackend/mythbackend.pro
trunk/mythtv/programs/mythbackend/upnpcdsvideo.cpp
trunk/mythtv/programs/mythbackend/upnpcdsvideo.h
Log:
This update moves the upnp mediamap building code
out of the video class and into one of it's own.
As well it adds some extra options for updating the map.
1. The new class forks it's own thread and auto rebuilds the map
every 30 minutes. The entire process takes under 2 seconds
on my setup over NFS with 2800 videos so I don't see
any reason to run it less often.
2. You can now use a kill -USR1 signal to the backend to force a
rebuild not.
3. You can call mythbackend with --upnprebuild to rebuild the map and exit
similar to the preview generation.
More information about the mythtv-commits
mailing list