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 - 2014-09-20

(2014-09-20, 16:33)stubk Wrote:
(2014-09-19, 23:03)Lunatixz Wrote: Nothing stands out... and honestly I'm having a really tough time reproducing the problem on my end.

So it's either not the same "subtitle bug"/"seek bug" and is a side effect to something I broke and fixed already? and in that case will be fixed in the next update or it's the same bug?
Another two possibilities I forget to mention is if the subtitle is included in the meta tag or if the video was poorly encoded.

Trust me I know of the bug, its been fixed as much as possible on my end... if it's really a problem for you go back to Frodo the bug isn't there.. it showed up when the Gotham subtitle service was added.

OK, I've got a system running frodo and the original pseudotv addon and I can't produce the problem on that, but on my main system running gotham I can reproduce the bug in ptvl and with the original pseudotv script so it's nothing you've done.


There's definitely no subtitle data anywhere at all, and I can't really accept that 90%+ of my files are poorly encoded. Can you point me to any information on this subtitle bug, or anywhere in the xbmc or ptvl code where I could start digging?

There is nothing to work on in the PTVL code... a seektime is calculated and passed to XBMC... its up to xbmc player to use that information or not.
Only documentation of this problem i'm aware of is here in this thread... use the search tool to find it.

Exact mechanism of this bug is unknown to me, never looked into it... but I would wait for my next release... I have a feeling a unrelated problem that I fixed might have been causing your seek issues.


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

(2014-09-20, 15:44)Lunatixz Wrote:
(2014-09-20, 12:46)bry- Wrote: [quote='breezytm' pid='1797767' dateline='1411205806']
I could not get this thing to work with HDhomerun prime. The guide is a little complicated but I do get it so that's not where the problem is. I simply could not generate the stream files. Besides I would like to make the setup more versatile to any OS.

Would you be willing to support hdhomerun through http?

here's an example: http://10.10.1.14:5004/auto/v702?dlna [http://<hdhomerun ip>:5400/auto/vChannelNumber?dlna]

If I type that in my browser it works.
I know I have to rewrite that tutorial.

Create a text with the link in it. Save it with a .strm extension. Test through file browser to confirm working. First thing you want to do though is setup dhcp reservation on your router for the prime though.

Next update PTVL will have Hdhomerun upnp autotuning w/xmltv matching. Similar to the hdhomerun strm autotune.

@bry- I've tried that before and it doesn't work. I don't understand why it doesn't work but it doesn't.
@Lunatixz has upnp for hdhomerun already been implemented in dev built. Perhaps I can text that. I have xmltv configured already.

Thanks,


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

(2014-09-20, 18:52)breezytm Wrote:
(2014-09-20, 15:44)Lunatixz Wrote:
(2014-09-20, 12:46)bry- Wrote: [quote='breezytm' pid='1797767' dateline='1411205806']
I could not get this thing to work with HDhomerun prime. The guide is a little complicated but I do get it so that's not where the problem is. I simply could not generate the stream files. Besides I would like to make the setup more versatile to any OS.

Would you be willing to support hdhomerun through http?

here's an example: http://10.10.1.14:5004/auto/v702?dlna [http://<hdhomerun ip>:5400/auto/vChannelNumber?dlna]

If I type that in my browser it works.
I know I have to rewrite that tutorial.

Create a text with the link in it. Save it with a .strm extension. Test through file browser to confirm working. First thing you want to do though is setup dhcp reservation on your router for the prime though.

Next update PTVL will have Hdhomerun upnp autotuning w/xmltv matching. Similar to the hdhomerun strm autotune.

@bry- I've tried that before and it doesn't work. I don't understand why it doesn't work but it doesn't.
@Lunatixz has upnp for hdhomerun already been implemented in dev built. Perhaps I can text that. I have xmltv configured already.

Thanks,

I'll upload it to the development build tonight... Let me know if it matches your upnp sources with it's xmltv data.

When you autotune, you select Hdhomerun, UPNP and navigate the folder to UPNP sources, Hdhomerun, then select either favorites or channel.


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

Okay so I went and did my own testing on both the prod and dev versions.

Here are my findings.

Prod

Backend and hdhomerun upnp does not work.

Dev

Backend works but doesn't import tv channel logos and EPG. Pseudo TV also doesn't match the channel number with backend.
HDHomerun upnp still doesn't work.

I can't select the .xml file for the guide. It doesn't show me any files in the folder. Only folders.

I want to say with built in PVR support, Pause/rewind/fast forward live tv and easier setup doc this has the potentials to be the best solution close to a cable box we will ever get in Kodi. At least experience wise. I like it.

(2014-09-20, 21:26)Lunatixz Wrote:
(2014-09-20, 18:52)breezytm Wrote:
(2014-09-20, 15:44)Lunatixz Wrote: I know I have to rewrite that tutorial.

Create a text with the link in it. Save it with a .strm extension. Test through file browser to confirm working. First thing you want to do though is setup dhcp reservation on your router for the prime though.

Next update PTVL will have Hdhomerun upnp autotuning w/xmltv matching. Similar to the hdhomerun strm autotune.

@bry- I've tried that before and it doesn't work. I don't understand why it doesn't work but it doesn't.
@Lunatixz has upnp for hdhomerun already been implemented in dev built. Perhaps I can text that. I have xmltv configured already.

Thanks,

I'll upload it to the development build tonight... Let me know if it matches your upnp sources with it's xmltv data.

When you autotune, you select Hdhomerun, UPNP and navigate the folder to UPNP sources, Hdhomerun, then select either favorites or channel.

I guess I spoke too soon Big Grin
Right now I am doing what you said and select favorites. I also am using mc2xml to create the xmltv.xml file. But the software isn't allowing me to select it.


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

Development build updated

Hdhomerun UPNP autotune:
Select Hdhomerun, UPNP and navigate the folder to UPNP sources, Hdhomerun, then select either favorites or channel.


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

Great. That works. I am not getting the epg part. Do you mind explaining it to me. I read this thing a thousand times already. Still confused.

I added the hdhomerun channels just like you described.


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

Okay I think I found out why epg doesn't work. Keyword "think" is because of the channel type. Quoted from the documentation in page 1.

Quote:InternetTV:
Similar to chtype 8, except that this chtype does not offer EPG data. Its designed for a single 24/7 type stream.

Code:
<setting id="Channel_#_type" value="9" />
<setting id="Channel_#_1" value="5400" />
<setting id="Channel_#_2" value="smb://xxx/strms/VevoTV.strm" />
<setting id="Channel_#_3" value="VevoTV" />
<setting id="Channel_#_4" value="Sit back and enjoy a 24/7 stream of music videos on VEVO TV." />
<setting id="Channel_#_rulecount" value="1" />
<setting id="Channel_#_changed" value="True" />
<setting id="Channel_#_time" value="0" />
<setting id="Channel_#_rule_1_id" value="1" />
<setting id="Channel_#_rule_1_opt_1" value="VevoTV" />

From my settings2.xml file

Code:
<setting id="Channel_1_type" value="9" />
    <setting id="Channel_1_time" value="3872" />
    <setting id="Channel_1_1" value="5400" />
    <setting id="Channel_1_2" value="upnp://62112A60-571E-3B47-A6F2-FBF89CA278C0/Favorites/v702/" />
    <setting id="Channel_1_3" value="702 CBSHD" />
    <setting id="Channel_1_4" value="Unavailable" />
    <setting id="Channel_1_rulecount" value="1" />
    <setting id="Channel_1_rule_1_id" value="1" />
    <setting id="Channel_1_rule_1_opt_1" value="702 CBSHD LiveTV" />
    <setting id="Channel_1_changed" value="False" />

If am wrong, please point me to the right location. I can't think of anything else. Lastly, how do I make the channel listing number matches the actual channel number. I don't see that being discussed anywhere else. For example. I have channel 702 as my 1st channel so it's label chanel 1. I want to set it as 702 instead of 1.


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

Testing new dev version 0.5.0a but the xmltv issue still occurs(6 hours back)Sad
I don't use hd homerun just pvr backend


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

(2014-09-21, 10:14)tromy Wrote: Testing new dev version 0.5.0a but the xmltv issue still occurs(6 hours back)Sad
I don't use hd homerun just pvr backend

Did you force channel reset? I'm not seeing any sync issues... but the last updated should have fixed it, I'll double check


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

(2014-09-20, 16:56)Lunatixz Wrote: There is nothing to work on in the PTVL code... a seektime is calculated and passed to XBMC... its up to xbmc player to use that information or not.
Only documentation of this problem i'm aware of is here in this thread... use the search tool to find it.

Exact mechanism of this bug is unknown to me, never looked into it... but I would wait for my next release... I have a feeling a unrelated problem that I fixed might have been causing your seek issues.

Right, I've done some debugging and found the problem - it's some kind of freak timing issue between ptvl and the xbmc video player which is why it would be very tricky to reproduce.

Basically, the ptvl seek request is sometimes made before the video has actually started playing, so the request is ignored and the video starts at the beginning - you can see it in the debug log where the ptvl 'seeking' debug message appears before the CDVDPlayerVideo 'switching to normal playback' message.

By adding
Code:
xbmc.sleep(100);
at line 800 of Overlay.py just before the seek request is made I can completely prevent the problem from happening. I think the proper way to fix this would be to check that the video is actually playing before the seek request is made?


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

(2014-09-21, 02:21)Lunatixz Wrote: Development build updated

Hdhomerun UPNP autotune:
Select Hdhomerun, UPNP and navigate the folder to UPNP sources, Hdhomerun, then select either favorites or channel.

Fixed my issue with the my "I Love Lucy" Channel, and has made my wife (and by extension, me) very happy.

Thanks again.


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

(2014-09-21, 21:19)stubk Wrote:
(2014-09-20, 16:56)Lunatixz Wrote: There is nothing to work on in the PTVL code... a seektime is calculated and passed to XBMC... its up to xbmc player to use that information or not.
Only documentation of this problem i'm aware of is here in this thread... use the search tool to find it.

Exact mechanism of this bug is unknown to me, never looked into it... but I would wait for my next release... I have a feeling a unrelated problem that I fixed might have been causing your seek issues.

Right, I've done some debugging and found the problem - it's some kind of freak timing issue between ptvl and the xbmc video player which is why it would be very tricky to reproduce.

Basically, the ptvl seek request is sometimes made before the video has actually started playing, so the request is ignored and the video starts at the beginning - you can see it in the debug log where the ptvl 'seeking' debug message appears before the CDVDPlayerVideo 'switching to normal playback' message.

By adding
Code:
xbmc.sleep(100);
at line 800 of Overlay.py just before the seek request is made I can completely prevent the problem from happening. I think the proper way to fix this would be to check that the video is actually playing before the seek request is made?

hmm...

If that was the case, why does it only effect movies and not tvshows?

Have you tried last nights development build? it didn't fix your problem with seeking?

can I see the logs where seek is called before playback? thanks


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

(2014-09-20, 15:44)Lunatixz Wrote:
(2014-09-20, 12:46)bry- Wrote:
(2014-09-20, 11:36)breezytm Wrote: I could not get this thing to work with HDhomerun prime. The guide is a little complicated but I do get it so that's not where the problem is. I simply could not generate the stream files. Besides I would like to make the setup more versatile to any OS.

Would you be willing to support hdhomerun through http?

here's an example: http://10.10.1.14:5004/auto/v702?dlna [http://<hdhomerun ip>:5400/auto/vChannelNumber?dlna]

If I type that in my browser it works.
I know I have to rewrite that tutorial.

Create a text with the link in it. Save it with a .strm extension. Test through file browser to confirm working. First thing you want to do though is setup dhcp reservation on your router for the prime though.

Next update PTVL will have Hdhomerun upnp autotuning w/xmltv matching. Similar to the hdhomerun strm autotune.

(2014-09-20, 12:50)steve55792 Wrote: you can get the plugin in xbmc forum or from playon, you probably download it from total installer in xbmc. Im gonna try it out and see if it works.

Only one I saw was last updated in 2012....

hey luna - testing the hdhr stream building now with the latest dev edition. not getting anything to build successfully. it only wants to autotune via the public stuff lists. can't seem to get it to autotune based on the hdhr prime.

heres my chan lineup https://i.imgur.com/MNNFDkz.jpg


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

(2014-09-21, 21:30)Lunatixz Wrote: hmm...

If that was the case, why does it only effect movies and not tvshows?

Have you tried last nights development build? it didn't fix your problem with seeking?

can I see the logs where seek is called before playback? thanks

You can see it in the log I posted earlier at http://pastebin.com/XzsAVVgB. Seek is called on lines 434, 2635, 3148 and 3471 - the "switching to normal playback" debug is on lines 431, 2633, 3155, 3457 - the one which reset to the beginning was the one with the seek on 3148 and the playback on 3155.

I didn't say it was movies only - this log was for tv show channels. But as you mention it, movies were especially prone to the problem - perhaps because they are larger files and therefore take slightly longer for xbmc to start playing.

As for the development build, I tried that and it didn't fix it. (Even tried it on the latest build of helix but it segfaulted.)


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

(2014-09-21, 22:01)bry- Wrote:
(2014-09-20, 15:44)Lunatixz Wrote:
(2014-09-20, 12:46)bry- Wrote: I know I have to rewrite that tutorial.

Create a text with the link in it. Save it with a .strm extension. Test through file browser to confirm working. First thing you want to do though is setup dhcp reservation on your router for the prime though.

Next update PTVL will have Hdhomerun upnp autotuning w/xmltv matching. Similar to the hdhomerun strm autotune.

(2014-09-20, 12:50)steve55792 Wrote: you can get the plugin in xbmc forum or from playon, you probably download it from total installer in xbmc. Im gonna try it out and see if it works.

Only one I saw was last updated in 2012....

hey luna - testing the hdhr stream building now with the latest dev edition. not getting anything to build successfully. it only wants to autotune via the public stuff lists. can't seem to get it to autotune based on the hdhr prime.

heres my chan lineup https://i.imgur.com/MNNFDkz.jpg

So when you select hdhomerun upnp, navigate to upnp devices, channels... Nothing loads? It should match with xmltv and build. Can I see log?