Kodi Community Forum
[OLD/CLOSED] PseudoTV Live - Set-Top box solution - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+----- Forum: PseudoTV / PseudoTV Live (https://forum.kodi.tv/forumdisplay.php?fid=231)
+----- Thread: [OLD/CLOSED] PseudoTV Live - Set-Top box solution (/showthread.php?tid=169032)

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 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Lunatixz - 2013-12-19

HAHA I broke Youtube subscription and playlist.... , but figured out where my mistake was... Smile


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - deletedpenguin - 2013-12-19

Before I flood this thread with unnecessary posts about why my channel line up isn't working, is there a tutorial on how to edit your settings2.xml file? I'm a beginner with xml, and would like to better understand how to add in channel options like "watched only" content, or using pre-exsting playlists.

Thanks in advance.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Lunatixz - 2013-12-19

Git updated, let me know how the new Youtube/RSS parsing is working...
I removed "file limit" setting for youtube/RSS. The setting3 "_3" switch is the only limit setting, if left blank a default value of 50 is used (max = 1000). I also removed strm/nfo generation.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - ylafont - 2013-12-19

Just update to the latest from Git.

Youtube channels came up right away, so did the pvr channels.

Still no local media and other internet channels.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Redkiller223 - 2013-12-19

(2013-12-19, 03:07)Lunatixz Wrote: Git updated, let me know how the new Youtube/RSS parsing is working...
I removed "file limit" setting for youtube/RSS. The setting3 "_3" switch is the only limit setting, if left blank a default value of 50 is used (max = 1000). I also removed strm/nfo generation.

Not having any luck with playlists, don't know about subscriptions..... Undecided When building it shows some info real quick about the channel for the playlist, but no actual channel in the epg.
Builds a m3u in cache for the channel as well but nothing in it. Maybe its just me, I don't know... Never had playlists working in earlier versions either. User names work no problemo though.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Lunatixz - 2013-12-19

(2013-12-19, 06:34)Redkiller223 Wrote:
(2013-12-19, 03:07)Lunatixz Wrote: Git updated, let me know how the new Youtube/RSS parsing is working...
I removed "file limit" setting for youtube/RSS. The setting3 "_3" switch is the only limit setting, if left blank a default value of 50 is used (max = 1000). I also removed strm/nfo generation.

Not having any luck with playlists, don't know about subscriptions..... Undecided When building it shows some info real quick about the channel for the playlist, but no actual channel in the epg.

pm me with your playlist url

https://www.dropbox.com/s/4aj4zxg9omtf1su/screenshot018.png

WIP Overlay


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - danz0l - 2013-12-19

OK i cant get this to work. If i use live streams it works perfectly but if i create a TV chanel based on Network from my current library, it starts to configure the channel on load, starts to populate it and then black screens and goes no further. I really dont understand the problem as Psuedo TV works flawlessly and i'm doing nothing different than i would using that plugin.

I've tried deleting all settings files etc and as soon as I create a channel based on Network it does the very same thing. Any ideas ?

I enabled debug but that shows little info on what the problem may be

Heres a snippet from the only log entries that may be causing issue

Code:
19:54:11 T:1820277616  NOTICE: http://www.google-analytics.com/__utm.gif?utmp=PTVL%2F940124634%2FVersion%3A0.2.2%2FSkin%3Adefault&utmac=UA-45979766-1&utmwv=5.2.2d&utmcc=__utma%3D1.940124634.1.1.1.1%3B&utmn=2957500153
19:54:12 T:1820277616  NOTICE: Pragma: no-cache
                                            Expires: Wed, 19 Apr 2000 11:43:00 GMT
                                            Last-Modified: Wed, 21 Jan 2004 19:51:30 GMT
                                            X-Content-Type-Options: nosniff
                                            Content-Type: image/gif
                                            Date: Wed, 18 Dec 2013 13:43:08 GMT
                                            Server: Golfe2
                                            Content-Length: 35
                                            Cache-Control: private, no-cache, no-cache=Set-Cookie, proxy-revalidate
                                            Age: 22262
                                            Alternate-Protocol: 80:quic
                                            Connection: close
19:54:13 T:1820277616   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: VideoParser instance has no attribute 'mountedFS'
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/Overlay.py", line 207, in onInit
                                                if self.readConfig() == False:
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/Overlay.py", line 349, in readConfig
                                                self.channels = self.channelList.setupList()
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 149, in setupList
                                                self.setupChannel(i + 1, False, True, False)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 438, in setupChannel
                                                if self.makeChannelList(channel, chtype, chsetting1, chsetting2, chsetting3, chsetting4, append) == True:
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 742, in makeChannelList
                                                fileList = self.buildFileList(fle, channel)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 1672, in buildFileList
                                                dur = self.videoParser.getVideoLength(uni(match.group(1)).replace("\\\\", "\\"))
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/VideoParser.py", line 69, in getVideoLength
                                                filename = self.handleSMB(filename)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/VideoParser.py", line 101, in handleSMB
                                                return self.mountPosixSMB(newfilename)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/VideoParser.py", line 110, in mountPosixSMB
                                                if self.mountedFS == True:
                                            AttributeError: VideoParser instance has no attribute 'mountedFS'
                                            -->End of Python script error report<--



RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Lunatixz - 2013-12-19

(2013-12-19, 11:20)danz0l Wrote: OK i cant get this to work. If i use live streams it works perfectly but if i create a TV chanel based on Network from my current library, it starts to configure the channel on load, starts to populate it and then black screens and goes no further. I really dont understand the problem as Psuedo TV works flawlessly and i'm doing nothing different than i would using that plugin.

I've tried deleting all settings files etc and as soon as I create a channel based on Network it does the very same thing. Any ideas ?

I enabled debug but that shows little info on what the problem may be

Heres a snippet from the only log entries that may be causing issue

Code:
19:54:11 T:1820277616  NOTICE: http://www.google-analytics.com/__utm.gif?utmp=PTVL%2F940124634%2FVersion%3A0.2.2%2FSkin%3Adefault&utmac=UA-45979766-1&utmwv=5.2.2d&utmcc=__utma%3D1.940124634.1.1.1.1%3B&utmn=2957500153
19:54:12 T:1820277616  NOTICE: Pragma: no-cache
                                            Expires: Wed, 19 Apr 2000 11:43:00 GMT
                                            Last-Modified: Wed, 21 Jan 2004 19:51:30 GMT
                                            X-Content-Type-Options: nosniff
                                            Content-Type: image/gif
                                            Date: Wed, 18 Dec 2013 13:43:08 GMT
                                            Server: Golfe2
                                            Content-Length: 35
                                            Cache-Control: private, no-cache, no-cache=Set-Cookie, proxy-revalidate
                                            Age: 22262
                                            Alternate-Protocol: 80:quic
                                            Connection: close
19:54:13 T:1820277616   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: VideoParser instance has no attribute 'mountedFS'
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/Overlay.py", line 207, in onInit
                                                if self.readConfig() == False:
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/Overlay.py", line 349, in readConfig
                                                self.channels = self.channelList.setupList()
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 149, in setupList
                                                self.setupChannel(i + 1, False, True, False)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 438, in setupChannel
                                                if self.makeChannelList(channel, chtype, chsetting1, chsetting2, chsetting3, chsetting4, append) == True:
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 742, in makeChannelList
                                                fileList = self.buildFileList(fle, channel)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 1672, in buildFileList
                                                dur = self.videoParser.getVideoLength(uni(match.group(1)).replace("\\\\", "\\"))
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/VideoParser.py", line 69, in getVideoLength
                                                filename = self.handleSMB(filename)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/VideoParser.py", line 101, in handleSMB
                                                return self.mountPosixSMB(newfilename)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/VideoParser.py", line 110, in mountPosixSMB
                                                if self.mountedFS == True:
                                            AttributeError: VideoParser instance has no attribute 'mountedFS'
                                            -->End of Python script error report<--

Can I get a full log?


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - danz0l - 2013-12-19

Heres the full log

http://pastebin.com/btXZhzgZ

Ive tried it many times now with the very same results. I've deleted the settings folder, recreated new channels (3 i think in this config). Ive tried a different skin, disabled all my plugin services and even tried different builds. All with the very same results.

I'm using xbmcbuntu

As i say, the very same steps, using PseudoTV vanilla works perfectly and the channels populate as they should. And internet streams works flawlessly on your build.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Indy_star - 2013-12-19

I'm having a problem with an EPG for 1 channel. Here is the channel setup.
Code:
<setting id="Channel_5_type" value="8" />
    <setting id="Channel_5_1" value="I1045.223774507.microsoft.com" />
    <setting id="Channel_5_2" value="plugin://plugin.video.ustvnow/?name=My9&mode=play" />
    <setting id="Channel_5_3" value="ustvnow" />
    <setting id="Channel_5_rulecount" value="1" />
    <setting id="Channel_5_rule_1_id" value="1" />
    <setting id="Channel_5_rule_1_opt_1" value="MyNetworkTV" />

When I try and incorporate the proper EPG data, the channel does not load and the only message in the log I can find about it is the following:

06:59:26 T:6844 ERROR: script.pseudotv.live-ChannelList: Unable to get information about channel 5

When I look in my ustvnow.xml file I see lots of valid data for the channel. Here is an snippet example of valid data as it hasn't happened yet.

Code:
<programme start="20131219230000 -0500" stop="20131219233000 -0500" channel="I1045.223774507.microsoft.com">
        <title lang="en">King of the Hill</title>
        <sub-title lang="en">Rodeo Days</sub-title>
        <desc lang="en">The rodeo comes to town, and Bobby shames his family when he fails at calf-roping and succeeds at being a clown.</desc>

Now this same ustvnow.xml file is able to load the data for the rest of the USTVNOW channels, just not this one troublesome channel. Wondering if there is more debugging I should put on or any insight anyone might have as to what the problem may be?


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - yolan - 2013-12-19

(2013-12-19, 11:32)Lunatixz Wrote:
(2013-12-19, 11:20)danz0l Wrote: OK i cant get this to work. If i use live streams it works perfectly but if i create a TV chanel based on Network from my current library, it starts to configure the channel on load, starts to populate it and then black screens and goes no further. I really dont understand the problem as Psuedo TV works flawlessly and i'm doing nothing different than i would using that plugin.

I've tried deleting all settings files etc and as soon as I create a channel based on Network it does the very same thing. Any ideas ?

I enabled debug but that shows little info on what the problem may be

Heres a snippet from the only log entries that may be causing issue

Code:
19:54:11 T:1820277616  NOTICE: http://www.google-analytics.com/__utm.gif?utmp=PTVL%2F940124634%2FVersion%3A0.2.2%2FSkin%3Adefault&utmac=UA-45979766-1&utmwv=5.2.2d&utmcc=__utma%3D1.940124634.1.1.1.1%3B&utmn=2957500153
19:54:12 T:1820277616  NOTICE: Pragma: no-cache
                                            Expires: Wed, 19 Apr 2000 11:43:00 GMT
                                            Last-Modified: Wed, 21 Jan 2004 19:51:30 GMT
                                            X-Content-Type-Options: nosniff
                                            Content-Type: image/gif
                                            Date: Wed, 18 Dec 2013 13:43:08 GMT
                                            Server: Golfe2
                                            Content-Length: 35
                                            Cache-Control: private, no-cache, no-cache=Set-Cookie, proxy-revalidate
                                            Age: 22262
                                            Alternate-Protocol: 80:quic
                                            Connection: close
19:54:13 T:1820277616   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: VideoParser instance has no attribute 'mountedFS'
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/Overlay.py", line 207, in onInit
                                                if self.readConfig() == False:
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/Overlay.py", line 349, in readConfig
                                                self.channels = self.channelList.setupList()
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 149, in setupList
                                                self.setupChannel(i + 1, False, True, False)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 438, in setupChannel
                                                if self.makeChannelList(channel, chtype, chsetting1, chsetting2, chsetting3, chsetting4, append) == True:
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 742, in makeChannelList
                                                fileList = self.buildFileList(fle, channel)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 1672, in buildFileList
                                                dur = self.videoParser.getVideoLength(uni(match.group(1)).replace("\\\\", "\\"))
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/VideoParser.py", line 69, in getVideoLength
                                                filename = self.handleSMB(filename)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/VideoParser.py", line 101, in handleSMB
                                                return self.mountPosixSMB(newfilename)
                                              File "/home/xbmc/.xbmc/addons/script.pseudotv.live-master/resources/lib/VideoParser.py", line 110, in mountPosixSMB
                                                if self.mountedFS == True:
                                            AttributeError: VideoParser instance has no attribute 'mountedFS'
                                            -->End of Python script error report<--

Can I get a full log?



I have a fix for this. There is an uninitialized variable. If you add self.mountedFS to the def __init__ it works.

Code:
diff --git a/resources/lib/VideoParser.py b/resources/lib/VideoParser.py
index ae8d6fc..63fa9a1 100644
--- a/resources/lib/VideoParser.py
+++ b/resources/lib/VideoParser.py
@@ -43,6 +43,7 @@ class VideoParser:
         self.MKVExts = ['.mkv']
         self.FLVExts = ['.flv']
         self.TSExts  = ['.ts', '.m2ts']
+        self.mountedFS = False


     def log(self, msg, level = xbmc.LOGDEBUG):



RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - danz0l - 2013-12-19

Yolan that works perfectly mate. Thanks. Now my channels are scanning as they should do. Many thanks mate.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - MovieJunky - 2013-12-19

Thanks Yolan! That fixed my version as well!


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - ylafont - 2013-12-20

trying to get the hang of this, can someone tell me what is wrong with this?

<setting id="Channel_901_type" value="9" />
<setting id="Channel_901_1" value="5400" />
<setting id="Channel_901_2" value="smb://192.168.1.2/home/xbmc/Data/PseudoTv/Music/CapitalTV.strm" />
<setting id="Channel_901_3" value="Capital TV" />
<setting id="Channel_901_4" value="UK's No.1 Hit Music Station" />
<setting id="Channel_901_rulecount" value="1" />
<setting id="Channel_901_changed" value="True" />
<setting id="Channel_901_time" value="0" />
<setting id="Channel_901_rule_1_id" value="1" />
<setting id="Channel_901_rule_1_opt_1" value="Capital TV" />

Contents of CapitalTV.strm

rtmp://cdn-sov-2.musicradio.com:80/LiveVideo/Capital timeout=15
http://www.directlinkupload.com/uploads/178.84.36.67/tvstatic.mp4


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Indy_star - 2013-12-20

I've figured out a work around to my problem, even though I'm not sure why. I created a separate mc2xml batch to download the one channel and keep it in a separate .xml file. When I load that, it loads fine. Perhaps a parsing error in the XML reading routine? Any log files I can provide to help narrow down the issue?