![]() |
|
New MythTV add-on using libcmyth - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Development (/forumdisplay.php?fid=32) +--- Forum: PVR Development (/forumdisplay.php?fid=136) +--- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694) 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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
- stevellion - 2011-10-23 00:26 Ouch.. they all disappear back to just a few mythtv ones when I log out of XBMC.. and all come back again when I log back in.. something is up... ![]() Ok - Update. I think there have been some backend DB changes and as I'm storing music & video in mysql, there seems to be no ability to convert.. I've now switched back to non mysql and it's working well. In the log, I saw this... 23:38:57 T:140703467415520 ERROR: Unable to open database: MyVideos42 [1044](Access denied for user 'xbmc'@'%' to database 'MyVideos42') 23:38:57 T:140703467415520 DEBUG: Connecting to mysql:localhost:MyVideos41 23:38:57 T:140703467415520 ERROR: Unable to open database: MyVideos41 [1044](Access denied for user 'xbmc'@'%' to database 'MyVideos41') 23:38:57 T:140703467415520 DEBUG: Connecting to mysql:localhost:MyVideos40 23:38:57 T:140703467415520 ERROR: Unable to open database: MyVideos40 [1040](Too many connections) 23:38:57 T:140703467415520 DEBUG: Connecting to mysql:localhost:MyVideos39 23:38:57 T:140703467415520 ERROR: Unable to open database: MyVideos39 [1040](Too many connections) 23:38:57 T:140703467415520 DEBUG: Connecting to mysql:localhost:MyVideos38 23:38:57 T:140703467415520 ERROR: Unable to open database: MyVideos38 [1040](Too many connections) 23:38:57 T:140703467415520 DEBUG: Connecting to mysql:localhost:MyVideos37 ... 23:38:57 T:140703467415520 ERROR: Unable to open database: MyVideos2 [1044](Access denied for user 'xbmc'@'%' to database 'MyVideos2') 23:38:57 T:140703467415520 DEBUG: Connecting to mysql:localhost:MyVideos1 23:38:57 T:140703467415520 ERROR: Unable to open database: MyVideos1 [1044](Access denied for user 'xbmc'@'%' to database 'MyVideos1') 23:38:57 T:140703467415520 DEBUG: Connecting to mysql:localhost:xbmc_video 23:38:57 T:140703467415520 NOTICE: Old database found - updating from version 0 to 56 23:38:57 T:140703467415520 ERROR: SQL: Can't create database for copy: 'xbmc_video' (1044) 23:38:57 T:140703467415520 ERROR: Unable to copy old database xbmc_video to new version MyVideos56 23:38:57 T:140703467415520 DEBUG: Connecting to mysql:localhost:MyVideos56 23:38:57 T:140703467415520 ERROR: Unable to open database: MyVideos56 [1044](Access denied for user 'xbmc'@'%' to database 'MyVideos56') 23:38:57 T:140703467415520 DEBUG: Connecting to mysql:localhost:MyVideos55 ... Eventually it falls back sqlite, but it's a problem. I guess should report this over on the mainline? - tsp42 - 2011-10-23 01:01 I guess you will have to test mainline first and see if it is an issue that have been fixed after the last merge of mainline into XBMC PVR. PVR/MythTV Live TV debug. - Weatherman - 2011-10-23 03:11 tsp42 Wrote:Weatherman: Could you post a link to the xbmc debug log (and please enable "Include more debug information in the log" in the mythtv cmyth add-on configuration and restart xbmc to let the changes take effect). It is otherwise a bit hard to figure out what is wrong TSP42: Sure, no problem. Here is the debug/log information from running XBMC and going right into Live TV and trying to watch a channel where it will just just sit there at the "Working" prompt. http://pastebin.com/7ZKCKTki The only odd thing I saw was this: ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect: asked for version 8, got version 63 I'm sure it will make more sence to you. Thanks! - Mark - ericminou - 2011-10-23 03:40 Weatherman Wrote:First, a big thank you to TSP for the fantastic work on the PVR/Myth work! I have tried many builds and this one works better than any I have tested with my setup. This is a must have for XBMC! I had the same problem and I think I know the solution (I have a very similar setup). Do you have you channels named 12_1, 12_2, etc... in mythtv backend? - ericminou - 2011-10-23 03:42 Weatherman Wrote:TSP42: Sure, no problem. Here is the debug/log information from running XBMC and going right into Live TV and trying to watch a channel where it will just just sit there at the "Working" prompt. You can ignore that error. If you do some reading on the forum it is the expected behavior. - stevellion - 2011-10-23 10:52 tsp42 Wrote:I guess you will have to test mainline first and see if it is an issue that have been fixed after the last merge of mainline into XBMC PVR. Seems like it's being corroborated in Mainline too - now I posted it... Live TV / MythTV / XBMC - Weatherman - 2011-10-23 15:49 ericminou Wrote:I had the same problem and I think I know the solution (I have a very similar setup). Do you have you channels named 12_1, 12_2, etc... in mythtv backend? Mine are listed like "3 GOLF" and "4 MASN" in the channel editor in MythBuntu's backend setup. I was wondering if it had something to due with the HDHomerun Prime's use of "virtual channels". None of the PVR build I have tested display Live TV under that menu option on my setup - however, using the myth:// (MythTV Client) option in XBMC, all the channels work and display fine. - Mark - ericminou - 2011-10-23 16:00 Weatherman Wrote:Mine are listed like "3 GOLF" and "4 MASN" in the channel editor in MythBuntu's backend setup. All the symptoms seem identical to mines. Just open mythtv-setup on the back end and make sure the channel number is a digit (like 2 or 3, 5, etc...). Name itself doesnt matter. Then try to watch that channel. If that works rename that for all the channels. It did the trick for me. XBMC / MythTV / PVR - Weatherman - 2011-10-23 16:57 ericminou Wrote:All the symptoms seem identical to mines. Just open mythtv-setup on the back end and make sure the channel number is a digit (like 2 or 3, 5, etc...). Name itself doesnt matter. Then try to watch that channel. If that works rename that for all the channels. It did the trick for me. Thanks!!! I just edited one of the channels in the MythBackend to just have the channel number listed as "3" instead of "3 GOLF" and it worked!!! My only question now is what is different about using the myth:// style vs. the Live TV option where one handles that with no problem and the other doesn't. If I want to fix this, I will have to edit some 800 channels. - Mark - robweber - 2011-10-23 17:12 Weatherman Wrote:Thanks!!! I just edited one of the channels in the MythBackend to just have the channel number listed as "3" instead of "3 GOLF" and it worked!!! I believe in mythtv you can have a channel# and a callsign. The channel number should be a number only, while for the callsign you can have the station info. So you can still have the GOLF, ABC, NBC, etc in that area. Take a look at this post: http://forum.xbmc.org/showpost.php?p=911846&postcount=85 it explains the behavior you are seeing. The XBMC PVR expects the channel # to be an integer only, not a string like myth lets you use. It looks like you may end up editing all 800 Channels. You could probably write some SQL to update the DB for you though, something along the lines of splitting the string on the space between the number and the station and then storing the number back into the field while moving the station info the callsign field. |