[OLD/CLOSED] PseudoTV Live - Set-Top box solution
(2014-04-06, 10:27)Redkiller223 Wrote:
(2014-04-06, 04:59)Lunatixz Wrote: ::Update::

Putting some finishing touches on Direct Plugin Channel building... it will function similar to My-library, except instead of building strms it will build a channel. The Code is a little sloppy, but works!! I will improve on it as I go.

There are limitations... some major ones... the plugins that label their media as a 'directory' instead of 'file'. Won't work!! unfortunately there isn't a simple way to test if the addon is correctly formatted. So I will add a prompt "Plugin not compatible"
I don't' know the reason why dev's are using 'directory' instead of file... I'm not familiar with building video plugins.

More details to come...

::Update::

Post 2 updated with more chtype 15 details, I might push the update later for you guys to play with...

BTW the chtype 15 function works similar to how I autotune USTVnow. I hope that this weird problem with USTVnow not working for some users doesn't carry over to the new channel type. Hopefully it's only a bug with the USTVnow plugin.

::Update::

Git updated version v.0.3.7 includes beta chtype 15. Read post 2 for details, no need for bug logs for chtype 15... just post your experiences for now...

Tried this from your sample code with the discovery plugin. Just hangs. Let it sit for about ten mins, still stuck on adding videos. Heres a snippet of the end of my log if it helps any...

Code:
03:13:59 T:19816   DEBUG: script.pseudotv.live-ChannelList: setupChannel 5
03:13:59 T:19816   DEBUG: script.pseudotv.live-Channel: Added rule - Rename Channel to Bad Dog!
03:13:59 T:19816   DEBUG: script.pseudotv.live-ChannelList: runActions 1 on channel 5
03:13:59 T:19816   DEBUG: script.pseudotv.live-FileAccess: trying to open C:\Users\Virus233\AppData\Roaming\XBMC\userdata\addon_data\script.pseudotv.live\settings2.xml
03:13:59 T:19816   DEBUG: script.pseudotv.live-ChannelList: makeChannelList, CHANNEL: 5
03:13:59 T:19816   DEBUG: script.pseudotv.live-ChannelList: Building Plugin Channel, 0...
03:13:59 T:19816   DEBUG: script.pseudotv.live-ChannelList: BuildPluginFileList
03:13:59 T:19816  NOTICE: plugin.video.discovery_com
03:13:59 T:19816  NOTICE: ['Animal Planet', 'Bad Dog!']
03:13:59 T:19816  NOTICE: 2
03:13:59 T:19816   DEBUG: script.pseudotv.live-ChannelList: sendJSON Creating Cache
03:13:59 T:19816   DEBUG: script.pseudotv.live-FileAccess: trying to open C:\Users\Virus233\AppData\Roaming\XBMC\userdata\guisettings.xml
03:13:59 T:19816   DEBUG: script.pseudotv.live-ChannelList: determineWebServer is True
03:13:59 T:19816   DEBUG: script.pseudotv.live-ChannelList: determineWebServer port 80
03:13:59 T:19816   DEBUG: script.pseudotv.live-ChannelList: determineWebServer username xbmc
03:13:59 T:19816   DEBUG: script.pseudotv.live-ChannelList: determineWebServer password is AAAAA
03:13:59 T:19816   DEBUG: script.pseudotv.live-ChannelList: sendJSON command: {"jsonrpc":"2.0","method":"Files.GetDirectory","params":{"directory":"plugin://plugin.video.discovery_com/Animal Planet/Bad Dog!","properties":["genre","runtime","description"]},"id":1}
03:13:59 T:16836   DEBUG: webserver: request received for /jsonrpc
03:13:59 T:19816   DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"Files.GetDirectory","params":{"directory":"plugin://plugin.video.discovery_com/Animal Planet/Bad Dog!","properties":["genre","runtime","description"]},"id":1}
03:13:59 T:19816   DEBUG: JSONRPC: Calling files.getdirectory
03:13:59 T:19816   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Discovery Networks('plugin://plugin.video.discovery_com/Animal Planet/Bad Dog!','1','')
03:13:59 T:19816    INFO: initializing python engine.
03:13:59 T:19816   DEBUG: new python thread created. id=13
03:13:59 T:19816   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the Discovery Networks (id=13) plugin...
03:13:59 T:20224  NOTICE: Thread XBPyThread start, auto delete: false
03:13:59 T:20224   DEBUG: Python thread: start processing

Dumb questions that I have to ask, you have Discovery Networks plugin installed?
What OS and XBMC build are you running? I assume you've had no luck with the USTVnow autotune?

Your hanging at the same spot ustvnow autotune hangs out. I don't understand whats different between my two test machines and yours. Why does my xbmc return a json request from xbmc and yours doesn't??
Do you have webserver enabled? (Shouldn't matter, but then again who knows)
Do you have upnp control on?

Let me know...

(2014-04-06, 12:16)zensbert Wrote:
(2014-04-06, 00:02)Lunatixz Wrote: 1. if you are using a "directory" type channel you can only build from the root directory, subfolders are ignored... (nothing new here!!)

Hi,
i got a few problems; i got a network drive for music videos, with a subfolder for oldies and one with charts (with subfolders for years).. in your newest version (released today) it ignores the subfolders, two versions ahead it worked (really!)?

It creates the Oldies-Channel and shows the vids in the epg but if you change to it, it tries to load a few seconds, but then it skips back to channel 1. The Charts-Channel isnt created at all.

if it helps:

two versions ago was using different code, Gotham added security restrictions to json requests.
New code doesn't use json to build "Directory" chtypes anymore. If enough users want subfolders to be included, I'll add it...

(2014-04-06, 10:27)Redkiller223 Wrote: i also experimented with a stream, but it doesnt load:

<setting id="Channel_19_type" value="9" />
<setting id="Channel_19_1" value="5400" />
<setting id="Channel_19_2" value="rtmp://flash.cdn.deluxemusic.tv/deluxemusic.tv-live/web_850.stream" />
<setting id="Channel_19_3" value="DeluxeMusic" />
<setting id="Channel_19_rulecount" value="1" />
<setting id="Channel_19_changed" value="False" />
<setting id="Channel_19_time" value="0" />
<setting id="Channel_19_rule_1_id" value="1" />
<setting id="Channel_19_rule_1_opt_1" value="DeluxeMusic" />

Are there some settings incorrect?

Yes, you need to use the example in post2, you're missing switch _4.
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: [FORK] "PseudoTV Live" w/ LiveTV, InternetTV and added Strm Support - by Lunatixz - 2014-04-06, 17:36
Re: RE: - by Lunatixz - 2014-04-26, 17:10
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