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 - Edge10101 - 2013-10-27

(2013-10-26, 22:41)Lunatixz Wrote: Upcoming push has changes that will affect your current channel setup: Update with caution!

Push will include:

Fix for youtube limits... limits will include (50,100,150,200,250). They will work with a new settings2.xml entry or a global limit in PTVL's settings:
Limits set in the settings2.xml override the global limit. This allows custom limits per channel.

_3" value="100" /> <-------New entry limits media to 50|100|150|200|250. This is a per channel setting.. one channel could be set to 100 videos while the other 250...

Code:
<setting id="Channel_#_type" value="10" />
<setting id="Channel_#_1" value="MotorTrend" />
<setting id="Channel_#_2" value="1" />
<setting id="Channel_#_3" value="100" />
<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="MotorTrend" />

It's important that you never go to far over the available videos. If you have 100 videos don't use 200!
If you have 51 videos, using 100 will be fine. The next 49 videos will be filled in with repeats.
Also remember youtube channels don't automatically rebuild on every start to improve performance, and reduce the risk of hammering youtube's api... so if you want to fill a channel with new videos daily, weekly, etc. Use the example below.

Code:
<setting id="Channel_#_type" value="10" />
<setting id="Channel_#_1" value="MotorTrend" />
<setting id="Channel_#_2" value="1" />
<setting id="Channel_#_3" value="100" />
<setting id="Channel_#_changed" value="True" />
<setting id="Channel_#_rulecount" value="2" />
<setting id="Channel_#_rule_1_id" value="1" />
<setting id="Channel_#_rule_2_id" value="13" />
<setting id="Channel_#_rule_1_opt_1" value="MotorTrend" />
<setting id="Channel_#_rule_2_opt_1" value="1" />

rule_2_opt_1" value="1" 1 = amount of days to reset, in this case 1


I also added xmltv error checking, which should reduce instances of black screens when xmltv isn't properly configured... If bad or no data is found matching the channel configuration that channel will not build! but the next good configuration will without a black screen error. There is also a new entry that will allow multiple xmltv sources.

_3" value="ustvnow" /> <------- New entry uses the name of the xml file. In this example "ustvnow" refers to ustvnow.xml using the location set in PTVL's settings...
If no custom xml is found it will try the default xmltv.xml... which leaves you two options for standard xmltv files... either rename _3 " value="xmltv" or leave it blank _3 "value=""

Code:
<setting id="Channel_#_type" value="8" />
<setting id="Channel_#_1" value="I27.28460898.microsoft.com" />
<setting id="Channel_#_2" value="plugin://plugin.video.ustvnow/?name=ABC&mode=play" />
<setting id="Channel_#_3" value="ustvnow" />
<setting id="Channel_#_rulecount" value="1" />
<setting id="Channel_#_rule_1_id" value="1" />
<setting id="Channel_#_rule_1_opt_1" value="ABC USTVNOW" />


Autotuning:

Auto-tuning will control channel ordering based on your selection of options. Once auto-tuning is complete you can add traditional channels using whatever method you used previously.
It will also build clean each time it's activated; and builds using all media mapped to XBMC (so large collections will take sometime to build).

There will be a recovery option for users who want to undo auto-tuning after it runs.

Auto-tuning options will include:
  • LiveTV:
    • USTVnow w/EPG
    • HDhomerun (coming soon)
  • TV Network
  • Movie Studios
  • TV Genres
  • Movie Genres
  • Mixed TV/Movie Genres
  • Music Genres
    Music Videos:
    • Youtube (coming soon)
    • VevoTV
    • Local Directory
  • InternetTV (coming soon)
  • User selected addons/plugins (coming soon)

A Backup is made after agreeing to run auto tune, there will be a restore function implemented soon.
a media limit can be set to cut down on channel building time. The limit (100|250|500|Unlimited) will be per channel, till all bugs are worked out I recommend leaving this at 100.

At the moment, Music channels is giving me problems, maybe it will work for you? who knows...
USTVnow only supports free service, If you are a premium users email USTVNOW ask them to support this addon!
XMLTV files for USTVNOW will have to manually be downloaded till I figure out the best way to handle xmltv in python... All files will be included in a folder labeled (xmltv)

AutoTune maybe buggie??, but PTVL should still work as normal... Feedback is a must, I can't possible test every combination by myself Smile Please include links to your logs...

Also, thank you earlieb for finding a solution to the EPG Sync issue.

Just tried the live TV EPG functions with HDHomeRun...
I have my xmltv.xml file saved is a separate folder and don't use USTVNow. I found that I need to put "xmltv" in <setting id="Channel_#_3" value="" /> and can't just leave it blank like you have noted above. Here is the log file.

The EPG jumping issues seem to be resolved. If I choose a show in the future it doesn't pull the shows EPG data to the current time, perfect! Will let you know if things stay in sync over time.

Maybe this falls into the "you can't have everything" category but I notice that now if I want to change a live TV channel on the EPG I need to be on the currently playing show and I can't just select any show in the row. Not a big deal though.


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

@ Edge10101, I noticed that too, with the xmltv in setting3 switch... going to correct it now. So that it defaults to xmltv if blank


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - Grbspltt - 2013-10-27

(2013-10-27, 19:46)alibaba011 Wrote: @Grbspltt
Install the zip & extract it than place in your os addon folder.

so if you are in windows, it will be %appdata%\XBMC\addons\

see wiki : http://wiki.xbmc.org/?title=Userdata instead of Userdata you use addons folder to install any addons manually.

Got it, thanks!


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - ARYEZ - 2013-10-28

Here's my log. I tried to build just off of auto tuned Music Genre channels, got the black screen fail same as before but hopefully the answer is somewhere in here.


my log file


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

(2013-10-28, 01:49)ARYEZ Wrote: Here's my log. I tried to build just off of auto tuned Music Genre channels, got the black screen fail same as before but hopefully the answer is somewhere in here.


my log file

I don't get why it's a black screens for you... but loads for me. My problem is that it creates all the correct playlists, but only fills a few m3u's? so out of 50 genres only two will load. I must be missing something in jason's original code... When I get some free time I will try and track it down.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - scilz - 2013-10-28

my tv guide epg was only popping up for 1sec when i hit enter and i had to force close to get out of ptvl/xbmc then i switched sleep timer from disable to 240 and problem is fixed.


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

(2013-10-28, 15:16)scilz Wrote: my tv guide epg was only popping up for 1sec when i hit enter and i had to force close to get out of ptvl/xbmc then i switched sleep timer from disable to 240 and problem is fixed.

Does the EPG not open all the time or just after auto tuning?


[FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - ARYEZ - 2013-10-28

I've actually had this happen too...it's only after auto tuning. Basically it opens for a second then closes, and then if you try to open it again PTVL crashes. Then if you start PTVL again it works fine, but trees definitely something buggy there.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - scilz - 2013-10-28

yea autotune only and ARYEZ is right 2nd time you open ptvl it work's i just thought it had to do with sleep timer because that was only thing i changed.


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

(2013-10-28, 15:58)scilz Wrote: yea autotune only and ARYEZ is right 2nd time you open ptvl it work's i just thought it had to do with sleep timer because that was only thing i changed.

Okay, and enabling sleep fixes this problem?


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - scilz - 2013-10-28

2nd time you start ptvl it work's dont need to enable sleep.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - mzup - 2013-10-28

Just upgraded to latest push. Tried no custom settings2.xml and it worked. Modified it to only have one type 9 listing for espn-2 using multiple streams in one file and it worked. Went to type eight using same stream file and it fails. Get a black screen. have to kill xbmc to get out of it. Can you not have multiple streams listed in a file for type 8?

This is the settings2 file:
<settings>
<setting id="Channel_30_type" value="8" />
<setting id="Channel_30_1" value="I30.12444.tmsdatadirect.com" />
<setting id="Channel_30_2" value="smb://192.168.1.102/streams/espn-2/espn2.strm" />
<setting id="Channel_30_3" value="" />
<setting id="Channel_30_rulecount" value="1" />
<setting id="Channel_30_changed" value="true" />
<setting id="Channel_30_time" value="0" />
<setting id="Channel_30_rule_1_id" value="1" />
<setting id="Channel_30_rule_1_opt_1" value="ESPN 2" />
<setting id="LastResetTime" value="1382984508" />
</settings>

This is my log issue:

https://dl-web.dropbox.com/get/xbmc.log?w=AACINe0cCshxZV2n8JGCDKEATGpwD7BmWfRmkYJ9Ex9RUQ


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

(2013-10-28, 22:01)mzup Wrote: Just upgraded to latest push. Tried no custom settings2.xml and it worked. Modified it to only have one type 9 listing for espn-2 using multiple streams in one file and it worked. Went to type eight using same stream file and it fails. Get a black screen. have to kill xbmc to get out of it. Can you not have multiple streams listed in a file for type 8?

This is the settings2 file:
<settings>
<setting id="Channel_30_type" value="8" />
<setting id="Channel_30_1" value="I30.12444.tmsdatadirect.com" />
<setting id="Channel_30_2" value="smb://192.168.1.102/streams/espn-2/espn2.strm" />
<setting id="Channel_30_3" value="" />
<setting id="Channel_30_rulecount" value="1" />
<setting id="Channel_30_changed" value="true" />
<setting id="Channel_30_time" value="0" />
<setting id="Channel_30_rule_1_id" value="1" />
<setting id="Channel_30_rule_1_opt_1" value="ESPN 2" />
<setting id="LastResetTime" value="1382984508" />
</settings>

This is my log issue:

https://dl-web.dropbox.com/get/xbmc.log?w=AACINe0cCshxZV2n8JGCDKEATGpwD7BmWfRmkYJ9Ex9RUQ

Bug currently requires you to put an entry in _3 with the name of your xmltv file.
Future push will allow a blank field to default to xmltv.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - mzup - 2013-10-28

Awesome that did it. Will now work on adding more channels and see how that works.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - scilz - 2013-10-28

i am thinking bout getting rid of hulu/netflix/ustvnow/futubox, and getting dish tv i realized i can get more channels for les this way. only thing keeping me from doing it is i don't know if i can add my dishtv channels to ptvl somehow with the hopper or maybe hd homerun. my question is does anyone have dishtv working inside ptvl or know how to do this?