Dashticz - Module - Tv Guide (Dutch)

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post by robgeerts »

Do yo get any errors?
In latest beta, everything is working fine here?
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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?
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
10us
Posts: 7
Joined: Monday 22 January 2018 1:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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.
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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)
Blah blah blah
Herre
Posts: 7
Joined: Saturday 30 September 2017 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post by Herre »

Same issue here. No update doen lately, running on master for several weeks now TV Guide is only loading.
10us
Posts: 7
Joined: Monday 22 January 2018 1:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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.
Herre
Posts: 7
Joined: Saturday 30 September 2017 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post by Herre »

@10us: Indeed that solves the issue.
Herre
Posts: 7
Joined: Saturday 30 September 2017 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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.
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Herre
Posts: 7
Joined: Saturday 30 September 2017 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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
broozr
Posts: 2
Joined: Wednesday 24 May 2017 17:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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)?
1981nick1981
Posts: 6
Joined: Friday 23 March 2018 8:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post by 1981nick1981 »

Hi, is there a way to use this plugin in belgium?
hsvt
Posts: 11
Joined: Tuesday 09 August 2016 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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.
Attachments
TV guide
TV guide
channelname.GIF (160.7 KiB) Viewed 897 times
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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;
}
Blah blah blah
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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.
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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 ...
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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;
}

Blah blah blah
hsvt
Posts: 11
Joined: Tuesday 09 August 2016 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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.
Attachments
tv gids.JPG
tv gids.JPG (94.03 KiB) Viewed 849 times
hsvt
Posts: 11
Joined: Tuesday 09 August 2016 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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)
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Tv Guide (Dutch)

Post 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 829 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...
Blah blah blah
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest