src/de/uhilger/tango/api/MediaSteuerung.java | ●●●●● patch | view | raw | blame | history | |
www/app.css | ●●●●● patch | view | raw | blame | history | |
www/data/tpl/ctrl.txt | ●●●●● patch | view | raw | blame | history | |
www/font/pikto.ttf | patch | view | raw | blame | history | |
www/js/app.js | ●●●●● patch | view | raw | blame | history |
src/de/uhilger/tango/api/MediaSteuerung.java
@@ -71,9 +71,13 @@ public static final String PL_API_STRG = "api/strg/"; public static final String PL_CMD_ENDE = "ende"; public static final String PL_CMD_STOP = "stop"; public static final String PL_CMD_VOLDN = "voldn"; public static final String PL_CMD_VOLUP = "volup"; public static final String PL_CMD_PAUSE = "pause"; public static final String PL_CMD_PLAYON = "weiter"; public static final String PL_CMD_CALYPSO_STOP = "stop"; public static final String PL_CMD_CALYPSO_VOL_INC = "vol-inc"; public static final String PL_CMD_CALYPSO_VOL_DEC = "vol-dec"; public static final String PL_CMD_CALYPSO_PAUSE = "pause"; public static final String PL_CMD_CALYPSO_PLAYON = "playon"; public static final String DEFAULT_HOST = "http://localhost:9090"; @@ -106,6 +110,10 @@ } else if(elems[5].equalsIgnoreCase(PL_CMD_STOP)) { spielt.remove(elems[4]); response = kommandoSenden(fs, elems[4], PL_CMD_CALYPSO_STOP); } else if(elems[5].equalsIgnoreCase(PL_CMD_VOLDN)) { response = kommandoSenden(fs, elems[4], PL_CMD_CALYPSO_VOL_DEC); } else if(elems[5].equalsIgnoreCase(PL_CMD_VOLUP)) { response = kommandoSenden(fs, elems[4], PL_CMD_CALYPSO_VOL_INC); } else if(elems[5].equalsIgnoreCase(PL_CMD_PAUSE)) { response = kommandoSenden(fs, elems[4], PL_CMD_CALYPSO_PAUSE); //} else if(elems[5].equalsIgnoreCase(PL_CMD_PLAYON)) { www/app.css
@@ -468,7 +468,7 @@ @font-face { font-family: 'pikto'; src: url('font/pikto.ttf?68902687') format('truetype'); src: url('font/pikto.ttf?73409988') format('truetype'); font-weight: normal; font-style: normal; } @@ -478,11 +478,10 @@ @media screen and (-webkit-min-device-pixel-ratio:0) { @font-face { font-family: 'pikto'; src: url('../font/pikto.svg?49751252#pikto') format('svg'); src: url('../font/pikto.svg?73409988#pikto') format('svg'); } } */ [class^="icon-"]:before, [class*=" icon-"]:before { font-family: "pikto"; font-style: normal; @@ -505,7 +504,7 @@ /* Animation center compensation - margins should be symmetric */ /* remove if not needed */ /* margin-left: .2em; */ margin-left: .2em; /* you can be more comfortable with increased icons size */ /* font-size: 120%; */ @@ -548,6 +547,8 @@ .icon-cog-alt:before { content: '\e81b'; } /* '' */ .icon-wrench:before { content: '\e81c'; } /* '' */ .icon-flash:before { content: '\e81d'; } /* '' */ .icon-volume-down:before { content: '\e81e'; } /* '' */ .icon-volume-up:before { content: '\e81f'; } /* '' */ .icon-rss:before { content: '\f09e'; } /* '' */ .icon-docs:before { content: '\f0c5'; } /* '' */ .icon-menu:before { content: '\f0c9'; } /* '' */ @@ -570,6 +571,9 @@ .icon-toggle-on:before { content: '\f205'; } /* '' */ .icon-podcast:before { content: '\f2ce'; } /* '' */ /* Dropdown Menu */ /* Style The Dropdown Button */ www/data/tpl/ctrl.txt
@@ -31,5 +31,7 @@ <button class="ctrl-btn ctrl-item" id="live-btn" title="Live"><i class="icon-podcast"></i></button> <button class="ctrl-btn ctrl-item" id="switch-btn" title="Ein/Aus"><i class="icon-flash"></i></button> <!-- <button class="ctrl-btn ctrl-item" id="" title="Einstellungen"><i class="icon-tablet"></i></button> --> <button class="ctrl-btn ctrl-item" id="voldn-btn" title="leiser"><i class="icon-volume-down"></i></button> <button class="ctrl-btn ctrl-item" id="volup-btn" title="lauter"><i class="icon-volume-up"></i></button> </div> </div> www/font/pikto.ttfBinary files differ
www/js/app.js
@@ -375,6 +375,13 @@ self.addEvtListener('#live-btn', 'click', self.livestream_selection); self.addEvtListener('#switch-btn', 'click', self.geraet_schalt_liste); self.addEvtListener('#voldn-btn', 'click', function() { self.kommando('voldn'); }); self.addEvtListener('#volup-btn', 'click', function() { self.kommando('volup'); }); self.media_liste(); }); };