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-08-08

(2014-08-08, 05:17)ryanmcclure Wrote: Hi Luna, I am finishing up the info overlay of my skin that I've been working on. I have a quick question, and I'm curious if you know how to help. I'm using

Code:
$INFO[Player.Art(fanart)]

to draw a fanart picture in the show info dialog for the episode. Is there a way to change this art for when I move left or right to the previous or next episode?

Also, without using dynamic artwork, how can I get artwork for shows that are live-streamed from things such as USTVNow?

Without dynamic artwork it's only possible to display art for whats playing and only it its part of the xbmc library.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - ryanmcclure - 2014-08-08

(2014-08-08, 05:22)Lunatixz Wrote:
(2014-08-08, 05:17)ryanmcclure Wrote: Hi Luna, I am finishing up the info overlay of my skin that I've been working on. I have a quick question, and I'm curious if you know how to help. I'm using

Code:
$INFO[Player.Art(fanart)]

to draw a fanart picture in the show info dialog for the episode. Is there a way to change this art for when I move left or right to the previous or next episode?

Also, without using dynamic artwork, how can I get artwork for shows that are live-streamed from things such as USTVNow?

Without dynamic artwork it's only possible to display art for whats play and only it its part of the xbmc library.

Sadface. Oh well. Thanks! I'm just about done with this skin...I was wondering if any users could test it for me when it is done?


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - MrMarijuano - 2014-08-08

I can't delete this post.


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - MrMarijuano - 2014-08-08

about Super Favourites channel type:

<setting id="Channel_#_3" value="Create New Super Folder,Explore XBMC favourites,iSearch" />

Shouldn't "iSearch" say "Super Search"? At least that's what appears on the addon


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - doubleYouX3 - 2014-08-08

I'm planning on beginning a channel manager for pseudotv live next week, if anyone has any knowledge pertaining to this task, or if anyone else is working on a similar project, please let me know.


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

(2014-08-08, 06:50)MrMarijuano Wrote: about Super Favourites channel type:

<setting id="Channel_#_3" value="Create New Super Folder,Explore XBMC favourites,iSearch" />

Shouldn't "iSearch" say "Super Search"? At least that's what appears on the addon
You use an old version of super favorites addon.Try to download from spoyser's repo..I think the latest version is 1.0.14


RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - ryanmcclure - 2014-08-08

(2014-08-08, 09:39)doubleYouX3 Wrote: I'm planning on beginning a channel manager for pseudotv live next week, if anyone has any knowledge pertaining to this task, or if anyone else is working on a similar project, please let me know.

Are you working on something similar to this?

http://forum.xbmc.org/showthread.php?tid=136244

If so, that'll be awesome! ...My only request would be having a Linux port? Smile


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

(2014-08-07, 22:06)Lunatixz Wrote:
(2014-08-07, 20:23)bry- Wrote:
(2014-08-07, 19:26)Lunatixz Wrote: I've seen this before, from my knowledge it parses XMLTV data... Which PTVL already does... what would be the benefit of adding this module?

Ah I was thinking that PTVL could eventually handle all xmltv data with a python wrapper. I did some googling and found that there is 1 for zap2it and one for schedules direct.

Add an option to control the amount of data being pulled into the xmltv file and limit complaints of slow loading/scanning times perhaps. (thinking out loud) of course.

Aside from Schdedulesdirect... the projects I've found are not true wrappers and are more or less just xmltv parsers... I've searched for over a year for a true wrapper so I can have PseudoTV Live request xmltv data on the fly directly from (mc2xml, zap2it, etc)... but no luck Sad

Thanks for the suggestions...
could this be of any use? maybe to modify for zap2it if anything?

edit: or this http://sourceforge.net/projects/pytvgrab/files/
Code:
# This module retrieves SchedulesDirect XML data using a hand-coded SOAP request.
#
# The code is released into the Public Domain.  If you break it, you own both halves.
#
# Original Code by Keith Medcalf, [email protected]

import codecs
import encodings
import gzip
import string
import sys
import time
import urllib2
import urlparse

def FetchXML(userName,
             passWord,
             URL='http://webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService',
             Realm='TMSWebServiceRealm',
             predays=0,
             postdays=14,
             fileName='ddata.xml',
             fileCoding='latin-1',
             gzipped = False):
    cur = time.time()
    startTime = time.strftime( '%Y-%m-%dT00:00:00Z', time.gmtime( cur +  ( predays * 86400.0 ) ) )
    endTime   = time.strftime( '%Y-%m-%dT00:00:00Z', time.gmtime( cur + ( postdays * 86400.0 ) ) )
    strSoap = '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">\n' \
              ' <SOAP-ENV:Body>\n' \
              '  <m:download xmlns:m="urn:TMSWebServices" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">\n' \
              '   <startTime xsi:type="xsd:dateTime">' + startTime + '</startTime>\n' \
              '   <endTime xsi:type="xsd:dateTime">' + endTime + '</endTime>\n' \
              '  </m:download>\n' \
              ' </SOAP-ENV:Body>\n' \
              '</SOAP-ENV:Envelope>'
    print '#', time.strftime('%Y/%m/%d %H:%M:%S'), "Retrieving DataDirect TV Schedules"
    print '#', time.strftime('%Y/%m/%d %H:%M:%S'), "Requesting", startTime, "to", endTime
    authinfo = urllib2.HTTPDigestAuthHandler()
    authinfo.add_password(Realm, urlparse.urlparse(URL)[1], userName, passWord)
    request = urllib2.Request(URL, strSoap)
    if gzipped:
        request.add_header('Accept-encoding', 'gzip')
        if fileName[-3:].lower() == '.gz':
            fileName = fileName[:-3]
        fileName += '.gz'
    opener = urllib2.build_opener(authinfo)
    urllib2.install_opener(opener)
    print '#', time.strftime('%Y/%m/%d %H:%M:%S'), 'Saving XML to File: ' + fileName + ', Encoding: ' + fileCoding
    fileObj = None
    if fileCoding == 'native':
        urldata = opener.open(request)
        outfile = open(fileName,'wb',262144)
        repenc = False
    elif not gzipped:
        urldata = codecs.getreader('utf-8')(opener.open(request), errors='replace')
        outfile = codecs.open(fileName,'wb', fileCoding, 'replace', 262144)
        repenc = True
    else:
        raise ValueError('Codepage Translation of GZIP data not supported')
    print '#', time.strftime('%Y/%m/%d %H:%M:%S'), 'Receiving XML Data', ' '*30,
    fmt = ('\b'*30) + '%6d KB, %3d KB/s, %3d KB/s'
    data = 'X'
    bytes = 0
    currb = 0
    first = time.time()
    last = time.time() - 1
    while data:
        data = urldata.read(8192)
        b = len(data)
        bytes += b
        currb += b
        if repenc:
            data = string.replace(data, "encoding='utf-8'", "encoding='"+fileCoding+"'")
            repenc = False
        if data:
            outfile.write(data)
        curr = time.time()
        diff = curr - last
        if diff >= 0.999:
            print fmt % ((bytes//1024), currb//1024//(curr-last), bytes//1024//(curr-first)),
            last = curr
            currb = 0
    urldata.close()
    outfile.close()
    if fileObj:
        fileObj.close()
    print fmt % ((bytes//1024), 0, bytes//1024//(curr-first))
    print '#', time.strftime('%Y/%m/%d %H:%M:%S'), "Data Retrieval Complete"

if __name__ == '__main__':
    userName = "<username>"
    password = "<password>"
    FetchXML(userName, password)



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

(2014-08-08, 17:58)bry- Wrote:
(2014-08-07, 22:06)Lunatixz Wrote:
(2014-08-07, 20:23)bry- Wrote: Ah I was thinking that PTVL could eventually handle all xmltv data with a python wrapper. I did some googling and found that there is 1 for zap2it and one for schedules direct.

Add an option to control the amount of data being pulled into the xmltv file and limit complaints of slow loading/scanning times perhaps. (thinking out loud) of course.

Aside from Schdedulesdirect... the projects I've found are not true wrappers and are more or less just xmltv parsers... I've searched for over a year for a true wrapper so I can have PseudoTV Live request xmltv data on the fly directly from (mc2xml, zap2it, etc)... but no luck Sad

Thanks for the suggestions...
could this be of any use? maybe to modify for zap2it if anything?

edit: or this http://sourceforge.net/projects/pytvgrab/files/

I've also checked out pygrabber before... not what we need. As for Schedule direct... don't use the service, and there are free alternatives... so I'm not game on adding support for their service.... I will add support for direct listing data from the PVR backend... towards the end... since it requires some rewrites to accommodate the limited data available through the client plugin.... What I really need is a mc2xml python wrapper! mc2xml is available for all majors OS's.


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

luna - check PM


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

(2014-08-07, 17:19)ryanmcclure Wrote: @dmchristenson, looks much better than mine! I may download yours and edit it to fit my needs Tongue...if, of course, that's okay with you!!!

Edit: I've found that this skin doesn't like logos at all. Currently working with it to make logos work.

I would love an overlay that used more of clearlogos and especially clearart in the OSD, I've been meaning to tackle it, but too damn busy at work this summer.


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

My (almost) finished skin. Very slim and quick--works great on the Raspberry Pi. No dynamic artwork available for this skin. Here are screenshots. Will be posting a link for downloading soon.

Information overlay:
Image
Guide (EPG):
Image


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

(2014-08-08, 16:50)ryanmcclure Wrote:
(2014-08-08, 09:39)doubleYouX3 Wrote: I'm planning on beginning a channel manager for pseudotv live next week, if anyone has any knowledge pertaining to this task, or if anyone else is working on a similar project, please let me know.

Are you working on something similar to this?

http://forum.xbmc.org/showthread.php?tid=136244

If so, that'll be awesome! ...My only request would be having a Linux port? Smile

Yes, something similar to this, but with more features. I've decided to try and use the gtk# toolkit using mono, which should run on windows/linux/mac, and provide the sqlite support needed for library integration/editing stuff.

Of course, I haven't even started coding yet, but I will start next weekish and I will post here when I have a working demo, or if I abandon the cause.
Safety not guaranteed. I have only done this once before.


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

While looking through the source to debug an issue I found with my recent patch to the EPG offset for ustvnow, I noticed under channel type 8 (ustvnow), option 3 has a possible value of "ftvguide." I looked at the xmltv guide and it doesn't have the -0400 offset listed on the start and end times. This means that my patch may cause this second tv guide times to be off. The ftvguide option isn't listed anywhere in your examples. Are these actually in use or just some left over unused feature?


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

(2014-08-09, 09:08)doubleYouX3 Wrote:
(2014-08-08, 16:50)ryanmcclure Wrote:
(2014-08-08, 09:39)doubleYouX3 Wrote: I'm planning on beginning a channel manager for pseudotv live next week, if anyone has any knowledge pertaining to this task, or if anyone else is working on a similar project, please let me know.

Are you working on something similar to this?

http://forum.xbmc.org/showthread.php?tid=136244

If so, that'll be awesome! ...My only request would be having a Linux port? Smile

Yes, something similar to this, but with more features. I've decided to try and use the gtk# toolkit using mono, which should run on windows/linux/mac, and provide the sqlite support needed for library integration/editing stuff.

Of course, I haven't even started coding yet, but I will start next weekish and I will post here when I have a working demo, or if I abandon the cause.
Safety not guaranteed. I have only done this once before.

It also needs to support mysql...