• 1
  • 55
  • 56
  • 57(current)
  • 58
  • 59
  • 201
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)
Well I've decided the amazon fire tv remote isn't good enough for use with kodi. Not enough buttons to remap, and if I do remap for the tv guide, it will also affect the rest of kodi, so have bitten the bullet and ordered one of those wireless keyboards. https://www.amazon.co.uk/d/rv7/Rii-i8BT-...v+keyboard
Should be easy for mapping in the tv guide
Emby, NVIDIA Shield, QNAP
Reply
(2016-12-14, 18:51)gillmacca Wrote: Well I've decided the amazon fire tv remote isn't good enough for use with kodi. Not enough buttons to remap, and if I do remap for the tv guide, it will also affect the rest of kodi, so have bitten the bullet and ordered one of those wireless keyboards. https://www.amazon.co.uk/d/rv7/Rii-i8BT-...v+keyboard
Should be easy for mapping in the tv guide

Maybe I should make some TV Guide Fullscreen branded ones and make a bit of extra Christmas money. Wink

You can just about get away with something like an MCE Remote but it really is a lot more comfortable with those mini wireless keyboards.

The only niggle is that you have to press a button and wait about 1 or 2 seconds for it to wake up, but once you know that you just plan ahead a bit more.
Reply
(2016-12-14, 14:11)Drt1989 Wrote:
(2016-12-14, 10:08)primaeval Wrote:
(2016-12-14, 00:43)Drt1989 Wrote: Currently on Win10 at the moment, but will fiddle with keymappings at some point. --Edit yes the Radio add on does as it loads up the vizualisation. I noticed if I turned off the visual for music that the stream will play bu i will be stuck on a grey (think its a texture) screen and then no commands work - i could bring up the power menu by hitting s to quit....

Other than that the OSD seems ok, would be nice if I could choose display OSD for x amount of seconds before closing?

version 0.0.244
- Settings \ Playback \ Playback OSD (seconds) - (Playback OSD and Timeout are Cumulative)

This should let you choose how long you want to show the osd for.
BEWARE: On some devices in can't be zero or bad things happen. I can't remember why. Maybe I'm trying to forget. Wink

The Radio addon plays ok for me but there is something strange about it. It hangs Kodi for several seconds while it finds the stream to play. I get a spinning Windows mouse cursor. There is no osd while it is busy.

If you use it a lot you can probably make an m3u playlist for your favourite streams by looking in the kodi.log file for info like this:
I don't know how often they will change.
Code:
09:03:40 T:5368  NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=3243
09:03:40 T:5368  NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '3243'}
09:03:40 T:5368  NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=3243
09:03:40 T:5368  NOTICE: [plugin.audio.radio_de] get_stream_url result: http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_q
Use the last url in that.

10/10 again.
Will play about with things

In regards to getting the radio channels, I had a bit of a brainwave. In the radio addon I noticed that adding stations to my stations produces a my_stations.json

I used some software to convert to xml. (Late to find that an xml is produce by the addon (doh!) - Edit, lies the program i use to convert made this .tmp

I then used notepad++ to mark the streams and name lines... and find replace <NAME> with EXTINFO:0, and delete the other tags etc. I then deleted any white space etc.


And now I have my first playlist that I've made:

Code:
#EXTM3U

#EXTINF:0,Heart London
http://ice-sov.musicradio.com:80/HeartLondonMP3
#EXTINF:0,BBC Radio Leicester
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrleics_mf_p
#EXTINF:0,BBC Radio Lincolnshire
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrlincs_mf_p
#EXTINF:0,BBC Radio Lancashire
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrlancs_mf_q
#EXTINF:0,BBC Radio Leeds
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrleeds_mf_p
#EXTINF:0,BBC Radio Jersey
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrjersey_mf_p
#EXTINF:0,BBC Radio Kent
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrkent_mf_p
#EXTINF:0,BBC Radio Gloucestershire
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrgloucs_mf_p
#EXTINF:0,BBC Radio Humberside
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrhumber_mf_p
#EXTINF:0,BBC Radio Devon
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrdevon_mf_p
#EXTINF:0,BBC Radio Foyle
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_foyle_mf_p
#EXTINF:0,BBC - The Why Factor
http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download-low/proto/http/vpid/p049jv2j.mp3
#EXTINF:0,BBC Radio York
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lryork_mf_p
#EXTINF:0,BBC World Service
http://bbcwssc.ic.llnwd.net/stream/bbcwssc_mp1_ws-eieuk
#EXTINF:0,Capital FM
http://ice-sov.musicradio.com/CapitalMP3
#EXTINF:0,BBC Somerset
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrsomer_mf_p
#EXTINF:0,Absolute Radio
http://icy-e-bab-02-gos.sharp-stream.com/absoluteradio.mp3
#EXTINF:0,BBC Radio Derby
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrderby_mf_p
#EXTINF:0,BBC Radio Cymru
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_cymru_mf_p
#EXTINF:0,BBC Radio Cumbria
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrcumbria_mf_p
#EXTINF:0,BBC Radio Cornwall
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrcorn_mf_p
#EXTINF:0,BBC Radio Cambridgeshire
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrcambs_mf_p
#EXTINF:0,BBC Radio Bristol
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrbris_mf_p
#EXTINF:0,BBC Radio Berkshire
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrberk_mf_p
#EXTINF:0,BBC Radio 6 Music
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_6music_mf_p
#EXTINF:0,BBC Wiltshire
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrwilts_mf_p
#EXTINF:0,BBC Radio Solent
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrsolent_mf_p
#EXTINF:0,BBC Radio Shropshire
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrshrops_mf_p
#EXTINF:0,BBC Radio Nottingham
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrnotts_mf_p
#EXTINF:0,BBC World Service News
http://bbcwssc.ic.llnwd.net/stream/bbcwssc_mp1_ws-einws_backup
#EXTINF:0,BBC Radio Sheffield
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrsheff_mf_p
#EXTINF:0,BBC Radio Scotland
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_scotlandfm_mf_p
#EXTINF:0,BBC WM
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrwm_mf_p
#EXTINF:0,BBC Radio Manchester
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrmanc_mf_p
#EXTINF:0,BBC Radio Norfolk
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrnorfolk_mf_p
#EXTINF:0,BBC Radio Nan Gaidheal
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_nangaidheal_mf_q
#EXTINF:0,KISS FM UK
http://icy-e-ba-01-gos.sharp-stream.com/kissnational.mp3
#EXTINF:0,BBC Radio Northampton
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrnthhnts_mf_p
#EXTINF:0,BBC Three Counties Radio
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lr3cr_mf_p
#EXTINF:0,BBC Radio 4 Extra
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4extra_mf_q
#EXTINF:0,BBC Radio Merseyside
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrmersey_mf_p
#EXTINF:0,BBC Radio 1
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_q
#EXTINF:0,BBC Tees
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrtees_mf_p
#EXTINF:0,BBC Radio 5 live
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio5live_mf_q
#EXTINF:0,BBC Radio 4
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_q
#EXTINF:0,BBC Radio 3
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio3_mf_q
#EXTINF:0,BBC Radio 2
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio2_mf_q
#EXTINF:0,BBC Oxford
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lroxford_mf_p
#EXTINF:0,BBC Radio 1Xtra
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1xtra_mf_q
#EXTINF:0,BBC Surrey
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrsurrey_mf_p
#EXTINF:0,BBC Sussex
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrsussex_mf_p
#EXTINF:0,BBC Radio Stoke
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrstoke_mf_p
#EXTINF:0,BBC Radio Suffolk
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrsuffolk_mf_p
#EXTINF:0,BBC Radio Ulster
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_ulster_mf_p
#EXTINF:0,BBC Radio Wales
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_walesmw_mf_p
#EXTINF:0,BBC Asian Network
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_asianet_mf_p
#EXTINF:0,BBC Coventry &amp; Warwickshire
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrwmcandw_mf_p
#EXTINF:0,BBC Essex
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lressex_mf_p
#EXTINF:0,BBC Guernsey
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrguern_mf_p
#EXTINF:0,BBC Hereford &amp; Worcester
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrhandw_mf_p
#EXTINF:0,BBC London 94.9
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrldn_mf_p
#EXTINF:0,BBC Newcastle
http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lrnewc_mf_p


tested in vlc and works a treat. ^is the above format ok? Like I say first .m3u I've made Smile

Will it go ok into the guide if I import it?

Edit: - I've confused myself. Now realised that my .m3u playlist will only offer streams (I manually added from my .m3u and works - oddly kodi hangs on play....just like the addon) Can I assume that importing the .m3u will try and match up with whats in the xmltv file?

Further info - this still breaks the OSD - streams still play in kodis native osd....

Edit again ----- OSD is back to TV Guide fullscreen after a restart -seems a little buggy as random streams end up playing in kodis osd.... more testing ongoing
Reply
Don't mind waiting a few seconds to wake up, it's the ability to possibly be able to access some of the stuff in the context menu from the EPG without having to go into the menu itself (example, press 1 for for extended info, 2 for lists (or individual item in lists, etc))
Emby, NVIDIA Shield, QNAP
Reply
(2016-12-14, 19:04)Drt1989 Wrote: Will it go ok into the guide if I import it?

Edit: - I've confused myself. Now realised that my .m3u playlist will only offer streams (I manually added from my .m3u and works - oddly kodi hangs on play....just like the addon) Can I assume that importing the .m3u will try and match up with whats in the xmltv file?

It worked ok for me. Nice detective work. Smile

It you want to experiment with different settings in Kodi you can always make a new Profile or run Kodi in Portable Mode with the -p command line switch. It's how I do all my dev work.

I doubt if you can stop the startup buffering too much but I would make sure all the visualizations are disabled in the Kodi Settings and by turning them off when you play a stream from the Music section.

Most of the BBC Radio streams are in the iplayerwww addon in the Music section. They should be faster to start and are in 320kbps quality if you are in the UK.

There are 3 levels of channel matching in Settings \ Appearance \ Channel Matching.

Exact: ignores the case but must match exactly.
Containing: will match something like "Radio 1" to "Ch 1. BBC Radio 1 England".
Everything: will match "Radio 1" to "BBC Radio One England", changing numbers to words.

If you have full control of the xmltv file and m3u you should try and get them to match exactly. It will be quicker.
Reply
(2016-12-14, 19:27)primaeval Wrote:
(2016-12-14, 19:04)Drt1989 Wrote: Will it go ok into the guide if I import it?

Edit: - I've confused myself. Now realised that my .m3u playlist will only offer streams (I manually added from my .m3u and works - oddly kodi hangs on play....just like the addon) Can I assume that importing the .m3u will try and match up with whats in the xmltv file?

It worked ok for me. Nice detective work. Smile

It you want to experiment with different settings in Kodi you can always make a new Profile or run Kodi in Portable Mode with the -p command line switch. It's how I do all my dev work.

I doubt if you can stop the startup buffering too much but I would make sure all the visualizations are disabled in the Kodi Settings and by turning them off when you play a stream from the Music section.

Most of the BBC Radio streams are in the iplayerwww addon in the Music section. They should be faster to start and are in 320kbps quality if you are in the UK.

There are 3 levels of channel matching in Settings \ Appearance \ Channel Matching.

Exact: ignores the case but must match exactly.
Containing: will match something like "Radio 1" to "Ch 1. BBC Radio 1 England".
Everything: will match "Radio 1" to "BBC Radio One England", changing numbers to words.

If you have full control of the xmltv file and m3u you should try and get them to match exactly. It will be quicker.

Sweet.
Going to give this some thought later.
I'm outside of the UK, so using the radio addon for now. Having a rest for a while, so it'll give you a rest bite too haha
Reply
@Drt1989 - For http streams like this you would usually use #EXTINF:-1, rather than #EXTINF:0, which I believe is more for static files. You could try using #EXTINF:-1, although I doubt it will make any difference to be honest.
Reply
(2016-12-14, 20:04)FXB78 Wrote: @Drt1989 - For http streams like this you would usually use #EXTINF:-1, rather than #EXTINF:0, which I believe is more for static files. You could try using #EXTINF:-1, although I doubt it will make any difference to be honest.

Changed just in case. Thanks for the info.
Reply
@primaeval

Radio is alot more stable now. All visualisations are off

Things I've noticed.

Using OSD - I can use pgup/down and the osd info displays as per channels I flick through. However this stops when swapping radio stations. When I am swapping stations the swap happens but the osd info doesn't load up. (If i press i - I can see that the osd is displaying the new station info) - Essentially I don't know what channel I am listening too.

This may not be a big deal as its unlikely to browse stations this way BUT in the case someone in the house does, it would be nice if it worked in the way swapping tv channels does.

Edit!!!!! on the above edit!!!! - There is no need for this to be fixed - It's actually better to just use up/down then ok to choose a channel. (much quicker) Sorry it's just taken to time to really get to grips with this from a users view point.

Will be testing on a 'droid box at some point, then the fun really starts lol

Edit. - Suggestion - would be possible to add this functionality. During fullscreen playback OK displays OSD with stop and move up/down channel icons? It might not be your cup of tea... lol but some people I know need to visually see up or down or they honestly are useless haha. - After some thought and testing, I don't think this is needed, was just an idea floating around.



What I have decided to try is to somehow edit the context menu so essentially the only option available is remind and quit. This is so people don't mess things up by pressing the wrong thing (I'll copy the default and see what i can do - it'll be a hack and slah job as well that's about as much knowledge i have!)

EDIT!!! I think for users - ill map context menu to just load up the categories. -- see below:

However............. If you wanted to make things a little nicer (do you hate me yet) how about when in the EPG pressing R allows to set/remove (or open) the reminder menu? - no need for the big context menu then. (in my skin for dummies)

I can see the end of my goal at least... for now!

Sorry fo the nature of this post. I had to get my ideas down.
Reply
(2016-12-14, 22:25)Drt1989 Wrote: @primaeval

Radio is alot more stable now. All visualisations are off

Things I've noticed.

Using OSD - I can use pgup/down and the osd info displays as per channels I flick through. However this stops when swapping radio stations. When I am swapping stations the swap happens but the osd info doesn't load up. (If i press i - I can see that the osd is displaying the new station info) - Essentially I don't know what channel I am listening too.

This may not be a big deal as its unlikely to browse stations this way BUT in the case someone in the house does, it would be nice if it worked in the way swapping tv channels does.

Will be testing on a 'droid box at some point, then the fun really starts lol

Edit. - Suggestion - would be possible to add this functionality. During fullscreen playback OK displays OSD with stop and move up/down channel icons? It might not be your cup of tea... lol but some people I know need to visually see up or down or they honestly are useless haha.

The Radio swapping channels is probably that lock-up that I mentioned. It totally hangs Kodi and there is nothing I can do about that. I don't know what that Radio addon is doing but it shouldn't be doing it.

I could make a setting to keep the osd on until someone closes it. How about that?

If you are using it mainly for Radio you could always turn on the setting that starts the channels in the background.
Settings \ Playback \ Start Playback in Background/Window
Then the epg would still be there.
You have to press back to get to Fullscreen playback mode from there.
Reply
(2016-12-14, 22:25)Drt1989 Wrote: However............. If you wanted to make things a little nicer (do you hate me yet) how about when in the EPG pressing R allows to set/remove (or open) the reminder menu?

The key mapping mechanism is a more indirect.
The addon needs to know the Kodi action that has been activated to do something.
The Kodi action is mapped in the keymap.xml file back to a physical key.

So in the keymap.xml you might have something like
<p>Play</p>
which maps up the actual p key to the Play action
and in the addon
it has
ACTION_PLAY
which plays the channel.

If you want R to set a Reminder I need to know one of the spare ACTION_ commands to open the Reminder dialog.

The trouble is a lot of those actions don't get through to the epg and all the obvious ones are already used.
Reply
Sorry I had a bit of an Edit spree in my above post. :/

Appreciate your work greatly.

Sorry I had a bit of an Edit spree in my above post. :/

Appreciate your work greatly.

Edit... I guess it can't just be a random Action?

If I was to play about... Do I make changes in the GUI.py, unfortunately my limited knowlege blocks me.... I don't understand what the numbers relate to next the actions

Code:
ACTION_LEFT = 1
ACTION_RIGHT = 2
ACTION_UP = 3
ACTION_DOWN = 4
ACTION_PAGE_UP = 5
ACTION_PAGE_DOWN = 6

for example...

Edit .... I think they are strings.... So 7004 relates to c_popup_category and is called from script-tvguide-catergories.xml...

I think I'm on the right line..... Sorry if this isn't the place for this! If you rather me not spam your thread I understand.
Reply
(2016-12-14, 23:06)primaeval Wrote:
(2016-12-14, 22:25)Drt1989 Wrote: However............. If you wanted to make things a little nicer (do you hate me yet) how about when in the EPG pressing R allows to set/remove (or open) the reminder menu?

The key mapping mechanism is a more indirect.
The addon needs to know the Kodi action that has been activated to do something.
The Kodi action is mapped in the keymap.xml file back to a physical key.

So in the keymap.xml you might have something like
<p>Play</p>
which maps up the actual p key to the Play action
and in the addon
it has
ACTION_PLAY
which plays the channel.

If you want R to set a Reminder I need to know one of the spare ACTION_ commands to open the Reminder dialog.

The trouble is a lot of those actions don't get through to the epg and all the obvious ones are already used.

Another option (not keen on, but if it works), is add the reminder option to the search box that comes up (so you have, Title, Synopsis, Categories & Reminder) and it will add the reminder because the show is already selected
Emby, NVIDIA Shield, QNAP
Reply
(2016-12-14, 23:46)gillmacca Wrote: Another option (not keen on, but if it works), is add the reminder option to the search box that comes up (so you have, Title, Synopsis, Categories & Reminder) and it will add the reminder because the show is already selected

I see where you're coming from but if we're going for a multi-function action then the main context menu already is that.

I'll try and find a spare ACTION_ for the Reminders tomorrow as it seems like it would be useful to have a quick shortcut.
Should it be the Once/Always choice or just the Once?
Reply
(2016-12-14, 23:55)primaeval Wrote:
(2016-12-14, 23:46)gillmacca Wrote: Another option (not keen on, but if it works), is add the reminder option to the search box that comes up (so you have, Title, Synopsis, Categories & Reminder) and it will add the reminder because the show is already selected

I see where you're coming from but if we're going for a multi-function action then the main context menu already is that.

I'll try and find a spare ACTION_ for the Reminders tomorrow as it seems like it would be useful to have a quick shortcut.
Should it be the Once/Always choice or just the Once?

Personally I'd say choice
Emby, NVIDIA Shield, QNAP
Reply
  • 1
  • 55
  • 56
  • 57(current)
  • 58
  • 59
  • 201

Logout Mark Read Team Forum Stats Members Help
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)8