[OLD/CLOSED] PseudoTV Live - Set-Top box solution
(2014-05-12, 23:20)for-the Wrote:
(2014-05-12, 22:19)Lunatixz Wrote: You need to find a way to add the videos to a YouTube playlist. Then gdata the playlist which will have all relevant info in it.

I think that just moves the problem: Instead of being unable to create the channel, I'll be unable create the playlist because adding 100 videos to playlist is still 100 API calls. (Also, create the playlist under who's account? Create a PseudoTV user that has, literally, 1000s of playlists for each PsuedoTV Live user? Or force user to submit their youtube account details and have it create playlists on their account?)

The best solution I can think of is for me to create a youtube video that just says "Error: API Overload" and have it pass that video information back to PseduoTV Live when the API limit is hit. So, for the 10% of the time that it doesn't work for, it'll at least tell them why and they'll still have a working channel list. Then, hopefully, on the channel's next refresh, they won't hit the limit and those videos will eventually get populated. Not the prettiest of solutions... But, the view count on the video will also be a good indication of how often users are hitting the API limit.

So instead of building a list that can be parsed correctly, you would rather api call each video until you get temp banned from the api, then right code to handle the exception? I wouldn't be interested in that...

If you have the video id's which you indicated you do. Then just should add the videos to a youtube playlist using python, Then parse the playlist for video data.

If I were you I would do something like this http://stackoverflow.com/questions/21277...-in-python batch the job to only add 25 video id's at a time up to a limit set by the user (25|50|100|etc).
Then I would call the playlist with feedparser and get all information to populate channel with.

(2014-05-12, 23:24)ianuk2005 Wrote:
(2014-05-12, 21:02)Lunatixz Wrote:
(2014-05-12, 20:51)ianuk2005 Wrote: All my media seems to be scraped correctly with the correct run times. The plugins i'm using are gomovies and gotv which pulls data from various sources before selecting a stream source. I'm not sure how pseudotv handles everything back end so i'm assuming that it's not receiving any run times from the plugin and defaulting? Is there any solution to this that will make it use the run times from the library info?

Are you using strms or direct plugin building?

Strm files, content example:

plugin://plugin.video.GOtv/?action=play&name=2+Broke+Girls+S01E01&title=Pilot&imdb=1845307&tvdb=248741&year=2011&season=1&episode=1&show=2+Broke+Girls&show_alt=2+Broke+Girls&date=2011-09-19

okay, think I have an idea why it's not working for you... that plugin doesn't generate nfos... I'll add some code to deal with the problem...
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?


Messages In This Thread
RE: [FORK] - by jcaa6479 - 2013-07-16, 23:25
Re: RE: - by bry - 2013-07-19, 08:42
Audio Muting Consistently ? - by gjwAudio - 2013-08-18, 08:25
PTVL Anomalies... - by gjwAudio - 2013-08-25, 01:15
Help Find The BAD Channel... - by gjwAudio - 2013-08-27, 02:12
RE: - by DLWhittet - 2013-10-13, 02:48
Problems with Pseudo TV Live - by media-mogul - 2013-11-07, 22:45
Setup wifi cam stream - by rebelmaveric19 - 2013-12-12, 00:54
Black Screen - by Antisthenes - 2014-03-03, 02:06
RE: [FORK] - by Lunatixz - 2014-03-25, 18:21
Re: RE: - by Lunatixz - 2014-04-26, 17:10
RE: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - by Lunatixz - 2014-05-12, 23:53
Update breaks autostart? - by grumpygamer - 2014-07-12, 11:48
Re: RE: Update breaks autostart? - by bry - 2014-07-12, 13:44
PseudoTV Live + HDHomerun Tutorial - by bry - 2014-07-25, 23:17
RE: [FORK] - by tromy - 2014-09-22, 19:14
Custom Live Channel - by GavinCampbell - 2014-11-01, 18:20
Options menu? - by Pendragon445 - 2014-11-02, 20:23
Prevent Stop Button - by GavinCampbell - 2014-11-13, 22:45
RE: [FORK] - by herpkektop - 2015-02-11, 11:22
RE: [FORK] - by herpkektop - 2015-02-11, 17:55
PseudoTv issue - by adamp237 - 2015-03-02, 03:41
No Guide - Android Arm - by MoRbIdBoY - 2015-03-14, 20:26
Chanel Issues - by BlueKalel - 2015-05-03, 07:23
RE: donation - by gkithes - 2015-06-11, 02:27
RE: donation - by bornagainpenguin - 2015-06-11, 03:55
Channel Sharing Feature Freezing - by RORO-RR - 2015-07-11, 18:48
Logout Mark Read Team Forum Stats Members Help
[OLD/CLOSED] PseudoTV Live - Set-Top box solution45