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: RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Lunatixz - 2014-09-01

(2014-09-01, 17:10)RockDawg Wrote: That didn't work. When I started PTVL it showed a message saying it was clearing the artwork cache but the logos and all other artwork remained. Here's a log:

http://1drv.ms/1mapZRL

? But, I didn't say to look for a popup, I asked you to trigger it thru the setting under misc. Did you try that? You should see the prompt artwork folder cleared.

(2014-09-01, 07:49)nickca Wrote:
(2014-08-29, 13:44)Lunatixz Wrote:
(2014-08-29, 08:01)nickca Wrote: I've been using PseudoTV Live for a while and have several large (1000+ videos) YouTube channels. I'm also on a Raspberry Pi with a slow WiFi connection. Sometimes when switching between videos, it would load slowly, then attempt to switch to the next channel. The next video would eventually load and play, but as far as PseudoTV knew it had switched channels. The EPG would display as being on the next channel from the one playing, and when it was time to switch videos again, it would play the next video of the channel it switched to. I was able to stop this behavior by commenting out this section in resources/lib/Overlay.py:

This fixes the problem and PseudoTV works how I want it to. Could this be made a settable option?

No this is a required fail safe. Do you have play next video enabled in XBMC? If so try disabling it...

It happens whether that setting is enabled or not. Maybe make the notPlayingCount settable, even as a debug option? I'll try setting it to, say, 12 instead of commenting out that whole block and see if that works. I can't be the only one this happens to, and it makes PTV essentially unusable.

Not going to happen, this feature works as it was designed. You need to tweak xbmcs advandedsettings timeouts for your unique latencies.

PTVL isn't designed for internet connections with a high latency. If it takes more then 10s to load from YouTube... That's and issue on your end. YouTube has some of the fasted servers, it should be a near instant load.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - RockDawg - 2014-09-01

(2014-09-01, 17:20)Lunatixz Wrote:
(2014-09-01, 17:10)RockDawg Wrote: That didn't work. When I started PTVL it showed a message saying it was clearing the artwork cache but the logos and all other artwork remained. Here's a log:

http://1drv.ms/1mapZRL

? But, I didn't say to look for a popup, I asked you to trigger it thru the setting under misc. Did you try that? You should see the prompt artwork folder cleared.


Of course that's what I did and that initiated a popup saying it was clearing the artwork cache. Is it not supposed to show popup saying it's doing what you told it too? When PTVL opened I expected all artwork to be blank while it repopulated and that didn't happen. All artwork remained as it was including old logos that I have since changed.


Re: RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Lunatixz - 2014-09-01

(2014-09-01, 17:40)RockDawg Wrote:
(2014-09-01, 17:20)Lunatixz Wrote:
(2014-09-01, 17:10)RockDawg Wrote: That didn't work. When I started PTVL it showed a message saying it was clearing the artwork cache but the logos and all other artwork remained. Here's a log:

http://1drv.ms/1mapZRL

? But, I didn't say to look for a popup, I asked you to trigger it thru the setting under misc. Did you try that? You should see the prompt artwork folder cleared.


Of course that's what I did and that initiated a popup saying it was clearing the artwork cache. Is it not supposed to show popup saying it's doing what you told it too? When PTVL opened I expected all artwork to be blank while it repopulated and that didn't happen. All artwork remained as it was including old logos that I have since changed.

https://github.com/Lunatixz/script.pseudotv.live/blob/master/default.py#L113

There are two levels of artwork clearing, 1. folder and cache. 2. Cache only

1. Is only triggered manually in setting under misc.

2. Is triggered by the artwork service when needed.

When 1. Is triggered your user data/add-on_data/script.pseudotv.live/cache/
Artwork and logo folder should be removed.

Can you tell me if it is? This folders will automatically be rebuilt when PTVL runs.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - RockDawg - 2014-09-01

I checked before clearing the cache again and all I have is a add-on_data/script.pseudotv.live/cache/logos folder and it is empty. I do not have an artwork folder. I checked while PTVL was running and old logos and artwork were showing.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - dfdeath - 2014-09-01

(2014-08-31, 22:53)Lunatixz Wrote:
(2014-08-31, 22:49)dfdeath Wrote: The overlay occurs when changing channels too. That's the main place I want it gone actually..

why do you want it removed?

I like PTVL because it emulates real TV, and the loading screen breaks that for me a little bit. Just think it's cleaner without, though I have a pretty fast setup so my channels load quickly. Anyway.. not a huge deal.. just looking for a quick hack.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Lunatixz - 2014-09-01

(2014-09-01, 19:12)dfdeath Wrote:
(2014-08-31, 22:53)Lunatixz Wrote:
(2014-08-31, 22:49)dfdeath Wrote: The overlay occurs when changing channels too. That's the main place I want it gone actually..

why do you want it removed?

I like PTVL because it emulates real TV, and the loading screen breaks that for me a little bit. Just think it's cleaner without, though I have a pretty fast setup so my channels load quickly. Anyway.. not a huge deal.. just looking for a quick hack.

It was added to give users visual feedback, and as you stated shouldn't appear for a long if your channels load quickly. This is kinda a skin issue... It's not required by PTVL... the Loading Screen is part of the skin... Skins don't need to include it... but as for now the two skins I've made have them.

You can always try removing

Code:
<control type="label" id="101">
            <description>Background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <label></label>
            <font>font30</font>
            <align>center</align>
            <aligny>center</aligny>
        </control>

from script.pseudotv.live.TVOverlay.xml


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Gumby - 2014-09-01

Hi, Loving PseudoTV Live on the whole but I have uncovered an issue that may well be affecting many other users having channels that don't fully populate.

So I have about 20 channels which 'seem' to populate ok, on some I noticed a few repeats such as a film playing over and over. I put this down to an aspect of my settings2.xml being wrong.

Then I started using smart playlists to construct a few music video channels (local over SMB and they load all files fine if run direct through videos). One channel loads about 10 tracks (channels are set to 50 programs max atm) and the other channels don't load at all. (each should have about 400 tracks available to build up the channel).

This is the section from the LOG for a file that doesn't scrape:

19:28:42 T:3108 DEBUG: script.pseudotv.live-ChannelList: runActions 2 on channel 4
19:28:42 T:3108 DEBUG: script.pseudotv.live-VideoParser: getVideoLength smb://BEAST/Music Videos/Light Various/Gorillaz - Feel Good Inc..avi
19:28:42 T:3108 DEBUG: AVIParser: determineLength smb://BEAST/Music Videos/Light Various/Gorillaz - Feel Good Inc..avi
19:28:42 T:3108 DEBUG: script.pseudotv.live-FileAccess: trying to open smb://BEAST/Music Videos/Light Various/Gorillaz - Feel Good Inc..avi
19:28:42 T:3108 DEBUG: AVIParser: Duration: 246
19:28:42 T:3108 DEBUG: script.pseudotv.live-ChannelList: buildFileList.dur = 246
19:28:42 T:3108 DEBUG: script.pseudotv.live-ChannelList: buildFileList, failed...'NoneType' object has no attribute 'group'

The only difference being the final line which (when successful) reads:

19:28:39 T:3108 DEBUG: script.pseudotv.live-ChannelList: packGenreLiveID

So it appears to get the duration ok but then fails to add it to the playlist, happens on normal local (SMB) channels as well as those using smart playlists resulting in some repeating programs and also channels which will sometimes fail and be left out of the EPG completely. One odd thing is that even after a cleanup and channel re-build it is always the same music videos that DO scrape. There is no difference I can see that explains this as they are all in the same folders with identical permissions etc.

Can post full log if needed. This is a clean XBMC (13.2) and PTVL (0.48) install (with all dependencies checked and installed as well as librtemp installed as per post #1)

I hate to have to ask at all but any thoughts? At this point all suggestions will be very gratefully received!


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Lunatixz - 2014-09-01

(2014-09-01, 18:08)RockDawg Wrote: I checked before clearing the cache again and all I have is a add-on_data/script.pseudotv.live/cache/logos folder and it is empty. I do not have an artwork folder. I checked while PTVL was running and old logos and artwork were showing.

logos being empty is a good thing. It means the physical cache files were removed...

I'm thinking you're having an issue with XBMC texture cache... try deleting textureXX.db from your userdata/database folder... this will let XBMC rebuild it's thumbs...

(2014-09-01, 20:41)Gumby Wrote: Hi, Loving PseudoTV Live on the whole but I have uncovered an issue that may well be affecting many other users having channels that don't fully populate.

So I have about 20 channels which 'seem' to populate ok, on some I noticed a few repeats such as a film playing over and over. I put this down to an aspect of my settings2.xml being wrong.

Then I started using smart playlists to construct a few music video channels (local over SMB and they load all files fine if run direct through videos). One channel loads about 10 tracks (channels are set to 50 programs max atm) and the other channels don't load at all. (each should have about 400 tracks available to build up the channel).

This is the section from the LOG for a file that doesn't scrape:

19:28:42 T:3108 DEBUG: script.pseudotv.live-ChannelList: runActions 2 on channel 4
19:28:42 T:3108 DEBUG: script.pseudotv.live-VideoParser: getVideoLength smb://BEAST/Music Videos/Light Various/Gorillaz - Feel Good Inc..avi
19:28:42 T:3108 DEBUG: AVIParser: determineLength smb://BEAST/Music Videos/Light Various/Gorillaz - Feel Good Inc..avi
19:28:42 T:3108 DEBUG: script.pseudotv.live-FileAccess: trying to open smb://BEAST/Music Videos/Light Various/Gorillaz - Feel Good Inc..avi
19:28:42 T:3108 DEBUG: AVIParser: Duration: 246
19:28:42 T:3108 DEBUG: script.pseudotv.live-ChannelList: buildFileList.dur = 246
19:28:42 T:3108 DEBUG: script.pseudotv.live-ChannelList: buildFileList, failed...'NoneType' object has no attribute 'group'

The only difference being the final line which (when successful) reads:

19:28:39 T:3108 DEBUG: script.pseudotv.live-ChannelList: packGenreLiveID

So it appears to get the duration ok but then fails to add it to the playlist, happens on normal local (SMB) channels as well as those using smart playlists resulting in some repeating programs and also channels which will sometimes fail and be left out of the EPG completely. One odd thing is that even after a cleanup and channel re-build it is always the same music videos that DO scrape. There is no difference I can see that explains this as they are all in the same folders with identical permissions etc.

Can post full log if needed. This is a clean XBMC (13.2) and PTVL (0.48) install (with all dependencies checked and installed as well as librtemp installed as per post #1)

I hate to have to ask at all but any thoughts? At this point all suggestions will be very gratefully received!

Thanks for your post... this looks like an extremely easy fix, but you really should have provided me with the full log of this error so I could have fixed it... I'm against snippets... not point to them since your only showing me a few lines when I need to know what led up to the error!

If you happen to still have that log post the link, and I'll look into it.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Lunatixz - 2014-09-01

::Update::

For those advanced users that want to play with "Experimental" new features... you can try the latest Development branch!

It features a rewritten "Direct Plugin" Chtype 15 along with the new "Direct Playon" Chtype 16.

Information on setting2.xml format changes for Chtype 15 can be found here:
(Because of format changes, Community list is outdated until v.0.4.9 is officially released.)
http://forum.xbmc.org/showthread.php?tid=169032&pid=1785136#pid1785136

For Playon to work you need to create a XBMC Video Source titled "PlayOn"
Add new source, navigate to upnp sources and select playon... it should appear as a source upnp://09324908320948230948320498.
Title it "PlayOn" <- Name is important! without PTVL will not know what source is actually playon.

New settings2 for chtype 16 (Playon) will be:
Code:
<setting id="Channel_#_type" value="16" />
<setting id="Channel_#_1" value="hulu/Recently Added/Recently Added Feature Films" />
<setting id="Channel_#_2" value="" />
<setting id="Channel_#_3" value="25" />
<setting id="Channel_#_4" value="0" />
<setting id="Channel_#_changed" value="True" />
<setting id="Channel_#_rulecount" value="1" />
<setting id="Channel_#_rule_1_id" value="1" />
<setting id="Channel_#_rule_1_opt_1" value="Hulu Recent Movies" />
Code:
<setting id="Channel_#_type" value="16" />
<setting id="Channel_#_1" value="hulu/Your Subscriptions" />
<setting id="Channel_#_2" value="" />
<setting id="Channel_#_3" value="25" />
<setting id="Channel_#_4" value="0" />
<setting id="Channel_#_changed" value="True" />
<setting id="Channel_#_rulecount" value="1" />
<setting id="Channel_#_rule_1_id" value="1" />
<setting id="Channel_#_rule_1_opt_1" value="Hulu My Subscriptions" />

_1, Plugin path, paths match what you see when navigating the plugin.
_2, Exclude list, can be files or directories
_3, File limit (applies to each directory). So 25 will parse 25 files per 25 directories found.
_4, sort order, same as other sort order rules.

Playon will allow Hulu, Amazon, Netflix to integrate easily with PseudoTV Live!

If you are interested in signing up for playon services please use my link below or in post 1,

For a limited time sign up using my link below or in post 1 and receive a free google chromecast with the purchase of playon + playon later lifetime

Image


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Gumby - 2014-09-01

Hi Luna,

Apologies, I know you prefer the full log and agree it should be posted as a rule. In my pride however I thought I knew best and that MY snippet would be the section you would need to see!

Here is log:

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

If there is a simple fix I will be very grateful and quite chagrin to boot Smile


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - dfdeath - 2014-09-01

Playon integration, that's awesome! Just curious, what are load times typically when switch to a Playon stream?


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Lunatixz - 2014-09-01

(2014-09-01, 21:35)dfdeath Wrote: Playon integration, that's awesome! Just curious, what are load times typically when switch to a Playon stream?

You tell me Wink I just added the feature, it's less then 24hrs old...

BTW seek isn't available to playon... all shows will start from the beginning.


Re: RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - bry - 2014-09-01

(2014-09-01, 21:35)dfdeath Wrote: Playon integration, that's awesome! Just curious, what are load times typically when switch to a Playon stream?

About 10 seconds on average


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Lunatixz - 2014-09-01

(2014-09-01, 22:33)bry- Wrote:
(2014-09-01, 21:35)dfdeath Wrote: Playon integration, that's awesome! Just curious, what are load times typically when switch to a Playon stream?

About 10 seconds on average

can you test dev build v.0.4.8c has playon autotune... can't get amazon to work (never really had success with playon, amazon)... need you to test for me please.
Thanks


Re: RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - bry - 2014-09-02

Hi
(2014-09-01, 23:13)Lunatixz Wrote:
(2014-09-01, 22:33)bry- Wrote:
(2014-09-01, 21:35)dfdeath Wrote: Playon integration, that's awesome! Just curious, what are load times typically when switch to a Playon stream?

About 10 seconds on average

can you test dev build v.0.4.8c has playon autotune... can't get amazon to work (never really had success with playon, amazon)... need you to test for me please.
Thanks

Absolutely. As soon as I get home I'll test on my staging machine