Dashticz - Install picoreplayer

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

User avatar
madpatrick
Posts: 67
Joined: Monday 26 December 2016 13:17
Target OS: Linux
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: Dashticz - Install picoreplayer

Post by madpatrick » Wednesday 23 August 2017 21:19

capman wrote:
Tuesday 15 August 2017 22:32
Okayyy , getting something here 8-) Have made a selector switch with two url's to my playlist with each a radio station.

Code: Select all

http://192.168.178.29:9002/status.html?p0=playlist&p1=play&p2=RadioFG&p3=b8:27:eb:29:3c:50
and

Code: Select all

http://192.168.178.29:9002/status.html?p0=playlist&p1=play&p2=StuBru&p3=b8:27:eb:29:3c:50
Just like freakshock say. Thanks freakshock!
Now I just have 2 make a selector switch in dashticz and we have control about my player (stop , play). And a selector with some favorites in.
Next thing to do , volume control :D .
Thanks 2 everybody 4 all help so far !
selector.JPG
Great !! I’ve LMSworking in Dashticz.
Is it possible to make the buttons bigger and add the on/off switch ?
ClearOS v7.5.0 - Toon2 v4.19.10 (rooted) - Domoticz v4.9700

User avatar
capman
Posts: 203
Joined: Friday 12 July 2013 20:48
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - Install picoreplayer

Post by capman » Thursday 24 August 2017 19:14

In 'custom.css' paste this code and edit the px (40) parameter.

Code: Select all

/* PLayer buttons */

.fa.fa-arrow-circle-left.fa-small {
    font-size: 40px !important;
}
.fa.fa-stop-circle.fa-small {
   font-size: 40px !important;
}
.fa.fa-play-circle.fa-small {
   font-size: 40px !important;
}
.fa.fa-arrow-circle-right.fa-small {
   font-size: 40px !important;
}
.fa.fa-pause-circle.fa-small {
   font-size: 40px !important;
}
I just don't know how to get the buttons higher or lower on the screen. But it's a start ;)

User avatar
madpatrick
Posts: 67
Joined: Monday 26 December 2016 13:17
Target OS: Linux
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: Dashticz - Install picoreplayer

Post by madpatrick » Saturday 26 August 2017 18:53

capman wrote:
Thursday 24 August 2017 19:14
In 'custom.css' paste this code and edit the px (40) parameter.

Code: Select all

/* PLayer buttons */

.fa.fa-arrow-circle-left.fa-small {
    font-size: 40px !important;
}
.fa.fa-stop-circle.fa-small {
   font-size: 40px !important;
}
.fa.fa-play-circle.fa-small {
   font-size: 40px !important;
}
.fa.fa-arrow-circle-right.fa-small {
   font-size: 40px !important;
}
.fa.fa-pause-circle.fa-small {
   font-size: 40px !important;
}
I just don't know how to get the buttons higher or lower on the screen. But it's a start ;)
Working !! thanks
ClearOS v7.5.0 - Toon2 v4.19.10 (rooted) - Domoticz v4.9700

pvm
Posts: 963
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: Dashticz - Install picoreplayer

Post by pvm » Sunday 12 November 2017 20:25

Volume control:
Volume parameter P2 can be absolute like 30% of relative as shown below:

Code: Select all

http://[IP_LMS]:9002/status.html?p0=mixer&p1=volume&p2=-2&player=[mac_address, replace : with %3A] // decrease volume with 2
http://[IP_LMS]:9002/status.html?p0=mixer&p1=volume&p2=%2B2&player=[mac_address, replace : with %3A] // increase volume with 2
Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

User avatar
capman
Posts: 203
Joined: Friday 12 July 2013 20:48
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - Install picoreplayer

Post by capman » Wednesday 01 August 2018 18:10

For who has interresting in how to have the artwork showing for what's playing from LMS server.

In custom/config.js make a line. Where you set the values for ip:port and player mac to your values.
The player mac adress , you find this in the settings from LMS server.

Code: Select all

frames.artwork = {width:12, isimage:true, refresh:2000, image: 'http://IP LMS:PORT LMS/music/current/cover.jpg?player=PLAYER MAC ADRESS'}
Then put the frames.artwork where you want you to showup in your collums.
Example

Code: Select all

columns[3] = {}
columns[3]['blocks'] = [buttons.buienradar,'blocktitle_7',92,86,'blocktitle_4',frames.artwork]
columns[3]['width'] = 2;
dashticz.JPG
dashticz.JPG (287.95 KiB) Viewed 489 times

User avatar
EdwinK
Posts: 1411
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Install picoreplayer

Post by EdwinK » Saturday 04 August 2018 10:18

Looks great. :)

Had tried several players, but this one is mostly self explaining. It even found my LMS without problems. Volumio couldn't
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | RFxcom | Dashticz V2

pvm
Posts: 963
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: Dashticz - Install picoreplayer

Post by pvm » Friday 17 August 2018 17:33

Nice, thanks. I've added this for my players.
To get the graphics optimized I want to decrease the height of the cover image, do you happen to know how to do this?
Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

User avatar
EdwinK
Posts: 1411
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Install picoreplayer

Post by EdwinK » Friday 17 August 2018 17:40

When you change the width of the image from width:12 to something lower, the height will change as well. I've mine at 4 I think, and the image is much smaller.
Screen Shot 2018-08-17 at 17.40.48.png
Screen Shot 2018-08-17 at 17.40.48.png (168.83 KiB) Viewed 370 times
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | RFxcom | Dashticz V2

pvm
Posts: 963
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: Dashticz - Install picoreplayer

Post by pvm » Friday 17 August 2018 17:52

This is my current layout:
mpsize.PNG
mpsize.PNG (330.26 KiB) Viewed 368 times
To get this aligned correctly i've added padding/border (in css) to the selector showing radio selection. I would prefer to have the image just a little smaller (50px will do). Changing width from 2 (current value) to 1 decreases size too much.

I did inspection in chrome but I do not see a CSS identifier I can use... Guess it is just not possible.
If the frame identifier was used in CSS I/we would have much more options like giving it rounded corners etc.
Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

User avatar
EdwinK
Posts: 1411
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Install picoreplayer

Post by EdwinK » Friday 17 August 2018 18:36

O.. No clue about that, sorry. Maybe user capman can help you with that.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | RFxcom | Dashticz V2

Post Reply

Who is online

Users browsing this forum: MatsL and 1 guest