Kodi Community Forum
MythTV PVR client Addon Developers Wanted - Developers Only! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: MythTV PVR client Addon Developers Wanted - Developers Only! (/showthread.php?tid=82015)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35


- rupert - 2011-02-17

Jezz_X Wrote:I'm more curious how they show up in a proper non pc enviroment like a tv or sat box or whatever it is and how you would nav in that I doubt a tv would want you to press 8.1 to get to a channel

Simple, you want to go to that specific channel you press the following four buttons [8] [.] [1] [enter]. TVs with built in ATSC tuners support a [.] button on the remote just for this.

The x.y channel numbers are ONLY for terrestrial over the air broadcasts, cable/sat etc generally use integers.

If your just channel surfing you hit the [up] button to go from say 8.1 to 8.2 and if there's no 8.3 then the next channel say 12.1.

Like the previous poster, I've always used the up/down or guide on mythfrontend, but I'm fairly certain it would work the same if I ever tried.


- karatekickz - 2011-02-17

dteirney Wrote:Are you having problems compiling on Win32? I don't have any Windows machines to test on, but I don't know of any reason why it wouldn't compile on Win32.


I compiled on Win32 using the buildsetup.bat file and was successful. However, it doesn't seem that the myth related PVR plugin was compiled nor was the libcmyth.dll. There appears to be no binaries in the

"C:\xxxxx\project\Win32BuildSetup\BUILD_WIN32\Xbmc\addons\pvr.mythtv"

directory. Nor is there a libcmyth.dll in the system folder. The other plugin folders appear to have binaries (tvheadend etc)

Is it possible the buildsetup.bat needs updated to compile in the myth related source?

Thanks.


- jm_maclaren - 2011-02-24

David
For some reason I still cannot get the pvr version to run on my appletv/crystalhd setup. I have done a make distclean per your recommendations. I have wiped the source and re downloaded. Seems like its an appletv issue. maybe its because of the small ram.

Has anyone got the pvr branch to run on an appletv?

xbmc master works fine for me, and I have my fix to keep polling the db until the tuner has set up livetv fine. I am running the latest mythtv trunk. I have not been able yet to just achieve stable livetv without my kludge. I really need to develop on a more powerful setup as the appletv is so slowww...

James


It's Alive! - TravellingGuy - 2011-02-28

After spending 2 hours before realizing git clone wasn't cloning the pvr branch I was expecting it to, I've now got XBMC showing live tv with MythTV backend! Woohoo!

Just wanted to give you guys kudos for the work you're doing on getting MythTV working as a backend.

Thanks a bunch!


MythXML Rewrite - dubstar_04 - 2011-03-09

Might effect the operation and functionality of the mythplugin:

http://code.mythtv.org/trac/ticket/9646


Help Please - zipsnet - 2011-03-16

Can some1 give me a hand here, I'm running
XBMC, Platform: Linux (Ubuntu 10.10, 2.6.35-27-generic x86_64). Built on Mar 15 2011 (Git:d6cd8a3)

with MythtvBackend version: branches/release-0-23-fixes [26437]

I'm able to watch TV if I go into Movies and add mythtv as an addon, but from the Main menu going into Live Tv, I can only see the guide ,


I'm keep getting the eror ERROR: PVR: MythTV PVR Client/http://192.168.1.101:6544 - Client returns bad error (-2) after SignalQuality



Here are my Logs http://paste.ubuntu.com/581221


Thanks.....


- zipsnet - 2011-03-16

Can someone help me here? trying to watch live TV and getting an error

here's my log

http://paste.ubuntu.com/581295/

thanks


- dubstar_04 - 2011-03-16

zipsnet Wrote:Can someone help me here? trying to watch live TV and getting an error

here's my log

http://paste.ubuntu.com/581295/

thanks

I think this is your problem: myth://devnull/: 0x2d6d510

Have you set the hostname properly?

INFO: AquireSession - Aquired new MythTV session for myth://devnull/: 0x2d6d510
ERROR: (cmyth)cmyth_conn_connect: asked for version 8, got version 23056
ERROR: (cmyth)cmyth_conn_connect: asked for version 23056, got version 23056
DEBUG: ReleaseSession - Releasing MythTV session: 0x2d6d510
DEBUG: AquireSession - Aquired existing MythTV session: 0x2d6d510
ERROR: (cmyth)cmyth_db_get_connection: cmyth_db_check_connection failed
ERROR: (cmyth)cmyth_mysql_get_chanlist, finalisation/execution of query failed!
ERROR: GetGuide - Unable to get list of channels: myth://devnull/guide

IIRC you can use your IP or HOSTNAME of the machine that is running mythtv.

Thanks,

Dubstar_04


- zipsnet - 2011-03-17

Thanks, I just fixed that and tried again, but nothing, i do get a mysql error

SQL: Abort due to constraint violation
Query: INSERT INTO channels (iUniqueId, iChannelNumber, idGroup, bIsRadio, bIsHidden, sIconPath, sChannelName, bIsVirtual, bEPGEnabled, sEPGScraper, iClientId, iClientChannelNumber, sInputFormat, sStreamURL, iEncryptionSystem) VALUES (1081, 1, 0, 0, 0, '', 'WGEN', 0, 1, 'client', 1, 8, '', 'myth://192.168.1.101/channels/8.ts', 0);
10:11:04 T:140152112412416 M:5759762432 ERROR: CommitInsertQueries - failed to execute queries


Other than that I get

ERROR: PVR: MythTV PVR Client/http://192.168.1.101:6544 - Client returns bad error (-2) after SignalQuality


I'll upload the log right away.

Thanks Again.


- zipsnet - 2011-03-17

dubstar_04 Wrote:I think this is your problem: myth://devnull/: 0x2d6d510

Have you set the hostname properly?

INFO: AquireSession - Aquired new MythTV session for myth://devnull/: 0x2d6d510
ERROR: (cmyth)cmyth_conn_connect: asked for version 8, got version 23056
ERROR: (cmyth)cmyth_conn_connect: asked for version 23056, got version 23056
DEBUG: ReleaseSession - Releasing MythTV session: 0x2d6d510
DEBUG: AquireSession - Aquired existing MythTV session: 0x2d6d510
ERROR: (cmyth)cmyth_db_get_connection: cmyth_db_check_connection failed
ERROR: (cmyth)cmyth_mysql_get_chanlist, finalisation/execution of query failed!
ERROR: GetGuide - Unable to get list of channels: myth://devnull/guide

IIRC you can use your IP or HOSTNAME of the machine that is running mythtv.

Thanks,

Dubstar_04



Thanks, I just fixed that and tried again, but nothing, i do get a mysql error

SQL: Abort due to constraint violation
Query: INSERT INTO channels (iUniqueId, iChannelNumber, idGroup, bIsRadio, bIsHidden, sIconPath, sChannelName, bIsVirtual, bEPGEnabled, sEPGScraper, iClientId, iClientChannelNumber, sInputFormat, sStreamURL, iEncryptionSystem) VALUES (1081, 1, 0, 0, 0, '', 'WGEN', 0, 1, 'client', 1, 8, '', 'myth://192.168.1.101/channels/8.ts', 0);
10:11:04 T:140152112412416 M:5759762432 ERROR: CommitInsertQueries - failed to execute queries


Other than that I get

ERROR: PVR: MythTV PVR Client/http://192.168.1.101:6544 - Client returns bad error (-2) after SignalQuality


I'll upload the log right away.

Thanks Again.


- zipsnet - 2011-03-17

I have fixed that, but still having problems, I'm getting an error with mysql, could that be?

here's the Log

http://paste.ubuntu.com/581755


Thanks.


PS: After a little research, that error is b/c mysql does not have the tables channels requested my the plugin ...


- opdenkamp - 2011-03-17

the addon is probably not using unique iUniqueId values.

and this line tells me you really do have the "channels" table:
Code:
PVRDB - GetChannels - channel 'Home & Garden Television' loaded from the database



- zipsnet - 2011-03-17

dushmaniac Wrote:the addon is probably not using unique iUniqueId values.

and this line tells me you really do have the "channels" table:
Code:
PVRDB - GetChannels - channel 'Home & Garden Television' loaded from the database

Looking at "PVRDatabase.cpp" I see the addon is creating none of the mysql tables. Is that normal ??


- opdenkamp - 2011-03-17

the addon doesn't create any tables; that's the pvrmanager's job.
tables are created by
Code:
bool CPVRDatabase::CreateTables()



- zipsnet - 2011-03-18

dushmaniac Wrote:the addon doesn't create any tables; that's the pvrmanager's job.
tables are created by
Code:
bool CPVRDatabase::CreateTables()

Never mind ...