Hallo zusammen,
ich habe angefangen meine Multimedia Seite auzubauen für verschiedene Devices.
2 Probleme habe ich nun:
- Das Play Symbol wird nur angezeigt wenn ein Titel läuft und einmal Pause gedrückt wurde.
-Bei der Kodi Anzeige habe ich noch die ms und weiß einfach nicht wie ich sie wegbekomme sowie die Progress Bar wird nicht gefüllt.
Spotify Buttons:
List:
Internals:
CLIENT_ID b1db2362e26c4c3994b608875c7a6114
CLIENT_SECRET 1ddc7e1bb88c4564a6067c9b9c89291d
DEF b1db2362e26c4c3994b608875c7a6114 1ddc7e1bb88c4564a6067c9b9c89291d https://oskar.pw/
FUUID 5c44b53a-f33f-0b0b-8237-2356f80f82354a5f
FVERSION 37_Spotify.pm:0.169670/2018-07-09
NAME Spotify
NR 473
NTFY_ORDER 50-Spotify
REDIRECT_URI https://oskar.pw/
STATE connected
TYPE Spotify
OLDREADINGS:
READINGS:
2019-06-12 07:44:21 device_1_id 8681afbb52a0015a1223a12495f49245aaa98c34
2019-06-12 07:44:21 device_1_name Kueche
2019-06-12 07:44:21 device_1_type Speaker
2019-06-12 07:44:21 device_1_volume 50
2019-06-12 07:44:21 device_2_id 9c08e1f11a2728d42a56fbb423e746685d7cae42
2019-06-12 07:44:21 device_2_name Bad
2019-06-12 07:44:21 device_2_type Speaker
2019-06-12 07:44:21 device_2_volume 50
2019-06-12 07:44:21 device_3_id 9c7cf9e9addb16b588f88577d71decfef60434a8
2019-06-12 07:44:21 device_3_name Wohnzimmer
2019-06-12 07:44:21 device_3_type Speaker
2019-06-12 07:44:21 device_3_volume 43
2019-06-12 07:44:21 device_4_id af3926892283a9eac54cc771699b0a83388c093b
2019-06-12 07:44:21 device_4_name alle
2019-06-12 07:44:21 device_4_type Speaker
2019-06-12 07:44:21 device_4_volume 42
2019-06-12 07:44:21 device_active_id none
2019-06-12 07:44:21 device_active_name none
2019-06-12 07:44:21 device_active_type none
2019-06-12 07:44:21 device_active_volume -1
2019-06-12 13:05:56 devices_cnt 4
2019-06-12 13:12:41 error_code 404
2019-06-12 13:12:41 error_description Player command failed: No active device found
2019-06-12 13:24:51 is_playing 0
2019-06-12 06:58:12 progress 00:01:36
2019-06-12 06:58:12 progress_ms 96323
2019-05-16 10:04:01 repeat off
2019-06-10 17:27:24 shuffle on
2019-06-12 06:56:26 track_album_cover_large https://i.scdn.co/image/7229a74f55e3ca7020f2e50c20677584afd942f4
2019-06-12 06:56:26 track_album_cover_medium https://i.scdn.co/image/7b31cad32cc02a10a3931be04151fc92431eda74
2019-06-12 06:56:26 track_album_cover_small https://i.scdn.co/image/dfd8480b4defc287bbd0866df363c04503d1d46d
2019-06-12 06:56:26 track_album_name Let Me Love You
2019-06-12 06:56:26 track_album_uri spotify:album:093FV994W61UuBV1RXSV8V
2019-06-12 06:56:26 track_artist_name Weiss (UK)
2019-06-12 06:56:26 track_artist_uri spotify:artist:0FBRY66KVaAiddGVefikLB
2019-06-12 06:56:26 track_duration 00:03:18
2019-06-12 06:56:26 track_duration_ms 198048
2019-06-12 06:56:26 track_name Let Me Love You
2019-06-12 06:56:26 track_popularity 52
2019-06-12 06:56:26 track_uri spotify:track:2gYdkdRAy59oHjcVd2upUP
2019-04-19 16:00:56 user_country DE
2019-04-19 16:00:56 user_display_name tnt0068
2019-04-19 16:00:56 user_follower_cnt 0
2019-04-19 16:00:56 user_id tnt0068
2019-06-12 06:39:51 volume 100
<div class="hbox items-center">
<div data-type="switch"
data-device="Spotify"
data-get="shuffle"
data-set="shuffle"
data-icon="fa-random" data-background-icon="-"
data-on-color="white" data-off-color="gray"
data-get-on="on" data-get-off="off"
data-set-on="on" data-set-off="off"
class="inline mini thin">
</div>
<div data-type="push"
data-device="Spotify"
data-icon="fa-step-backward" data-background-icon="-"
data-off-color="#fff" data-on-color="#aa6900"
data-set-on="previous"
class="inline small thin">
</div>
<div data-type="switch"
data-device="Spotify"
data-states='["paused","playing"]'
data-set-states='["resume","pause"]'
data-background-icon="fa-circle-thin"
data-background-colors='["white","white"]'
data-colors='["white","white"]'
data-icons='["fa-play","fa-pause"]'
class="inline small">
</div>
<div data-type="push"
data-device="Spotify"
data-icon="fa-step-forward" data-background-icon="-"
data-off-color="#fff" data-on-color="#aa6900"
data-set-on="next"
class="inline small thin">
</div>
<div data-type="switch"
data-device="Spotify"
data-get="repeat"
data-set="repeat"
data-icon="fa-repeat" data-background-icon="-"
data-on-color="white" data-off-color="gray"
data-get-on="all" data-get-off="off"
data-set-on="all" data-set-off="off"
class="inline mini thin">
</div>
</div>
Kodi:
List:
Internals:
DEF 192.168.10.35 tcp
DeviceName 192.168.10.35:9090
FUUID 5c44b531-f33f-0b0b-0f10-8c39f05f54cfbe37
FVERSION 70_KODI.pm:0.188270/2019-03-08
Host 192.168.10.35
NAME wz_XBMC
NEXT_OPEN 1560338624.18725
NR 47
NextID 6
PARTIAL
Port 9090
Protocol tcp
STATE disconnected
TYPE KODI
PendingPlayerCMDs:
1:
method Player.PlayPause
params:
playerid -1
2:
method Player.PlayPause
params:
playerid -1
3:
method Player.PlayPause
params:
playerid -1
4:
method Player.PlayPause
params:
playerid -1
5:
method Player.PlayPause
params:
playerid -1
READINGS:
2019-05-27 21:38:13 3dfile off
2019-05-25 17:44:31 audiolibrary update
2019-05-27 21:38:13 currentAlbum
2019-05-27 21:38:13 currentArtist
2019-05-27 21:38:13 currentMedia smb://192.168.10.3/Video/Film/John Wick (2014)/John Wick (2014).mkv
2019-05-27 19:56:41 currentOriginaltitle John Wick
2019-05-27 19:56:41 currentShowtitle
2019-05-27 21:38:13 currentTitle John Wick
2019-05-27 21:38:13 currentTrack
2019-05-27 19:56:41 episode
2019-05-27 19:56:41 episodeid
2019-05-27 21:38:13 fullscreen on
2019-05-27 21:38:13 id 487
2019-05-27 21:38:13 label John Wick
2019-05-27 19:56:41 movieid 487
2019-05-27 21:38:13 mute off
2019-05-27 21:38:13 name Kodi
2019-05-27 21:38:13 partymode off
2019-05-27 21:38:19 playStatus stopped
2019-05-27 19:56:41 playlist
2019-05-27 21:38:13 repeat off
2019-05-27 21:38:13 sd_audio0channels 6
2019-05-27 21:38:13 sd_audio0codec dtshd_ma
2019-05-27 21:38:13 sd_audio0language ger
2019-05-27 21:38:13 sd_audio1channels 8
2019-05-27 21:38:13 sd_audio1codec truehd
2019-05-27 21:38:13 sd_audio1language eng
2019-05-27 21:38:13 sd_audio2channels 2
2019-05-27 21:38:13 sd_audio2codec ac3
2019-05-27 21:38:13 sd_audio2language eng
2019-05-27 21:38:13 sd_subtitle0language ger
2019-05-27 21:38:13 sd_subtitle1language eng
2019-05-27 21:38:13 sd_video0aspect 1.77778005599976
2019-05-27 21:38:13 sd_video0codec hevc
2019-05-27 21:38:13 sd_video0duration 6117
2019-05-27 21:38:13 sd_video0height 2160
2019-05-27 21:38:13 sd_video0language ger
2019-05-27 21:38:13 sd_video0stereomode
2019-05-27 21:38:13 sd_video0width 3840
2019-05-27 19:56:41 season
2019-05-27 21:38:13 shuffle off
2019-05-27 21:38:13 skin Estuary(skin.estuary)
2019-05-27 19:56:41 songid
2019-05-27 21:38:13 speed 1
2019-06-12 13:22:44 state disconnected
2019-05-27 21:38:13 stereoscopicmode off
2019-05-27 19:56:19 system wake
2019-05-27 21:38:13 thumbnail image://http%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2frsm8yBmBHyKUZwK4fVSovGcd7Q4.jpg/
2019-05-27 21:38:13 time 01:37:18.617
2019-05-27 21:38:13 totaltime 01:41:57.029
2019-05-27 21:38:13 tvshowid -1
2019-05-27 21:38:13 type movie
2019-05-27 21:38:13 version 18.2-20190422-f2643566d0 stable
2019-05-27 21:38:19 videolibrary update
2019-05-27 21:38:13 volume 100
2019-05-27 21:38:13 year 2014
Attributes:
DbLogExclude 1
alias 1 Wohnzimmer XBMC
devStateIcon opened:it_pc@GREEN:on disconnected:it_pc@WHITE:off
group 2 Media
room 1.Schalten
updateInterval 10
userReadings 10
webCmd reboot
<div class="cell top-align">
<div data-type="label"
data-device="wz_XBMC"
data-get="time"
class="inline">
</div>
<div data-type="level"
data-device="wz_XBMC"
data-get="totaltime"
data-max="track_duration_ms"
class="inline horizontal">
</div>
<div data-type="label"
data-device="wz_XBMC"
data-get="totaltime"
class="inline">
</div>
danke