New MythTV add-on using libcmyth

  Thread Rating:
  • 8 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
tsp42 Offline
Senior Member
Posts: 222
Joined: Aug 2011
Reputation: 11
Location: Denmark
Post: #586
Bilbonvidia: yes currently it is implemented like that. But I'm open to suggestions if anyone would prefer it in another way.

Libcmyth MythTV addon for xbmc-pvr [source] [forum thread]
find quote
cfetzer Online
Fan
Posts: 307
Joined: Jul 2011
Reputation: 16
Post: #587
(2012-04-13 22:56)tsp42 Wrote:  The code I pulled from Kr0nZ includes support for changing the watched state on the backend. It would be nice if you could combine it with your PR although I'm not sure that the addon has access to the watched status (so you would have to add it to the API).

Done Big Grin Seems to work quite well.
Now the watched overlay is mapped to the backend value (if the backend supports it).
Watched flag can be either set using the context menu, and is also set after playback has been finished.

How do you want to have the PR?
Shall I send only one to you? Or split it up and send the api / pvr changes directly to opdenkamp/xbmc?
As long as https://github.com/opdenkamp/xbmc/pull/508 is open, you might run into a small merge conflict once that got in?
Diff: https://github.com/fetzerch/xbmc/compare...ed-backend

Br,
Christian

MythTV PVR addon - Wiki - Development
(This post was last modified: 2012-04-15 11:14 by cfetzer.)
find quote
tsp42 Offline
Senior Member
Posts: 222
Joined: Aug 2011
Reputation: 11
Location: Denmark
Post: #588
I would prefer if you split it up. I can always cherrypick the opdenkamp/xbmc PR (and he can review the PR)

Libcmyth MythTV addon for xbmc-pvr [source] [forum thread]
find quote
bilbonvidia Offline
Fan
Posts: 460
Joined: Jun 2011
Reputation: 2
Location: Britain
Post: #589
(2012-04-15 07:41)tsp42 Wrote:  Bilbonvidia: yes currently it is implemented like that. But I'm open to suggestions if anyone would prefer it in another way.

Its not a big deal, I guess myth tv is primarily designed for scheduling recordings in advance and not for deciding half way through watching a show live that you want to record it. If it is possible it would be nice.
find quote
bilbonvidia Offline
Fan
Posts: 460
Joined: Jun 2011
Reputation: 2
Location: Britain
Post: #590
I seem to have an issue, my video plugins have stopped working, iplayer, 4oD , demand five and itv player. Youtube still works however. I have tried re-installing the addons, any ideas?


omGBnApFCrFrwC&aifp=v001&slist=secure/400kbps/b01g4h48_1334347358.mp4;secure/800kbps/MP/b01g4h48_1334347309.mp4;secure/480kbps/MP/b01g4h48_1334347301.mp4;secure/1500kbps/MP/b01g4h48_1334347053.mp4 playpath=mp4:secure/1500kbps/MP/b01g4h48_1334347053.mp4 swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180> using cache
21:41:53 T:2967767920 WARNING: CreateLoader - Unsupported protocol(rtmp) in rtmp://cp41752.edgefcs.net:1935/ondemand?auth=daEbDb9dba2c8bIbyauc4b2d3a4bUaucvbC-bpIZkr-bWG-KomGBnApFCrFrwC&aifp=v001&slist=secure/400kbps/b01g4h48_1334347358.mp4;secure/800kbps/MP/b01g4h48_1334347309.mp4;secure/480kbps/MP/b01g4h48_1334347301.mp4;secure/1500kbps/MP/b01g4h48_1334347053.mp4 playpath=mp4:secure/1500kbps/MP/b01g4h48_1334347053.mp4 swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180
21:41:53 T:2967767920 ERROR: Open - failed to open source <rtmp://cp41752.edgefcs.net:1935/ondemand?auth=daEbDb9dba2c8bIbyauc4b2d3a4bUaucvbC-bpIZkr-bWG-KomGBnApFCrFrwC&aifp=v001&slist=secure/400kbps/b01g4h48_1334347358.mp4;secure/800kbps/MP/b01g4h48_1334347309.mp4;secure/480kbps/MP/b01g4h48_1334347301.mp4;secure/1500kbps/MP/b01g4h48_1334347053.mp4 playpath=mp4:secure/1500kbps/MP/b01g4h48_1334347053.mp4 swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180>
21:41:53 T:2967767920 ERROR: CDVDPlayer::OpenInputStream - error opening [rtmp://cp41752.edgefcs.net:1935/ondemand?auth=daEbDb9dba2c8bIbyauc4b2d3a4bUaucvbC-bpIZkr-bWG-KomGBnApFCrFrwC&aifp=v001&slist=secure/400kbps/b01g4h48_1334347358.mp4;secure/800kbps/MP/b01g4h48_1334347309.mp4;secure/480kbps/MP/b01g4h48_1334347301.mp4;secure/1500kbps/MP/b01g4h48_1334347053.mp4 playpath=mp4:secure/1500kbps/MP/b01g4h48_1334347053.mp4 swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180]
21:41:53 T:2967767920 NOTICE: CDVDPlayer::OnExit()
21:41:53 T:2967767920 NOTICE: CDVDPlayer::OnExit() deleting input stream
21:41:53 T:2967767920 DEBUG: Thread CDVDPlayer 2967767920 terminating
21:41:53 T:3017570064 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
21:41:53 T:3017570064 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
21:41:53 T:3017570064 ERROR: Playlist Player: skipping unplayable item: 0, path [rtmp://cp41752.edgefcs.net:1935/ondemand?auth=daEbDb9dba2c8bIbyauc4b2d3a4bUaucvbC-bpIZkr-bWG-KomGBnApFCrFrwC&aifp=v001&slist=secure/400kbps/b01g4h48_1334347358.mp4;secure/800kbps/MP/b01g4h48_1334347309.mp4;secure/480kbps/MP/b01g4h48_1334347301.mp4;secure/1500kbps/MP/b01g4h48_1334347053.mp4 playpath=mp4:secure/1500kbps/MP/b01g4h48_1334347053.mp4 swfurl=http://www.bbc.co.uk/emp/10player.swf swfvfy=true timeout=180]
21:41:53 T:3017570064 DEBUG: Playlist Player: no more playable items... aborting playback
(This post was last modified: 2012-04-16 00:07 by bilbonvidia.)
find quote
tekdoc_ Offline
Junior Member
Posts: 3
Joined: Apr 2012
Reputation: 0
Post: #591
(2012-04-14 19:57)tekdoc_ Wrote:  I am unable to watch live TV using the latest Windows binary (or from my own build from this AM). XBMC is running on Windows 7 64-bit and my backend is MythTV .24 fixes running on Arch Linux. The backend works fine with Mythbox and with mythfrontend running on the Arch box.

I am getting these errors in my xbmc.log:

http://xbmclogs.com/show.php?id=1560

Any ideas Huh

UPDATE: xmmc.log moved per request

So I gave up on getting this to work with Windows, wiped the drive and installed Xubuntu 11.10. I built XBMC from source and again, everything works except live TV. When I try to select a channel to watch, I get an immediate segfault. I also got the same results on a different frontend machine. Now I'm thinking it could be a problem with the backend so I tried a few different binary builds of mythbackend but still no dice...

Interestingly, using myth://user:pass@xxx.xxx.xxx.xxx as a video source, live TV works fine Frown

UPDATE: MythTv PVR add-on from dteirney's pvr branch works too
(This post was last modified: 2012-04-16 02:34 by tekdoc_.)
find quote
321liftoff Offline
Member
Posts: 55
Joined: Oct 2010
Reputation: 0
Post: #592
I'm having a problem with EPG data on Win7 using mythbackend and the latest windows build (09/04/2012). EPG hasn't worked for me with older versions either. MythWeb works fine with EPG. Any pointers?

http://pastebin.com/GMqmMNfQ

MythTV Version : v0.24.1
MythTV Branch :
Network Protocol : 63
Library API : 0.24.20110505-1
QT Version : 4.7.4
Options compiled in:
linux release using_oss using_backend using_dvb using_frontend using_hdhomerun
using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg usin
g_qtwebkit using_v4l using_x11 using_mythtranscode using_ffmpeg_threads using_li
ve using_mheg
find quote
bilbonvidia Offline
Fan
Posts: 460
Joined: Jun 2011
Reputation: 2
Location: Britain
Post: #593
(2012-04-15 22:39)bilbonvidia Wrote:  I seem to have an issue, my video plugins have stopped working, iplayer, 4oD , demand five and itv player. Youtube still works however. I have tried re-installing the addons, any ideas?

Is there a compile switch I need to use to enable rtmp support as was the case with vdpau??
(This post was last modified: 2012-04-16 12:52 by bilbonvidia.)
find quote
tsp42 Offline
Senior Member
Posts: 222
Joined: Aug 2011
Reputation: 11
Location: Denmark
Post: #594
bilbonvidia: I had the same problem a while ago. From what I remember there was a problem with librtmp. Might be worth checking out.

321liftoff and tekdoc_: Could you please pastebin the mythtv log and xbmc log with the extended debug info enabled in the mythtv-cmyth addon configuration. use the "all, nodatabase" debug view for the mythtv log

Libcmyth MythTV addon for xbmc-pvr [source] [forum thread]
find quote
bilbonvidia Offline
Fan
Posts: 460
Joined: Jun 2011
Reputation: 2
Location: Britain
Post: #595
Was your rtmp issue independent of you version of xbmc? I have tried marking libttmp for re-installation but no joy.
(This post was last modified: 2012-04-16 20:05 by bilbonvidia.)
find quote
bilbonvidia Offline
Fan
Posts: 460
Joined: Jun 2011
Reputation: 2
Location: Britain
Post: #596
libRTMP support: No
libsmbclient support: Yes
libnfs client support:No
libafpclient support: No
AirPlay support: Yes
AirTunes support: No
Optical drive: Yes
libudev support: No
libusb support: No
libcec support: No
External FFmpeg: No
prefix: /usr/local

I see this at the end of ./configure so presume libRTMP=no is the issue, how to get to = yes?
find quote
tsp42 Offline
Senior Member
Posts: 222
Joined: Aug 2011
Reputation: 11
Location: Denmark
Post: #597
I didn't try another version of xbmc. The problem is that it is a while ago so I don't remember exactly what I did to solve it Undecided Else try searching the forum for "Unsupported protocol(rtmp)" and librtmp.

EDIT
You did try ./configure --enable-rtmp ?
else try a clean source directory. It sometimes helps.

Libcmyth MythTV addon for xbmc-pvr [source] [forum thread]
(This post was last modified: 2012-04-16 21:58 by tsp42.)
find quote
cfetzer Online
Fan
Posts: 307
Joined: Jul 2011
Reputation: 16
Post: #598
(2012-04-15 12:05)tsp42 Wrote:  I would prefer if you split it up. I can always cherrypick the opdenkamp/xbmc PR (and he can review the PR)

Ok will do the requests as soon as opdenkamp has merged the context menu pr Smile

MythTV PVR addon - Wiki - Development
find quote
bilbonvidia Offline
Fan
Posts: 460
Joined: Jun 2011
Reputation: 2
Location: Britain
Post: #599
(2012-04-16 21:50)tsp42 Wrote:  I didn't try another version of xbmc. The problem is that it is a while ago so I don't remember exactly what I did to solve it Undecided Else try searching the forum for "Unsupported protocol(rtmp)" and librtmp.

EDIT
You did try ./configure --enable-rtmp ?
else try a clean source directory. It sometimes helps.

Success, with ./configure --enable-rtmp=yes !

Thanks!
find quote
tsp42 Offline
Senior Member
Posts: 222
Joined: Aug 2011
Reputation: 11
Location: Denmark
Post: #600
(2012-04-16 22:21)cfetzer Wrote:  
(2012-04-15 12:05)tsp42 Wrote:  I would prefer if you split it up. I can always cherrypick the opdenkamp/xbmc PR (and he can review the PR)

Ok will do the requests as soon as opdenkamp has merged the context menu pr Smile
Good work. Have you considered updating the PR to include the XBMC PVR API changes?

Libcmyth MythTV addon for xbmc-pvr [source] [forum thread]
find quote
Post Reply