• 1
  • 166
  • 167
  • 168(current)
  • 169
  • 170
  • 694
[OLD/CLOSED] PseudoTV Live - Set-Top box solution
Hi Lunatixz,

I have just downloaded and installed the newest XBMC Gotham Nightly and your latest PTVL, Unfortunately I have some problems. I have already set up my bumpers and trailers and it has worked perfectly with previous versions. The latest updates make PTVL skip all my adverts, bumpers and trailers which are interleaved directory folders.
Another thing is that it has skipped my channel 3 completely, which is a movie channel of the Action genre.

On a plus note my channels scan MUCH faster!

Here is a LOG hoping you can see what happened. I stopped PTVL halfway through completing a force refresh as the file size of the log was getting big. Please let me know if I can provide you with anything else.


**EDIT**

I have tried both with and without the C drive (root) from the sources but still have the same problem.
Hi, an issue here on channel configuration. On TV Genres, but especially when I want to choose a single TV Series, I can select e.g. from my series with first letter A to D, then it begins at A again. When I choose from the end, I get e.g. Z to S. All my series between D and S are not selectable. With TV genres it's similiar but not that serious: I get A to K and Z to M for example, so there isn't really a lot missing (and of course, there are not so much genres at all). Where is the problem?
(2014-01-29, 16:54)Rastan Wrote: Hi Lunatixz,

I have just downloaded and installed the newest XBMC Gotham Nightly and your latest PTVL, Unfortunately I have some problems. I have already set up my bumpers and trailers and it has worked perfectly with previous versions. The latest updates make PTVL skip all my adverts, bumpers and trailers which are interleaved directory folders.
Another thing is that it has skipped my channel 3 completely, which is a movie channel of the Action genre.

On a plus note my channels scan MUCH faster!

Here is a LOG hoping you can see what happened. I stopped PTVL halfway through completing a force refresh as the file size of the log was getting big. Please let me know if I can provide you with anything else.


**EDIT**

I have tried both with and without the C drive (root) from the sources but still have the same problem.


Try adding the root where your directory is located D:\.
I believe the problem is the new "security" feature they added that blocks json request unless from a whitelist. You can only add to the whitelist by adding the drive as a source.
So you might have to put all your BCT's into one root folder ie.
D:\BCTs\Bumper
D:BCTs\trailers
Etc, and add BCTs folder as a source.
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Hi again Lunatixz,

Thanks for the reply. I tried your suggestions but the problems still remain.

I have all my bumpers, trailers and adverts in one folder on my S:/ partition.

S:/BUMPERS/Adverts
S:/BUMPERS/Animal Planet
S:/BUMPERS/Animax
S:/BUMPERS/Crime Investigation
S:/BUMPERS/Trailers
..etc


I tried re-adding root C:/ D:/ and S:/ but PTVL still ignores them. Plus it is skipping most of my movie channels now Confused

I have uploaded another LOG if that helps.
(2014-01-29, 08:49)Lunatixz Wrote: ::Update::
Master git updated with:
  • Improved "Enhanced" LiveTV Parsing.
    Couchpotato Movie indicator.
    'Failed Playback' Error handling...
    Gotham Support (no need to add root drive).
    Offair Video Selector (Local/Plugin Strm fallback video).
    Option to ignore strm files (Globally across all channels).

I have done a bit of digging to see what my problem may be. I first tried rolling back to a previous nightly but the problem remained. I then went back to an earlier version of PTVL dated Jan 26, 2014 and all my problems vanished. Sorry to say it looks like when you made it Gotham ready on Jan 28, 2014 something broke (For me at least).

I would also like to add with the latest nightly I still have to add C:/ root directory else PTVL doesnt work properly.

I hope you find this info helpful and thanks for all your hard work Wink
(2014-01-29, 23:47)Rastan Wrote:
(2014-01-29, 08:49)Lunatixz Wrote: ::Update::
Master git updated with:
  • Improved "Enhanced" LiveTV Parsing.
    Couchpotato Movie indicator.
    'Failed Playback' Error handling...
    Gotham Support (no need to add root drive).
    Offair Video Selector (Local/Plugin Strm fallback video).
    Option to ignore strm files (Globally across all channels).

I have done a bit of digging to see what my problem may be. I first tried rolling back to a previous nightly but the problem remained. I then went back to an earlier version of PTVL dated Jan 26, 2014 and all my problems vanished. Sorry to say it looks like when you made it Gotham ready on Jan 28, 2014 something broke (For me at least).

I would also like to add with the latest nightly I still have to add C:/ root directory else PTVL doesnt work properly.

I hope you find this info helpful and thanks for all your hard work Wink

Exactly why I didn't want to touch Gotham till final beta. Thanks for into... Going to drop Gotham support till final beta!
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Nothing will change till beta unless someone actually tells what's broken. You can drop anything you want but that won't get it fixed and beta will still be screwed up.
Who knows it could as well be in your code.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
(2014-01-30, 00:03)Martijn Wrote: Nothing will change till beta unless someone actually tells what's broken. You can drop anything you want but that won't get it fixed and beta will still be screwed up.

I understand. I'm not trying to insult anyone. Just stating the fact that Gotham is still in flux. I don't have the time to track down every change. Makes more sense to wait for a stable release. I'm sure its a minor issue anyway... Just time consuming to traceback.

BTW

I've already suggested changes to gotham that were merged...

And it almost certainly is my code... No fault or finger pointing was intended...
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
I'v been looking at PseudoTV in relation to a gotham fix and it turned to be quite simple. you just have to get rid of certian xbmc.translatePath sections in Globals.py

Code:
SETTINGS_LOC = 'special://profile/addon_data/' + ADDON_ID
CHANNEL_SHARING = False
LOCK_LOC = os.path.join(SETTINGS_LOC, 'cache') + '/'

if REAL_SETTINGS.getSetting('ChannelSharing') == "true":
    CHANNEL_SHARING = True
    LOCK_LOC = xbmc.translatePath(os.path.join(REAL_SETTINGS.getSetting('SettingsFolder'), 'cache')) + '/'

IMAGES_LOC = xbmc.translatePath(os.path.join(ADDON_INFO, 'resources', 'images')) + '/'
PRESETS_LOC = xbmc.translatePath(os.path.join(ADDON_INFO, 'resources', 'presets')) + '/'
CHANNELS_LOC = os.path.join(SETTINGS_LOC, 'cache') + '/'
GEN_CHAN_LOC = os.path.join(CHANNELS_LOC, 'generated') + '/'
MADE_CHAN_LOC = os.path.join(CHANNELS_LOC, 'stored') + '/'

Link: Globals.py
(2014-01-30, 04:41)Steveb Wrote: I'v been looking at PseudoTV in relation to a gotham fix and it turned to be quite simple. you just have to get rid of certian xbmc.translatePath sections in Globals.py

Code:
SETTINGS_LOC = 'special://profile/addon_data/' + ADDON_ID
CHANNEL_SHARING = False
LOCK_LOC = os.path.join(SETTINGS_LOC, 'cache') + '/'

if REAL_SETTINGS.getSetting('ChannelSharing') == "true":
    CHANNEL_SHARING = True
    LOCK_LOC = xbmc.translatePath(os.path.join(REAL_SETTINGS.getSetting('SettingsFolder'), 'cache')) + '/'

IMAGES_LOC = xbmc.translatePath(os.path.join(ADDON_INFO, 'resources', 'images')) + '/'
PRESETS_LOC = xbmc.translatePath(os.path.join(ADDON_INFO, 'resources', 'presets')) + '/'
CHANNELS_LOC = os.path.join(SETTINGS_LOC, 'cache') + '/'
GEN_CHAN_LOC = os.path.join(CHANNELS_LOC, 'generated') + '/'
MADE_CHAN_LOC = os.path.join(CHANNELS_LOC, 'stored') + '/'

Link: Globals.py

Yeah, I fixed that already... But it was reported that other newer features stopped working.

Paths were updated in yesterdays update...
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
No probs. Are you talking about exclusive features in your live version?

Just looking at your code there may be a few you missed...

LOCK_LOC = xbmc.translatePath(os.path.join(SETTINGS_LOC, 'cache')) + '/'

This is a must for write access for channels!
CHANNELS_LOC = xbmc.translatePath(os.path.join(SETTINGS_LOC, 'cache')) + '/'

unless you just haven't pushed the changes yet.Wink
(2014-01-30, 05:47)Steveb Wrote: No probs. Are you talking about exclusive features in your live version?

Just looking at your code there may be a few you missed...

LOCK_LOC = xbmc.translatePath(os.path.join(SETTINGS_LOC, 'cache')) + '/'

This is a must for write access for channels!
CHANNELS_LOC = xbmc.translatePath(os.path.join(SETTINGS_LOC, 'cache')) + '/'

unless you just haven't pushed the changes yet.Wink

I didn't change the path globally since the issue only applies to json requests... I made my change in the channellist.py. we made the same change just in different places

https://github.com/Lunatixz/script.pseud...55e791dc24

I might have missed something else... I'll look at your changes.

Any changes and suggestions would be appreciated.

Thanks
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
The PR for the json problem was made "read only access", which isn't a problem if you can create the channel.
If you can't create a valid settings2.xml without a direct path, it makes sence you can't create a valid channel.xsp without a direct path also.

CHANNELS_LOC

also affects the vars..

GEN_CHAN_LOC
MADE_CHAN_LOC

plus as you stated ChannelList.py and some others..
(2014-01-30, 06:06)Steveb Wrote: The PR for the json problem was made "read only access", which isn't a problem if you can create the channel.
If you can't create a valid settings2.xml without a direct path, it makes sence you can't create a valid channel.xsp without a direct path also.

CHANNELS_LOC

also affects the vars..

GEN_CHAN_LOC
MADE_CHAN_LOC

plus as you stated ChannelList.py and some others..

This isn't completely true... Prior to Jan 25th XBMC Gotham did not allow any access to json from addon_data.
Which is why users were having problems, this issue was resolved. Hence my changes...

Why is it you think there is write issues?? I haven't seen any issues with writing files.

You're misunderstanding the direct path issue. It only applies to Json (which needs a direct path inorder to pass security)... nothing else.
Json in Gotham has security restrictions... now that addon_data is on the whitelist... channels can be parsed and created.
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Yes I know about the json access to addon_data and when it was fixed.
The previous workaround as you know was to add pseudotv's addon_data as a source.

Even with the json fix the workaround was still needed because the addon was having trouble creating its data files in the addon_data folder.
If you try to run pseudotv without the direct paths and the json fix it fails to write settings2.xml and all the channel.xml files are invalid and you get the error (failed to create channels...) .The json problem was not the only problem.

Its just what I've noticed during testing. Take out of this what you will but I have pseudotv working in gotham. Smile

Also I think you'll find that the security issue does not just apply to json but addons in general.
  • 1
  • 166
  • 167
  • 168(current)
  • 169
  • 170
  • 694

Logout Mark Read Team Forum Stats Members Help
[OLD/CLOSED] PseudoTV Live - Set-Top box solution45