Discussion:
Call for Testers: MythTV 0.22 (Trial 2)
(too old to reply)
Bernhard Froehlich
2009-11-23 11:45:03 UTC
Permalink
There were some problems with the first call for testers but that compile
problems should be fixed now and x11 and ivtv should be working.

I've already tested mythtv-frontend and watched some livetv and recordings
on FreeBSD 8.0/amd64 playing content from an mythtv 0.22 backend running
on linux.

Changes since first cft:
mythtv:
- improved mythbackend startscript (patch from Torfinn Ingolfsen)
- enabled ivtv
- fixed build failures

mythtv-frontend:
- fixed DESKTOP_ENTRIES


Download:
- http://home.bluelife.at/ports/mythtv-0.22-20091123.tar.gz

Testing it:

# cd /tmp
# fetch http://home.bluelife.at/ports/mythtv-0.22-20091123.tar.gz
# cd /usr/ports/multimedia
# tar xvf /tmp/mythtv-0.22-20091123.tar.gz
# cd mythtv && make install


Thanks!
--
Bernhard Fröhlich
http://www.bluelife.at/
Torfinn Ingolfsen
2009-11-23 16:40:13 UTC
Permalink
On Mon, 23 Nov 2009 12:45:03 +0100 (CET)
Post by Bernhard Froehlich
There were some problems with the first call for testers but that
compile problems should be fixed now and x11 and ivtv should be
working.
[...]
Still compiling.
Anyway, it looks like parts of MythTV 0.22 now uses
(or want to use) svn:
sh "/usr/ports/multimedia/mythtv/work/mythtv-0.22/version.sh" "/usr/ports/multimedia/mythtv/work/mythtv-0.22" ": http://svn.mythtv.org/svn/tags/release-0-22/mythtv/version.pro "
svnversion: not found

I don't know how that could affect things.
--
Regards,
Torfinn Ingolfsen
Bernhard Froehlich
2009-11-23 20:16:55 UTC
Permalink
Post by Torfinn Ingolfsen
On Mon, 23 Nov 2009 12:45:03 +0100 (CET)
Post by Bernhard Froehlich
There were some problems with the first call for testers but that
compile problems should be fixed now and x11 and ivtv should be
working.
I donwloaded the new cft, and did a clean make install.
Ok, I can now watch recordings that I did previously (with the first
0.22 cft) - this is good.
But when I try to "watch TV", it just stays on the "please wait" screen
a bit, and thenm returns to the menu.
2009-11-23 19:23:21.478 TVRec(2): Changing from None to Watching
WatchingLiveTV
2009-11-23 19:23:21.485 TVRec(2): HW Tuner: 2->2
2009-11-23 19:23:21.702 TVRec(2) Error: Need MPEG recorder, but compiled
without MPEG support!
2009-11-23 19:23:21.704 TVRec(2) Error: Failed to start recorder!
Tuning request was Program(no) channel(1) input(Tuner 0)
flags(LiveTV,)
2009-11-23 19:23:21.711 Finished recording Dagsrevyen: channel 1
2009-11-23 19:23:21.714 TVRec(2): Changing from Watching WatchingLiveTV to
None
2009-11-23 19:34:28.537 TV: Attempting to change from None to Watching
WatchingLiveTV
10.1.150.8:6543 (try 1 of 1)
2009-11-23 19:34:28.540 Using protocol version 50
2009-11-23 19:34:28.543 Spawning LiveTV Recorder -- begin
2009-11-23 19:34:28.780 Spawning LiveTV Recorder -- end
2009-11-23 19:34:28.794 We have a
playbackURL(/d3/mythtv/video/1_20091123193428.mpg) & cardtype(MPEG)
Invalid file (fd -1) when opening '/d3/mythtv/video/1_20091123193428.mpg'.
2009-11-23 19:34:35.296 We have a RingBuffer
2009-11-23 19:35:15.349 TV Error: StartRecorder() -- timed out waiting for
recorder to start
2009-11-23 19:35:15.349 TV Error: LiveTV not successfully started
2009-11-23 19:35:15.353 ScreenSaverX11Private: DPMS Deactivated 1
2009-11-23 19:35:15.354 ScreenSaverX11Private: DPMS Reactivated 1
But it makes sense, the frontend doesn't have a recording device
(PVR-350).
Anyway, config.ep is attached.
I've had a quick look at the code and this message is from SetupRecorder
in libs/libmythtv/tv_rec.cpp and is only displayed when ivtv was not
enabled correctly. But your config has IVTV enabled so there is something
wrong.

You could try to remove the ifdef USING_IVTV and endif in tv_rec.cpp at
around line 989 and see if it helps. I'll try to have a look at it.
--
Bernhard Fröhlich
http://www.bluelife.at/
Torfinn Ingolfsen
2009-11-23 20:31:48 UTC
Permalink
On Mon, 23 Nov 2009 21:16:55 +0100 (CET)
Post by Bernhard Froehlich
I've had a quick look at the code and this message is from
SetupRecorder in libs/libmythtv/tv_rec.cpp and is only displayed when
ivtv was not enabled correctly. But your config has IVTV enabled so
there is something wrong.
I tried a scheduled recording, that resulted in this
in /var/log/mythbackend.log:
2009-11-23 19:52:00.617 Reschedule requested for id 0.
2009-11-23 19:52:00.640 Scheduled 1 items in 0.0 = 0.00 match + 0.02 place
2009-11-23 19:52:29.956 TVRec(2): ASK_RECORDING 2 29 0 0
2009-11-23 19:53:01.755 TVRec(2): Changing from None to Watching RecordingOnly
2009-11-23 19:53:01.760 TVRec(2): HW Tuner: 2->2
2009-11-23 19:53:01.941 TVRec(2) Error: Need MPEG recorder, but compiled without MPEG support!
2009-11-23 19:53:01.942 TVRec(2) Error: Failed to start recorder!
Tuning request was Program(yes) channel(6) input(Tuner 0) flags(Recording,)

2009-11-23 19:53:01.948 Finished recording Siste nytt fra P4: channel 6
2009-11-23 19:53:01.962 TVRec(2): Changing from Watching RecordingOnly to None

and then mythbackend crashed (core dump). From /var/log/messages:
Nov 23 19:53:01 kg-quiet kernel: before tuner_command!
Nov 23 19:53:01 kg-quiet kernel: tuner: tv freq set to 168.25
Nov 23 19:53:01 kg-quiet kernel: tuner: tv 0x0c 0xf3 0x8e 0x02
Nov 23 19:53:02 kg-quiet kernel: pid 57753 (mythbackend), uid 0: exited on signal 11 (core dumped)

The core dump is available, if needed I can run commands on it (if somebody tells me what to run).
Post by Bernhard Froehlich
You could try to remove the ifdef USING_IVTV and endif in tv_rec.cpp
at around line 989 and see if it helps. I'll try to have a look at it.
I'll wait until usleep has said if this issue is driver related or not.
--
Torfinn
Anders Troback
2009-12-15 15:12:10 UTC
Permalink
Hi,

sorry to disturb you but I have a minor question about MythTV!

For a long time ago someone in the ***@freebsd.org list (I
think it was at least) wrote about that they had MyhTV running with
Postgresql instead of MySQL!

Do you know anything about that?

Thanks for all your time and effort!


Cheers,
Anders Trobäck
Sweden
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
u***@gmail.com
2009-12-15 15:39:45 UTC
Permalink
Post by Anders Troback
Hi,
sorry to disturb you but I have a minor question about MythTV!
think it was at least) wrote about that they had MyhTV running with
Postgresql instead of MySQL!
Correct, thas was me. On mythtv-0.18 if I remember correctly. I am running
.22 now, and have given up on the PostgreSQL support. Sadly there is running
an instance of ...MySQL ( yuck! ) on my box now.... MySQL sucks and Monty
has always been an ass!

If you are interested in reviving this, I might be able to help and maybe I
can dig up some old hacks of mine ( basically it was a big "find and
replace" piece of code which hacked the SQL before it got sent off to PGSQL.

regards,

usleep
Post by Anders Troback
Do you know anything about that?
Thanks for all your time and effort!
Cheers,
Anders Trobäck
Sweden
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "
Anders Troback
2009-12-16 10:14:59 UTC
Permalink
Den Tue, 15 Dec 2009 16:39:45 +0100
Post by u***@gmail.com
Post by Anders Troback
Hi,
sorry to disturb you but I have a minor question about MythTV!
think it was at least) wrote about that they had MyhTV running with
Postgresql instead of MySQL!
Correct, thas was me. On mythtv-0.18 if I remember correctly. I am
running .22 now, and have given up on the PostgreSQL support. Sadly
there is running an instance of ...MySQL ( yuck! ) on my box now....
MySQL sucks and Monty has always been an ass!
If you are interested in reviving this, I might be able to help and
maybe I can dig up some old hacks of mine ( basically it was a big
"find and replace" piece of code which hacked the SQL before it got
sent off to PGSQL.
regards,
usleep
Yes that would be nice, if you can find it!

Maybe we can make a PSQL patch option for the FreeBSD port;-)


Thanks!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Bernhard Froehlich
2009-12-15 15:52:30 UTC
Permalink
Post by Anders Troback
Hi,
sorry to disturb you but I have a minor question about MythTV!
think it was at least) wrote about that they had MyhTV running with
Postgresql instead of MySQL!
Do you know anything about that?
Thanks for all your time and effort!
I've talked to the mythtv developers not long ago about that and they only
do support mysql. Currently there are no plans to officially support
PostgreSQL, sqlite or any other database.
--
Bernhard Fröhlich
http://www.bluelife.at/
Anders Troback
2009-12-16 10:11:23 UTC
Permalink
Den Tue, 15 Dec 2009 16:52:30 +0100 (CET)
Post by Bernhard Froehlich
Post by Anders Troback
Hi,
sorry to disturb you but I have a minor question about MythTV!
think it was at least) wrote about that they had MyhTV running with
Postgresql instead of MySQL!
Do you know anything about that?
Thanks for all your time and effort!
I've talked to the mythtv developers not long ago about that and they
only do support mysql. Currently there are no plans to officially
support PostgreSQL, sqlite or any other database.
That's to bad!

Thanks for the info!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Torfinn Ingolfsen
2009-11-28 12:08:26 UTC
Permalink
On Mon, 23 Nov 2009 12:45:03 +0100 (CET)
Post by Bernhard Froehlich
There were some problems with the first call for testers but that
compile problems should be fixed now and x11 and ivtv should be
working.
FWIW, this happens when I 'make deinstall'
/yes, every time):
***@kg-quiet# make deinstall
===> Deinstalling for multimedia/mythtv
===> Deinstalling mythtv-0.22
pkg_delete: unable to completely remove directory '/usr/local/include/mythtv/libmythui'
pkg_delete: unable to completely remove directory '/usr/local/include/mythtv'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

Perhaps worth looking into when the port is fixed.
--
Regards,
Torfinn Ingolfsen
Loading...