Page 2 of 2

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Monday 26 February 2018 21:23
by robgeerts
Do yo get any errors?
In latest beta, everything is working fine here?

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Tuesday 27 February 2018 8:23
by poudenes
robgeerts wrote: Monday 26 February 2018 21:23 Do yo get any errors?
In latest beta, everything is working fine here?
I use for some months 1 version without update to latest beta. And from one to other day it stop working.
So maybe its not a problem of the beta itself?

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Tuesday 27 February 2018 10:07
by 10us
I use for some months 1 version without update to latest beta. And from one to other day it stop working.
So maybe its not a problem of the beta itself?
Same for me. I used it for weeks, nothing changed in my setup. Didn't update anything and the Tv Guide keeps loading without display any data.

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Tuesday 27 February 2018 18:35
by HansieNL
@robgeerts: I get a bunch of error, but don't know to get rid with them. Everything works ok in Ubuntu Linux???

This is one for example: jquery.min.js:4 GET http://dashticz.nl/tv/channels.php 404 (Not Found)

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Saturday 03 March 2018 15:56
by Herre
Same issue here. No update doen lately, running on master for several weeks now TV Guide is only loading.

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Monday 05 March 2018 23:17
by 10us
10us wrote: Tuesday 27 February 2018 10:07
I use for some months 1 version without update to latest beta. And from one to other day it stop working.
So maybe its not a problem of the beta itself?
Same for me. I used it for weeks, nothing changed in my setup. Didn't update anything and the Tv Guide keeps loading without display any data.
Just fixed the problem after replace the tvguide.js file with the latest beta from github.

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Tuesday 06 March 2018 8:13
by Herre
@10us: Indeed that solves the issue.

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Tuesday 06 March 2018 8:31
by Herre
@10us: Please check at your end as well.

Apparently this is not a stable situation, back on the loading issue. Instead of 404 issue I now get the following issues:
[Error] Origin http://—.—.-.—:—- is not allowed by Access-Control-Allow-Origin.
[Error] Failed to load resource: Origin http://—.—.-.—:— is not allowed by Access-Control-Allow-Origin. (channels.php, line 0)
[Error] XMLHttpRequest cannot load http://dashticz.nl/tv/channels.php due to access control checks.

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Thursday 08 March 2018 9:06
by poudenes
10us wrote: Monday 05 March 2018 23:17
10us wrote: Tuesday 27 February 2018 10:07
I use for some months 1 version without update to latest beta. And from one to other day it stop working.
So maybe its not a problem of the beta itself?
Same for me. I used it for weeks, nothing changed in my setup. Didn't update anything and the Tv Guide keeps loading without display any data.
Just fixed the problem after replace the tvguide.js file with the latest beta from github.
This worked for me as well still using the old dashticz and now with new tvguide.js

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Thursday 08 March 2018 21:06
by Herre
poudenes wrote: Thursday 08 March 2018 9:06
10us wrote: Monday 05 March 2018 23:17
10us wrote: Tuesday 27 February 2018 10:07

Same for me. I used it for weeks, nothing changed in my setup. Didn't update anything and the Tv Guide keeps loading without display any data.
Just fixed the problem after replace the tvguide.js file with the latest beta from github.
This worked for me as well still using the old dashticz and now with new tvguide.js
I'm glad for you folks, but I'm still having the same problems. Apparently a CORS issue, does anybody have a solution for this? Kind regards

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Tuesday 20 March 2018 11:03
by broozr
Works for me, only after copying this file:

https://github.com/Dashticz/dashticz_v2 ... tvguide.js

to the js/tvguide.js file. "Problem" is, this refreshes at a given interval - 60000 * 5 (5 minutes), line 71. Probably should be configuring this in the object itself (and if not set, default to these 5 minutes)?

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Friday 23 March 2018 8:32
by 1981nick1981
Hi, is there a way to use this plugin in belgium?

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Saturday 02 January 2021 0:02
by hsvt
Is it possible to remove the channel name?
I mean the "NPO3".
I made for each channel a separate block with each a channel symbol.
So the name in each line is not necessary.

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Saturday 02 January 2021 13:08
by HansieNL
@hsvt To hide the channel name you can add the following code to your custom.css:

Code: Select all

.tvguide em {
	display: none !important;
}
Only you got now - - Don't have an answer right now how to hide one of them. Hopefully @Lokonli can give us the answer.

Edit: just see that the icon/image will be removed too. You have to add .dt_state to the code:

Code: Select all

.tvguide .dt_state em {
	display: none !important;
}

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Saturday 02 January 2021 17:27
by Lokonli
It's a bit difficult to hide the second '-'

I could add a block parameter:

layout: 0 => Row including tv station name
layout: 1 => Row excluding tv station name.

or, bit more generic solution, add a template parameter, like:

Code: Select all

rowTemplate : '{{starttime}} - {{endtime}} - <em> {{station}} </em> - <b>{{program}}</b>'
This would be the default. The new one, without tv station:

Code: Select all

rowTemplate : '{{starttime}} - {{endtime}} - <b>{{program}}</b>'
or, I'll combine the two.

layout: 0, template parameter will be used
layout:1, predefined template without station name will be used.

I think I'll do this. If you've additional suggestions please let me know.

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Sunday 03 January 2021 0:02
by Lokonli
In latest beta I've added the tvguide block parameter 'layout'

Set it to 1 to remove the tv station.

CSS styling will be a bit different. I've changed it into a table. CSS classed are used for 'tvtime', 'tvchannel', 'tvtitle' and 'tvsep'

Can you test?

Documentation needs to be updated ...

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Sunday 03 January 2021 1:07
by HansieNL
Thanks again. This is my TV Guide now...
Image
These are the codes used... And used my own images ofcourse.
CONFIS.js:
Spoiler: show

Code: Select all


var config = {}
config['domoticz_ip'] = 'http://192.168.2.14:8081';
config['app_title'] = 'TV Gids';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['language'] = 'nl_NL';
config['hide_seconds'] = 1;


var tvguide = {}
tvguide.nederland_1 = { key:'nederland_1', image: '../custom/tvgids/img/001_nederland_1.svg', width:12, layout:1, channels: [1], url:'https://www.tvgids24.nl/gadget/npo_1', maxitems: 7 }
tvguide.nederland_2 = { key:'nederland_2', image: '../custom/tvgids/img/002_nederland_2.svg', width:12, layout:1, channels: [2], url:'https://www.tvgids24.nl/gadget/npo_2', maxitems: 7 }
tvguide.nederland_3 = { key:'nederland_3', image: '../custom/tvgids/img/003_nederland_3.svg', width:12, layout:1, channels: [3], url:'https://www.tvgids24.nl/gadget/npo_3', maxitems: 7 }
tvguide.rtl_4 = { key:'rtl_4', image: '../custom/tvgids/img/004_rtl_4.svg', width:12, layout:1, channels: [4], url:'https://www.tvgids24.nl/gadget/rtl_4', maxitems: 7 }
tvguide.rtl_5 = { key:'rtl_5', image: '../custom/tvgids/img/005_rtl_5.svg', width:12, layout:1, channels: [31], url:'https://www.tvgids24.nl/gadget/rtl_5', maxitems: 7 }
tvguide.sbs_6 = { key:'sbs_6', image: '../custom/tvgids/img/006_sbs_6.svg', width:12, layout:1, channels: [36], url:'https://www.tvgids24.nl/gadget/sbs6', maxitems: 7 }
tvguide.rtl_7 = { key:'rtl_7', image: '../custom/tvgids/img/007_rtl_7.svg', width:12, layout:1, channels: [46], url:'https://www.tvgids24.nl/gadget/rtl_7', maxitems: 7 }
tvguide.veronica = { key:'veronica', image: '../custom/tvgids/img/008_veronica.svg', width:12, layout:1, channels: [34], url:'https://www.tvgids24.nl/gadget/veronica', maxitems: 7 }
tvguide.fox = { key:'fox', image: '../custom/tvgids/img/011_fox.svg', width:12, layout:1, channels: [440], url:'https://www.tvgids24.nl/gadget/fox', maxitems: 7 }
tvguide.discovery = { key:'discovery', image: '../custom/tvgids/img/017_discovery.svg', width:12, layout:1, channels: [29], url:'https://www.tvgids24.nl/gadget/discovery_channel', maxitems: 7 }
tvguide.ngc = { key:'ngc', image: '../custom/tvgids/img/018_ngc.svg', width:12, layout:1, channels: [18], url:'https://www.tvgids24.nl/gadget/national_geographic', maxitems: 7 }
tvguide.ziggo_sport = { key:'ziggo_sport', image: '../custom/tvgids/img/014_ziggo_sport.svg', width:12, layout:1, channels: [466], url:'https://www.tvgids24.nl/gadget/ziggo_sport', maxitems: 7 }


var blocks = {}


var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = [tvguide.nederland_1,tvguide.rtl_4,tvguide.rtl_7,tvguide.discovery]
columns[1]['width'] = 4;

columns[2] = {}
columns[2]['blocks'] = [tvguide.nederland_2,tvguide.rtl_5,tvguide.veronica,tvguide.ngc]
columns[2]['width'] = 4;

columns[3] = {}
columns[3]['blocks'] = [tvguide.nederland_3,tvguide.sbs_6,tvguide.fox,tvguide.ziggo_sport]
columns[3]['width'] = 4;


var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg14.jpg';
screens[1]['columns'] = [1,2,3]

custom.css:
Spoiler: show

Code: Select all

/*
CUSTOM CSS FILE
*/

.settingsicon,
.fullscreenicon {
	display: none;
}

.transbg[class*="col-xs"] {
    border-width: 3px !important;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.7);
}

.transbg[class*="col-xs"].hover:hover {
    background-color: rgba(0,0,0,0.7);
}

.dt_block .col-icon {
    width: 56px !important;
}

.col-icon {
    max-width: 48px !important;
}

img.icon {
    max-width: 36px !important;
}


Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Sunday 03 January 2021 23:28
by hsvt
Yes, it works.

Solution in excact 24 hour. :o
hsvt wrote: Saturday 02 January 2021 0:02
Lokonli wrote: Sunday 03 January 2021 0:02
Thanks for it.

Only put "layout: 1" into each line.

The most time it was to find out how to get the beta version. :lol:

But this is how my TV-guide looks now.

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Sunday 03 January 2021 23:34
by hsvt
HansieNL wrote: Sunday 03 January 2021 1:07 Thanks again. This is my TV Guide now...
Image
I can't see the image. (Also not in the PM you sent)

Re: Dashticz - Module - Tv Guide (Dutch)

Posted: Sunday 03 January 2021 23:41
by HansieNL
hsvt wrote: Sunday 03 January 2021 23:34
HansieNL wrote: Sunday 03 January 2021 1:07 Thanks again. This is my TV Guide now...
t176TGDeexZo.jpg
t176TGDeexZo.jpg (214.66 KiB) Viewed 821 times
I can't see the image. (Also not in the PM you sent)
Mmm... I just tried 3 browsers on iPad without a problem. Tried also a private browser. It has a http link and no https. I don’t know if something is blocking it from viewing at your side.
@hsvt Dan zou deze wel zichtbaar moeten zijn...