primaeval / script.tvguide.fullscreen

tv guide fullscreen
GNU General Public License v2.0
25 stars 26 forks source link

Start prep for plugin content #45

Closed im85288 closed 8 years ago

im85288 commented 8 years ago

Having problems getting this to work but wanted to push the code out just in case anyone else knows how to get this going

This needs to be added to the addon.xml

But nothing works :(

primaeval commented 8 years ago

What is it supposed to do?

im85288 commented 8 years ago

Eventually I want the plugin.py to provide an entry point to listings (in this particular case I have started with the channels now listing). It's what various plugins/addons do (for example skin helper).

So it would allow for example to go to the widget selection in skin shortcuts and browse to this endpoint to display the now playing channels in a widget...

Another way to call it would be something like

plugin://script.skin.tvguide.fullscreen2/?action=pvrchannels

Still a little bit off but close...ish I think

im85288 commented 8 years ago

Adding this to addon.xml

<extension point="xbmc.python.pluginsource" library="plugin.py" />

Should set it up as a plugin source...but it messes with the other entry saying it is a python script

primaeval commented 8 years ago

Something changed recently about the way extension points should be written. You'll have to look up the docs. I only use confluence, so you are treading a new path with skin widgets. There is something like it with a mini-epg in the noobsandnerds stuff I think.

primaeval commented 8 years ago

If you have a second addon called script.skin.tvguide.fullscreen2 make sure all the paths inside match.

primaeval commented 8 years ago

If you have a big change its best to branch off with the new feature for a while and save the master for small changes.

im85288 commented 8 years ago

It's going to have to go on the backburner for a bit...but so frustrating as it's so close to being useable. Skin Helper does it a lot but is not a launch-able addon as this one is. I'm one of the devs on the Emby for Kodi addon too and we have it in there..but that is a video addon and the entry point is again not an executable python script (as this one is)

`

executable
</extension>`

It may well be something different...

im85288 commented 8 years ago

Yeah agree, I may just delete it for now. Just wanted to post it in case you or anyone else had an idea of how to complete it.

primaeval commented 8 years ago

Keep it in a branch in your fork for now.

im85288 commented 8 years ago

Will do, I'll give it another attempt tomorrow and if still no joy give up as it's not a massive deal...but I would like to see it :)

primaeval commented 8 years ago

We are in full dev mode right now so its probably best to at least start on all the possible features that we can think of now while are brains are in gear, even if they get pushed to a branch until they can be finished.

im85288 commented 8 years ago

Sure, I'll push this one to a dev branch on my fork and hope some inspiration comes along soon!

I like the now channels listing...but I'm not sure I would use it in place of the EPG (so not sure if it needs a custom window/dialog). One improvement I think can be made there is the select action should play the program/channel rather than opening the context menu section.

primaeval commented 8 years ago

The main reason I use Listings views is to look through days of listings fast and then watch any interesting ones on catchup. The select needs to go to the menu so that I can select Meta4Kodi or iSearch to search for the catchup sources. Play is rarely needed for that use case.

im85288 commented 8 years ago

Out of curiosity was this addon based on the iVue addon? I saw it being recommended in some forums today so googled it http://ivuetvguide.com and noticed it was pretty much identical..with the exception that this version has more features/full screen and allows a custom xmltv guide to be set. I think that one goes off and gets the xmltv for you based on your channel package and charges for the privilege.

im85288 commented 8 years ago

Fair enough for that view, but if we do create a full now listing where it could be used in place of the EPG then select would be better off playing (as it does in the EPG) and using context menu would be best to bring up the menu

primaeval commented 8 years ago

I pulled in lots of ideas from all the different variations of TV Guide. This one started as the FTV Guide fork. I think noobsandnerbs had some good ideas with different categories based on different xmltv files. But I think we are the most fully featured right now. Nobody has the Browse \ Add Folder functionality and customization categories. All your windows have upped the level to the premiere league now.

primaeval commented 8 years ago

The Next view needs the context menu too because you might choose to Autoplay the channel or just Remind you. You might want to see more of the description or set a new channel for it.

im85288 commented 8 years ago

Haha great! It's the first one I used and thankfully I chose wisely 👍

Never heard of noobsandnerds..time to Google

primaeval commented 8 years ago

Remember "good artists borrow, great artists steal." ;) If its a good feature and open source then bring it on in.

im85288 commented 8 years ago

Agree on the next view as you wouldn't want to immediately playback that program, autoplay is another new one to me. Lots under the hood going on!

primaeval commented 8 years ago

I've got something working with Autoplay but its going to be a bit tricky to get it to nicely integrate with the epg.

im85288 commented 8 years ago

Sweet...now sidetracked on this meta4kodi addon...reading it now it looks very good.

primaeval commented 8 years ago

Its not as good as it was because the big name addons have blocked it. iSearch can get around that if you use Super Favourites from Spoyser's repo directly.

im85288 commented 8 years ago

Ahh thanks for the tip, will check that out thanks.

primaeval commented 8 years ago

The My Subscriptions addons has ways to get round it too but I haven't worked out how to link that in. That is good when you have added strm files into your library and you want to play them in another addon.