Have you tried asking this question on one of the myth-tv lists? I'm guessing you will get an answer quickly. On 2/22/06, Carlos E. R. <robin1.listas@tiscali.es> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
2005-11-08 at 10:26 -0500, Ken Schneider wrote:
On Tue, 2005-11-08 at 13:58 +0100, Carlos E. R. wrote:
Is there a program in Linux, that allows me to save the TV stream to a file, then watch that file somewhat later, at the same time you are
saving
the program?
[several people said: mythtv]
Also check the current issue of Linux Journal (page 64), it has a nice article on it. Should hit the news stands soon since the subscribers are receiving their copy now.
Finally, I read the article, at "http://www.linuxjournal.com/article/8562". Disappointing. It describes what mythtv does, but it is no help to get it running.
I compiled it, that was the "easy" part. But it is terrible to setup. Ah! The mouse disappears.
It seems I have first got to call up "mythtv-setup". This is difficult to figure up, but more or less I did setup it.
For example: My card is an "Avertv", not listed (xawtv sees it, yast sees it, kdetv sees it, but not mythtv). What do I use, "Standard V4L capture card"? Heck. :-(
Then comes "video sources". What on earth is a "video source" for this program?
Video source name: mia XMLTV listing grabber: Spain tv_grab_es: configuration will run in the terminal window channel frequency table: europe-west
I click finish, and... two popups: «MythTV was unable to retrieve channel information for your provider. Please check the terminal window for more information» and «You MUST run 'mythfilldatabase --manual' the first time, instead of 'mythfilldatabase'. Your grabber does not provide channel numbers, so you have to set them manually.»
And sure enough, I see this in the terminal window:
2006-02-23 00:43:54.089 new DataDirect_config source == 0 new DataDirect_config source == 1 2006-02-23 00:48:12.664 Please wait while MythTV retrieves the list of available channels sh: tv_grab_es: command not found 2006-02-23 00:48:12.733 tv_grab_es --config-file '/root/.mythtv/mia.xmltv' --configure 2006-02-23 00:48:12.734 exited with status 32512 You _MUST_ run 'mythfilldatabase --manual the first time, instead of just 'mythfilldatabase'. Your grabber does not provide channel numbers, so you have to set them manually.
So, I obey:
nimrodel:~ # mythfilldatabase --manual ### ### Running in manual channel configuration mode. ### This will ask you questions about every channel. ### 2006-02-23 00:54:01.189 New DB connection, total: 1 2006-02-23 00:54:01.213 New DB connection, total: 2 - ----------------- Start of XMLTV output ----------------- 2006-02-23 00:54:01.218 New DB connection, total: 3 nice: tv_grab_es: No such file or directory - ------------------ End of XMLTV output ------------------ Error in 1:1: unexpected end of file Updating icons for sourceid: 2 2006-02-23 00:54:01.262 New DB connection, total: 4 Updated programs: 0 Unchanged programs: 0 Failed to fetch some program info
It complains about the program 'tv_grab_es' not existing. I don't have it anywhere. What is it, where do I get it from? Is it needed at all? If the intention is to tell mythtv what the timetables of the different stations are, I don't think it does exist here, and it would be useless anyway: stations change programs without notice, nor do they keep their own published timetables. How do I tell it not to even try?
So it seems I have to set up the frequencies manually using 'mythtv-setup'. I do, I set up one channel only, for testing. I don't enter the frequency, I don't see where: just the channel number.
Ok... I try to watch something, anyway. I fire up both the frontend and the backend in different xterms. The frontend just shows a "nice" black on black screen when I tell it to "watch tv". The terminal shows this:
nimrodel:~ # mythfrontend 2006-02-23 01:25:26.332 New DB connection, total: 1 Total desktop width=1024, height=768, numscreens=1 2006-02-23 01:25:26.362 Using screen 0, 1024x768 at 0,0 2006-02-23 01:25:26.372 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org 2006-02-23 01:25:26.373 Enabled verbose msgs : important general 2006-02-23 01:25:27.077 Switching to square mode (G.A.N.T.) mythtv: could not connect to socket mythtv: Connection refused lirc_init failed for mythtv, see preceding messages 2006-02-23 01:25:27.610 Joystick disabled. 2006-02-23 01:25:27.728 Registering Internal as a media playback plugin. 2006-02-23 01:25:43.260 New DB connection, total: 2 2006-02-23 01:25:43.306 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) 2006-02-23 01:25:43.315 Using protocol version 15 2006-02-23 01:25:43.369 Using protocol version 15 2006-02-23 01:25:43.399 Event socket closed. No connection to the backend. 2006-02-23 01:26:03.379 ReadStringList timeout (quick).
By this time, the backend has crashed. The xterm for the backend shows:
nimrodel:~ # mythbackend --daemon nimrodel:~ # 2006-02-23 01:25:06.315 New DB connection, total: 1 Starting up as the master server. 2006-02-23 01:25:06.350 New DB connection, total: 2 2006-02-23 01:25:06.376 Channel(/dev/video0): CheckChannel failed. Please verify channel "3" in the "setup" Channel Editor. 2006-02-23 01:25:06.384 New DB scheduler connection 2006-02-23 01:25:06.396 mythbackend version: 0.18.1.20050510-1 www.mythtv.org 2006-02-23 01:25:06.397 Enabled verbose msgs : important general 2006-02-23 01:25:06.399 New DB connection, total: 3 2006-02-23 01:25:08.394 Reschedule requested for id -1. 2006-02-23 01:25:08.410 Scheduled 0 items in 0.0 = 0.01 match + 0.01 place 2006-02-23 01:25:08.417 Seem to be woken up by USER 2006-02-23 01:25:43.321 MainServer::HandleAnnounce Playback 2006-02-23 01:25:43.321 adding: nimrodel as a client (events: 0) 2006-02-23 01:25:43.362 MainServer::HandleAnnounce Playback 2006-02-23 01:25:43.362 adding: nimrodel as a client (events: 1) 2006-02-23 01:25:43.376 MainServer::HandleAnnounce Playback 2006-02-23 01:25:43.377 adding: nimrodel as a client (events: 0) 2006-02-23 01:25:43.387 ERROR opening file in ThreadedFileWriter. /nuevo/mythv//ringbuf1.nuv: No such file or directory
(There is /nuevo/mythv/ directory, with write permissions for everybody, and I'm root).
So! What do I do, do I hit it with a hammer? I didn't guess that watching and recording TV would be so damn difficult! :-/
- -- Cheers Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76
iD8DBQFD/QqWtTMYHG2NR9URAvfdAJ4rQtfIWKp8OrgJEhmmUB4b8NmmLgCePQU2 rubP8tJdi/X8SVbQfoDaK+Y= =GG0N -----END PGP SIGNATURE-----
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com