Myth 0.24 and livetv support - Jimmer - 2011-06-02
Hi,
I've compiled Dteirney's source (checked out at rev 522d1c1).
My backend (which is also my xbmc frontend) is Natty running myth version:
2:0.24.0+fixes.20110425.56c54fa-0ubuntu0mythbuntu2
The pvr addon connects to the myth backend without problems to get the epg data and play back previously recorded programs from the backend. But, live tv cannot be played back (nor does the addon seem to have the ability schedule recordings....)
I have tried changing the ip address in the pvr addon to the hostname of the machine, the ip address of the machine and also localhost - nothing seems to get me livetv!
Below is my log. It's a fresh launch, debug logging enabled and I've tried to play livetv from a few different channels:
http://pastebin.com/MSSTu2N3
I can confirm that these channels play just fine from mythfrontend....
Is 0.24 livetv support not in the build yet? Or is there something specific to Natty, or the actual myth build I am running?
Been looking forward to the myth stuff catching up with the other pvr addons, let me know if there's anything I need to try or test out for you?
Regards,
Jim
- Katagia - 2011-06-02
You have to wait for XBMC 11.0 for live support with 0.24
- Jimmer - 2011-06-03
Katagia Wrote:You have to wait for XBMC 11.0 for live support with 0.24
Bummer!
I thought it was in trunk already? I've gone through too much faffing around with my backend to start over with a 0.23 setup. Guess I'll have to wait.....
- dubstar_04 - 2011-06-03
Katagia Wrote:You have to wait for XBMC 11.0 for live support with 0.24
im running mythtv 0.24 with xbmc pvr.
It is an older build of dteirneys and it works ok!
if you wait a couple of weeks it is likely his current source will work too.
it is being updated to the latest apis.
- dteirney - 2011-06-09
LiveTV should now work in XBMC master. Make sure you have at least the following revision: https://github.com/xbmc/xbmc/commit/5914c971aab286066c2a3b1b6920b532890c26f0
- hochopeper - 2011-06-09
dteirney Wrote:LiveTV should now work in XBMC master. Make sure you have at least the following revision: https://github.com/xbmc/xbmc/commit/5914c971aab286066c2a3b1b6920b532890c26f0
Thanks!
I have it compiled but have to wait till my wife is finished her 'important' shows so I have a chance to test out the new build properly.
- Jimmer - 2011-06-10
dteirney Wrote:LiveTV should now work in XBMC master. Make sure you have at least the following revision: https://github.com/xbmc/xbmc/commit/5914c971aab286066c2a3b1b6920b532890c26f0
Thanks for the update! When will this commit be included in your pvr repo?
Jim
- rdoac - 2011-06-10
dteirney Wrote:LiveTV should now work in XBMC master. Make sure you have at least the following revision: https://github.com/xbmc/xbmc/commit/5914c971aab286066c2a3b1b6920b532890c26f0
Up to which version of MythTV is this? I appear to have compiled a 0.25 version with a Gentoo ebuild.
- dteirney - 2011-06-11
rdoac Wrote:Up to which version of MythTV is this? I appear to have compiled a 0.25 version with a Gentoo ebuild.
Should work with 0.24. May work with 0.25 unless the protocol version number has been bumped.
- rdoac - 2011-06-13
I can't get a myth protocol source to connect:
Mythbox produces this when asked to view live TV..
17:37:06 T:2823043952 M:1267896320 DEBUG: AquireSession - Aquired existing MythTV session: 0xaa24dd08
17:37:06 T:2823043952 M:1267761152 ERROR: (cmyth)cmyth_conn_connect: asked for version 8, got version 65
17:37:06 T:2823043952 M:1267761152 ERROR: (cmyth)cmyth_conn_connect: failed to connect with any version
17:37:06 T:2823043952 M:1267761152 ERROR: GetControl - unable to connect to server on 192.168.2.10:6543
17:37:06 T:2823043952 M:1267761152 DEBUG: ReleaseSession - Releasing MythTV session: 0xaa24dd08
17:37:06 T:2823043952 M:1267761152 ERROR: CDVDPlayer::OpenInputStream - error opening [myth://mythtv:[email protected]:6543/channels/908.ts]
17:37:06 T:2823043952 M:1267761152 NOTICE: CDVDPlayer::OnExit()
17:37:06 T:2823043952 M:1267761152 NOTICE: CDVDPlayer::OnExit() deleting input stream
17:37:06 T:2823043952 M:1267761152 DEBUG: Thread CDVDPlayer 2823043952 terminating
17:37:06 T:3025499968 M:1267761152 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
17:37:06 T:3025499968 M:1267761152 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
17:37:06 T:3025499968 M:1267761152 ERROR: Playlist Player: skipping unplayable item: 0, path [myth://mythtv:[email protected]:6543/channels/908.ts]
17:37:06 T:3025499968 M:1267761152 DEBUG: Playlist Player: no more playable items... aborting playback
17:37:06 T:3025499968 M:1267761152 NOTICE: CDVDPlayer::CloseFile()
17:37:06 T:3025499968 M:1267761152 WARNING: CDVDMessageQueue(player): ut MSGQ_NOT_INITIALIZED
- dteirney - 2011-06-13
rdoac Wrote:I can't get a myth protocol source to connect:
Mythbox produces this when asked to view live TV..
17:37:06 T:2823043952 M:1267896320 DEBUG: AquireSession - Aquired existing MythTV session: 0xaa24dd08
17:37:06 T:2823043952 M:1267761152 ERROR: (cmyth)cmyth_conn_connect: asked for version 8, got version 65
17:37:06 T:2823043952 M:1267761152 ERROR: (cmyth)cmyth_conn_connect: failed to connect with any version
17:37:06 T:2823043952 M:1267761152 ERROR: GetControl - unable to connect to server on 192.168.2.10:6543
17:37:06 T:2823043952 M:1267761152 DEBUG: ReleaseSession - Releasing MythTV session: 0xaa24dd08
17:37:06 T:2823043952 M:1267761152 ERROR: CDVDPlayer::OpenInputStream - error opening [myth://mythtv:[email protected]:6543/channels/908.ts]
17:37:06 T:2823043952 M:1267761152 NOTICE: CDVDPlayer::OnExit()
17:37:06 T:2823043952 M:1267761152 NOTICE: CDVDPlayer::OnExit() deleting input stream
17:37:06 T:2823043952 M:1267761152 DEBUG: Thread CDVDPlayer 2823043952 terminating
17:37:06 T:3025499968 M:1267761152 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
17:37:06 T:3025499968 M:1267761152 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
17:37:06 T:3025499968 M:1267761152 ERROR: Playlist Player: skipping unplayable item: 0, path [myth://mythtv:[email protected]:6543/channels/908.ts]
17:37:06 T:3025499968 M:1267761152 DEBUG: Playlist Player: no more playable items... aborting playback
17:37:06 T:3025499968 M:1267761152 NOTICE: CDVDPlayer::CloseFile()
17:37:06 T:3025499968 M:1267761152 WARNING: CDVDMessageQueue(player): ut MSGQ_NOT_INITIALIZED
Protocol 65 is part of the pre-release Myth 0.25 version. XBMC currently only supports Myth 0.24.
I'll have to look and see what changes are needed in libcmyth to support protocols after 63. http://www.mythtv.org/wiki/Category:Myth_Protocol
Might not get to that for a while (takes a while to figure out what has changed and therefore needs changing in the client).
- rdoac - 2011-06-15
Success.. I stuck this in lib/cmyth/libcmyth/connection.c
static myth_protomap_t protomap[] = {
{62, "78B5631E"},
{63, "3875641D"},
{64, "8675309J"},
{65, "D2BB94C2"},
{66, "0C0FFEE0"},
{0, 0}
};
And now livetv works in mythbox 0.25 ... At least it did for the 5 seconds my daughter allowed me to test it before she went back to Glee on Hulu.. :-)
I figured it was safe as all the changes are additions not subtractions, so the past code would work as it used to..
- rdoac - 2011-06-16
Hmmm, on the whole it works, but I can't select a different tuner, it defaults to the first one, which is only local channels, not my cable channels (firewire or hdpvr input). Is there a way to change it, or is it a protocol issue?
Not much in the log:
Code: 22:31:48 T:3026048832 M:2205278208 DEBUG: CPlayerCoreFactory::GetPlayers(myth://mythtv:[email protected]:6543/channels/173.ts)
22:31:48 T:3026048832 M:2205278208 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
Snipped Rule check
22:31:48 T:3026048832 M:2204008448 NOTICE: DVDPlayer: Opening: myth://mythtv:[email protected]:6543/channels/173.ts
22:31:48 T:3026048832 M:2204008448 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:31:48 T:2687048560 M:2204008448 DEBUG: Thread CDVDPlayer start, auto delete: 0
22:31:48 T:2687048560 M:2204008448 NOTICE: Creating InputStream
22:31:48 T:2687048560 M:2204008448 DEBUG: AquireSession - Aquired existing MythTV session: 0xb28b2710
22:31:48 T:2687048560 M:2204008448 ERROR: (cmyth)cmyth_conn_connect: asked for version 8, got version 65
22:31:48 T:2687048560 M:2204008448 ERROR: (cmyth)cmyth_conn_connect: asked for version 65, got version 65
22:31:48 T:3022220144 M:2204008448 DEBUG: Thread XFILE::CMythSession start, auto delete: 0
22:31:48 T:2687048560 M:2204008448 ERROR: (cmyth)cmyth_conn_connect: asked for version 8, got version 65
22:31:48 T:2687048560 M:2204008448 ERROR: (cmyth)cmyth_conn_connect: asked for version 65, got version 65
22:31:48 T:3026048832 M:2204008448 DEBUG: ------ Window Init (DialogBusy.xml) ------
22:31:48 T:3026048832 M:2204008448 DEBUG: Alloc resources: 0.01ms (0.00 ms skin load)
22:31:48 T:2687048560 M:2204008448 ERROR: (cmyth)cmyth_recorder_check_channel: cmyth_rcv_okay() failed (-1)
22:31:48 T:2687048560 M:2204008448 ERROR: (cmyth)cmyth_conn_connect: asked for version 8, got version 65
22:31:48 T:2687048560 M:2204008448 ERROR: (cmyth)cmyth_conn_connect: asked for version 65, got version 65
22:31:48 T:2687048560 M:2201833472 ERROR: (cmyth)cmyth_recorder_check_channel: cmyth_rcv_okay() failed (-1)
22:31:48 T:2687048560 M:2199801856 ERROR: (cmyth)cmyth_conn_connect: asked for version 8, got version 65
22:31:48 T:2687048560 M:2199674880 ERROR: (cmyth)cmyth_conn_connect: asked for version 65, got version 65
22:31:48 T:2687048560 M:2199674880 DEBUG: SetupLiveTV - recorder isn't running, let's start it
22:31:49 T:3022220144 M:2193711104 DEBUG: Process - MythTV event LIVETV_CHAIN_UPDATE: live-oac-2011-06-15T22:31:48
22:31:49 T:3022220144 M:2193711104 DEBUG: Process - MythTV event SIGNAL
22:31:49 T:2687048560 M:2193965056 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:49 T:3022220144 M:2192949248 DEBUG: Process - MythTV event RECORDING_LIST_CHANGE_ADD: 1173 2011-06-15T22:31:49
22:31:49 T:3022220144 M:2192949248 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:49 T:3022220144 M:2192949248 DEBUG: Process - MythTV event RECORDING_LIST_CHANGE_UPDATE
22:31:49 T:3022220144 M:2192695296 DEBUG: Process - MythTV event SIGNAL
22:31:49 T:2687048560 M:2187362304 DEBUG: Previous line repeats 2 times.
22:31:49 T:2687048560 M:2187362304 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:49 T:2687048560 M:2187362304 ERROR: (cmyth)original timestamp string: 2011-06-15T22:00:00
22:31:49 T:2687048560 M:2187362304 ERROR: (cmyth)time in seconds: 1308193200
This repeats many times
22:31:49 T:2687048560 M:2187362304 ERROR: (cmyth)time in seconds: 1308193200
22:31:49 T:2687048560 M:2187362304 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:49 T:2687048560 M:2187362304 ERROR: (cmyth)cmyth_proginfo_get_detail: cmyth_proginfo_fill() failed
22:31:49 T:3022220144 M:2187362304 DEBUG: Process - MythTV event SIGNAL
22:31:49 T:2687048560 M:2189647872 DEBUG: Previous line repeats 3 times.
22:31:49 T:2687048560 M:2189647872 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:49 T:2687048560 M:2189647872 ERROR: (cmyth)original timestamp string: 2011-06-15T22:00:00
22:31:49 T:2687048560 M:2183299072 ERROR: (cmyth)time in seconds: 1308193200
22:31:49 T:2687048560 M:2183299072 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:49 T:2687048560 M:2183299072 ERROR: (cmyth)cmyth_proginfo_get_detail: cmyth_proginfo_fill() failed
22:31:49 T:3022220144 M:2183299072 DEBUG: Process - MythTV event SIGNAL
22:31:50 T:2687048560 M:2181763072 DEBUG: Previous line repeats 3 times.
22:31:50 T:2687048560 M:2181763072 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:50 T:2687048560 M:2181763072 ERROR: (cmyth)original timestamp string: 2011-06-15T22:00:00
22:31:50 T:2687048560 M:2181763072 ERROR: (cmyth)time in seconds: 1308193200
and again
22:31:50 T:2687048560 M:2181763072 ERROR: (cmyth)time in seconds: 1308193200
22:31:50 T:2687048560 M:2181763072 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:50 T:2687048560 M:2181763072 ERROR: (cmyth)cmyth_proginfo_get_detail: cmyth_proginfo_fill() failed
22:31:50 T:3022220144 M:2181763072 DEBUG: Process - MythTV event SIGNAL
22:31:52 T:2687048560 M:2290982912 DEBUG: Previous line repeats 37 times.
22:31:52 T:2687048560 M:2290982912 DEBUG: prog_update_callback - prog_update_callback
22:31:52 T:2687048560 M:2290982912 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:52 T:2687048560 M:2290982912 DEBUG: Open - recorder has started on filename myth://oac:6543/mnt/media/Movies/TV/1173_20110615223149.mpg
22:31:52 T:2687048560 M:2290982912 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:52 T:2687048560 M:2290982912 NOTICE: Creating Demuxer
22:31:52 T:2687048560 M:2290982912 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcore-0-i486-linux.so)
22:31:52 T:2687048560 M:2290982912 DEBUG: Loading: /usr/local/lib/xbmc/system/players/dvdplayer/avcore-0-i486-linux.so
22:31:52 T:2687048560 M:2290982912 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcodec-52-i486-linux.so)
22:31:52 T:2687048560 M:2290982912 DEBUG: Loading: /usr/local/lib/xbmc/system/players/dvdplayer/avcodec-52-i486-linux.so
22:31:52 T:2687048560 M:2287935488 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avformat-52-i486-linux.so)
22:31:52 T:2687048560 M:2287935488 DEBUG: Loading: /usr/local/lib/xbmc/system/players/dvdplayer/avformat-52-i486-linux.so
22:31:52 T:2687048560 M:2287173632 DEBUG: Seek - seek to pos 0, whence 16
22:31:52 T:2687048560 M:2286157824 ERROR: Open - error probing input format, myth://mythtv:[email protected]:6543/channels/173.ts
22:31:52 T:2687048560 M:2286157824 DEBUG: OpenDemuxStream - New stream available from input, retry open
Repeats 3 times
22:31:52 T:3022220144 M:2285649920 DEBUG: Process - MythTV event SIGNAL
22:31:52 T:2687048560 M:2285649920 ERROR: Open - error probing input format, myth://mythtv:[email protected]:6543/channels/173.ts
22:31:52 T:2687048560 M:2285649920 DEBUG: OpenDemuxStream - New stream available from input, retry open
22:31:52 T:2687048560 M:2285649920 DEBUG: Seek - seek to pos 0, whence 16
Repeats
22:31:52 T:2687048560 M:2286157824 ERROR: Open - error probing input format, myth://mythtv:[email protected]:6543/channels/173.ts
22:31:52 T:2687048560 M:2286157824 DEBUG: OpenDemuxStream - New stream available from input, retry open
22:31:52 T:3022220144 M:2286157824 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:52 T:2687048560 M:2286157824 DEBUG: Seek - seek to pos 0, whence 16
22:31:52 T:3022220144 M:2286157824 DEBUG: Process - MythTV event RECORDING_LIST_CHANGE_UPDATE
22:31:52 T:2687048560 M:2286157824 ERROR: Open - error probing input format, myth://mythtv:[email protected]:6543/channels/173.ts
22:31:52 T:2687048560 M:2286157824 DEBUG: OpenDemuxStream - New stream available from input, retry open
22:31:52 T:2687048560 M:2286157824 ERROR: OpenDemuxStream - Error creating demuxer
22:31:52 T:2687048560 M:2286157824 NOTICE: CDVDPlayer::OnExit()
22:31:52 T:2687048560 M:2286157824 NOTICE: CDVDPlayer::OnExit() deleting input stream
22:31:52 T:2687048560 M:2284634112 DEBUG: ReleaseSession - Releasing MythTV session: 0xb28b2710
22:31:52 T:2687048560 M:2284634112 DEBUG: Thread CDVDPlayer 2687048560 terminating
22:31:52 T:3022220144 M:2284634112 DEBUG: Process - MythTV event SIGNAL
22:31:52 T:3022220144 M:2284634112 DEBUG: Process - MythTV event LIVETV_CHAIN_UPDATE: live-oac-2011-06-15T22:31:48
22:31:52 T:3026048832 M:2284634112 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
22:31:52 T:3026048832 M:2284634112 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
22:31:52 T:3026048832 M:2284634112 ERROR: Playlist Player: skipping unplayable item: 0, path [myth://mythtv:[email protected]:6543/channels/173.ts]
22:31:52 T:3026048832 M:2284634112 DEBUG: Playlist Player: no more playable items... aborting playback
22:31:52 T:2703833968 M:2284634112 DEBUG: Thread Background Loader start, auto delete: 0
22:31:52 T:2720619376 M:2284634112 DEBUG: Thread CJobWorker start, auto delete: 1
22:31:52 T:3026048832 M:2284634112 NOTICE: CDVDPlayer::CloseFile()
22:31:52 T:3026048832 M:2284634112 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:31:52 T:3026048832 M:2284634112 NOTICE: DVDPlayer: waiting for threads to exit
22:31:52 T:3026048832 M:2284634112 NOTICE: DVDPlayer: finished waiting
22:31:52 T:3026048832 M:2284634112 DEBUG: LinuxRendererGL: Cleaning up GL resources
22:31:52 T:3022220144 M:2285142016 INFO: (cmyth)__cmyth_rcv_proginfo: got recording info
22:31:52 T:3022220144 M:2285142016 DEBUG: Process - MythTV event RECORDING_LIST_CHANGE_UPDATE
- kml2 - 2011-06-16
i've tried to follow what's what with PVR and MythTV backend, and have, frankly, gotten lost in all the various discussions.
If my goal is:
XBMC-from-src-on-Linux
MythTV 24 backend
MythTV frontend-ed inside of XBMC
which src repo(s) do I need?
just dtierney's? also opedenkamp's then merge? some other combination?
happy to RTFM ... just not sure WHICH M to FR.
- rdoac - 2011-06-16
PVR and Myth is disabled at the moment. PVR may work in dtierneys fork. However the main xbmc trunk now has support for livetv and myth 0.24 which was merged into the pvr fork git the other day - however not with the pvr functions. (So a myth:// source will work but not the pvr interface yet). Mythbox also works.
|