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

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: MythTV PVR client Addon Developers Wanted - Developers Only! (/showthread.php?tid=82015)



Help Please - zipsnet - 2011-03-16 20:02

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 22:46

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 23:26

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 16:21

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 16:22

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 21:30

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 21:56

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 22:37

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 22:45

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 02:59

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 ...