[gelöst] Squeezebox und Playlisten - welche gibt es und welche ist aktiv

Begonnen von ujaudio, 14 Dezember 2018, 14:17:49

Vorheriges Thema - Nächstes Thema

ujaudio

Ich habe drei "Squeezeboxen", mit der Readnigsgroup
define ez_playlists readingsGroup sb_analog:+SERVERPLAYLISTS

bekomme ich die Liste der verfügbaren Playlisten - allerdings muss ich das beim Player machen und nicht beim Server, was mich etwas irritiert: warum ist das so?

Die wichtigere Frage ist: Ich kann eine Playliste anwählen, aber welche wird tatsächlich gespielt (man kann es ja auch außerhalb FHEM anwählen)? Das Reading im Player wird bei mir nicht aktualisiert - weder bei Anwahl über FHEM noch bei externer Anwahl. Ich möchte die angewählte Playliste auf der Oberfläche gerne anzeigen.

Weiß jemand Rat?

Server-LIST
Internals:
   ALIVECHECK received
   CLICONNECTION on
   CLIPORT    9090
   CMDSTACK   25
   DEF        192.168.178.32
   DeviceName 192.168.178.32:9090
   FD         14
   IP         192.168.178.32
   LASTANSWER prefset server checkVersionLastTime 1544793109.02324
   NAME       sb_synology
   NOTIFYDEV  sb_synology,global
   NR         777
   NTFY_ORDER 50-sb_synology
   PARTIAL   
   PASSWORD   ?
   PRESENCENAME none
   RCCNAME    none
   STATE      opened
   TYPE       SB_SERVER
   USERNAME   ?
   WOLNAME    none
   READINGS:
     2018-12-14 13:03:43   db_albums       2307
     2018-12-14 13:03:43   db_artists      6026
     2018-12-14 13:03:43   db_genres       46
     2018-12-14 13:03:43   db_songs        31844
     2018-12-14 13:03:43   favoritesname   
     2018-12-14 13:03:43   favoritestotal  0
     2018-12-14 13:03:43   players         1
     2018-12-14 13:03:43   players_mysb    0
     2018-12-14 13:03:43   players_other   0
     2018-12-14 13:03:42   power           on
     2018-12-14 13:03:43   scan_last       12-11-2018 21:32:42
     2018-12-14 13:03:43   scandb          ?
     2018-11-12 21:15:55   scanduration    291
     2018-12-14 13:03:43   scanlastfailed  none
     2018-12-14 13:03:43   scanning        no
     2018-12-14 13:03:43   scanprogressdone 0
     2018-12-14 13:03:43   scanprogresstotal 0
     2018-12-14 13:03:43   serversecure    0
     2018-12-14 13:03:43   serverversion   7.9.0
     2018-12-14 13:03:42   state           opened
   helper:
     SB_SERVER_LMS_Status 1544789022.33737
     SB_SERVER_VERSION 0048
     lastPRESENCEstate ?
     onAfterAliveCheck 0
     pingCounter 0
     presenceReading state
     presenceValueAbsent absent
     presenceValuePresent present
     wolSetCmd   
     wolSetValue on
     appcmd:
       amazon:
         name       
       sounds:
         name       Sounds
       wimp:
         name       WiMP
     apps:
       :
         cmd        amazon
       Sounds:
         cmd        sounds
       WiMP:
         cmd        wimp
     players:
       AroioBM6:
         fhemname   sb_abacus
         lmsname    AroioBM6
         mac        b8:27:eb:7e:2a:da
         type       LMS
       AroioTB120:
         fhemname   sb_analog
         lmsname    AroioTB120
         mac        b8:27:eb:f9:6e:50
         type       LMS
       sb_abacus:
         fhemname   sb_abacus
         lmsname    AroioBM6
         mac        b8:27:eb:7e:2a:da
         type       FHEM
       sb_analog:
         fhemname   sb_analog
         lmsname    AroioTB120
         mac        b8:27:eb:f9:6e:50
         type       FHEM
     syncGroups:
Attributes:
   alivetimer 120
   doalivecheck false
   httpport   9002
   maxcmdstack 200
   maxfavorites 30
   room       Eisenbahn,Multimedia,Wohnkueche


Player-LIST
Internals:
   AMPLIFIER  none
   ARTWORKURL ?
   CANPOWEROFF 1
   CHANGED   
   COVERARTLINK none
   COVERARTURL http://192.168.178.32:9002/music/current/cover_180x180.jpg?player=b8:27:eb:f9:6e:50&x=50740
   COVERID    4db3b076
   DEF        b8:27:eb:f9:6e:50
   DISPLAYTYPE none
   FAVREF     
   FAVSELECT  -
   FAVSET     favorites
   FAVSTR     
   FHEMUID    b827ebf96e50
   IODev      sb_synology
   ISREMOTESTREAM 0
   LASTALARM  1
   LASTANSWER time 30.1273901672363
   LASTInputDev sb_synology
   MODEL      squeezelite
   MSGCNT     9669
   NAME       sb_analog
   NOTIFYDEV  global
   NR         779
   NTFY_ORDER 50-sb_analog
   PLAYERIP   192.168.178.24:53028
   PLAYERMAC  b8:27:eb:f9:6e:50
   PLAYERNAME AroioTB120
   SBSERVER   192.168.178.32:9002
   SERVERPLAYLISTS Kuschelrock,Meditation,Mittelalter,Rock,Rocktimes
   STATE      on
   SYNCED     no
   SYNCGROUP  none
   SYNCGROUPPN none
   SYNCMASTER none
   SYNCMASTERPN none
   SYNCMASTERS
   SYNCVOLUME 0
   TYPE       SB_PLAYER
   WILLSLEEPIN ?
   sb_synology_MSGCNT 9669
   sb_synology_TIME 2018-12-14 14:17:06
   READINGS:
     2018-12-14 14:16:14   alarmsDefaultVolume 50
     2018-12-14 14:16:14   alarmsEnabled   on
     2018-12-14 14:16:13   alarmsFadeIn    on
     2018-12-14 14:16:13   alarmsFadeSeconds 1
     2018-12-14 14:16:14   alarmsSnooze    9
     2018-12-14 14:16:14   alarmsTimeout   60
     2018-12-14 14:16:39   connected       1
     2018-12-14 14:16:39   coverarturl     http://192.168.178.32:9002/music/current/cover_180x180.jpg?player=b8:27:eb:f9:6e:50&x=50740
     2018-12-14 14:16:36   currentAlbum    Bounce
     2018-12-14 14:16:36   currentArtist   Bon Jovi
     2018-12-14 14:16:12   currentMedia    file:///volume1/music/Bon%20Jovi/Bounce/01%20Bon%20Jovi%20-%20Undivided.flac
     2018-12-14 14:16:36   currentPlaylistName Rock
     2018-12-14 14:16:13   currentPlaylistUrl
     2018-12-14 14:16:36   currentTitle    Undivided
     2018-12-14 14:17:06   currentTrackPosition 30
     2018-12-14 14:16:39   duration        232.96
     2018-12-14 14:16:36   favorites       -
     2018-12-13 14:57:12   lastir          ?
     2018-12-14 13:20:10   lastunknowncmd  menustatus ARRAY(0x14f8e468) add b8:27:eb:f9:6e:50
     2018-12-14 14:16:39   playStatus      playing
     2018-12-14 14:16:39   playlistCurrentTrack 15
     2018-12-14 14:16:39   playlistTracks  500
     2018-12-14 14:16:36   playlists       Rock
     2018-12-14 14:16:39   power           on
     2018-12-14 14:16:39   presence        present
     2018-12-14 14:16:39   repeat          all
     2018-12-14 14:16:39   shuffle         song
     2018-12-14 14:16:39   signalstrength  wired
     2018-12-14 14:16:39   state           on
     2018-12-14 14:16:39   synced          none
     2018-12-14 14:16:39   volume          25
     2018-12-14 14:16:39   volumeStraight  25
   helper:
     ALARMSCOUNT 0
     CoverOk    1
     amplifierDelayOffPause 0
     amplifierDelayOffPower 0
     amplifierDelayOffStop 0
     amplifierLastStatus x
     foundMyself 1
     lastGetStatus 1544793372.96564
     lastModeQuery 1544793396.58589
     lastTimeQuery 1544793426.62735
     lmsvolume  25
     noStopEventUntil 0
     path       file:///volume1/music/Queen/A%20Kind%20Of%20Magic%20-%20MP3/09%20Princes%20Of%20The%20Universe%20-%20Queen.mp3
     playerStatusOK 1
     playerStatusOKCounter 0
     playlistIds 50971,34506,58248,50960,61234,34807,58231,36936,34788,44044,58260,62624,59658,41534,34430,59657,58246,58272,34450,34503,51383,61248,51389,59232,34799,36336,51854,34790,36928,36962,51850,61227,51388,36333,61245,36317,61236,61249,34795,44037,34469,61240,34504,34910,50974,58228,34808,41508,58275,43234,34451,34447,58263,58277,58264,58227,58245,34455,58223,59223,59230,58270,60282,43251,51380,34822,36324,41521,43236,34787,47187,62618,41157,34452,43241,62620,41538,43249,58240,58236,61105,34918,34499,58242,58278,60292,34438,47584,59655,36939,59661,41155,36968,34818,59233,58250,41529,58253,34449,59235,43247,34817,59663,44034,44042,61109,36325,36330,59238,36929,34812,50954,61111,47580,41530,41158,36319,61232,60283,51379,36953,58265,58234,43237,58249,58258,61229,34464,58244,44045,61226,34446,36340,41518,43246,36335,58269,61251,34821,59220,41154,44041,61238,58283,58238,61233,51377,60289,34917,51853,58276,61247,34460,61231,61235,60281,34431,41522,50964,59221,41151,34458,58247,58284,43250,41150,41512,34814,58251,34786,62617,50957,61108,50970,51390,59660,50958,34463,41162,61224,36934,34448,41535,60287,34797,44033,61237,58281,36323,44036,62613,41519,41160,36339,61253,59231,41507,59652,62622,59226,41526,59224,44035,50969,34444,58241,36970,34442,36933,58233,36940,34811,58271,41159,51855,41506,58243,58274,34439,58225,58252,60296,36966,34495,47191,51385,50955,59659,34921,36932,36931,60286,50961,58267,41537,43240,43238,36322,41513,60284,34793,58279,36965,60294,41511,51382,34791,34507,58280,34820,60291,41531,36947,59234,41536,59227,34440,59219,58226,43239,34912,34789,44046,41149,36961,36337,36964,59222,34806,36952,61119,47579,50963,59662,59654,36926,36930,47190,61115,34462,61114,36943,44040,41164,62616,58254,58256,41525,58282,36935,58232,36951,60285,61106,59664,41514,36946,62619,58219,61252,34916,61254,59665,41156,34911,34500,51391,43232,41524,47583,34461,41515,34913,36318,59228,58255,34498,36963,34909,41505,50953,34467,34459,34443,47578,43235,50959,41516,50962,58222,50956,41510,61116,43245,34505,62623,36922,34501,59653,36969,34437,62615,34810,34815,61117,60295,34798,36944,43243,36327,36326,34802,34494,47577,44043,34445,36321,47582,34920,47188,51851,34453,50972,58261,41533,41509,44048,36942,60288,50968,34466,36948,58239,36945,41163,34465,34441,44038,34803,61112,51384,47581,41161,36950,47192,41528,58262,34813,51387,47576,44039,34432,51857,34435,34508,51856,61241,34915,41517,41166,59666,36332,58259,59236,51386,36320,61228,36924,59237,58237,58220,59229,43242,62614,61107,36328,50966,34434,36941,44047,58268,61225,34457,34796,58273,34914,58266,34801,34497,34454,34805,50967,41532,50965,61110,47575,61246,41527,61243,58221,36967,36338,47585,34819,59656,47189,34502,61242,59651,34809,62621,36925,34823,58224,41523,60290,34468,59225,43248,61239,34804,34792,41152,34794,41165,60293,34456,58230,41520,61118,34816,34496,36329,58235,51381,51852,36927,34800,47193,58218,34433,34436,43244,61113,36923,36949,36937,41153,50973,61250,36334,36938,58257,34919,43233,61244,36331,61230,51378,58229
     songinfocounter 0
     songinfopending 0
     songinfoquery
     ttsstate   0
     SB_PLAYER_Favs:
     SB_PLAYER_Playlists:
       Kuschelrock:
         ID         63554
         NAME       Kuschelrock
         SOURCE     LMS
       Meditation:
         ID         63555
         NAME       Meditation
         SOURCE     LMS
       Mittelalter:
         ID         63556
         NAME       Mittelalter
         SOURCE     LMS
       Rock:
         ID         63557
         NAME       Rock
         SOURCE     LMS
       Rocktimes:
         ID         63558
         NAME       Rocktimes
         SOURCE     LMS
     SB_PLAYER_SyncMasters:
     alarmPlaylists:
       Aktuelle_Wiedergabeliste_verwenden:
         category   Aktuelle Wiedergabeliste
         title      Aktuelle Wiedergabeliste verwenden
         url        Aktuelle Wiedergabeliste verwenden
       filevolume1musicKuschelrockm3u:
         category   Wiedergabelisten
         title      Kuschelrock
         url        file:///volume1/music/Kuschelrock.m3u
       filevolume1musicMeditationm3u:
         category   Wiedergabelisten
         title      Meditation
         url        file:///volume1/music/Meditation.m3u
       filevolume1musicMittelalterm3u:
         category   Wiedergabelisten
         title      Mittelalter
         url        file:///volume1/music/Mittelalter.m3u
       filevolume1musicRockm3u:
         category   Wiedergabelisten
         title      Rock
         url        file:///volume1/music/Rock.m3u
       filevolume1musicRocktimesm3u:
         category   Wiedergabelisten
         title      Rocktimes
         url        file:///volume1/music/Rocktimes.m3u
       randomplayalbum:
         category   Zufallsmix
         title      Albummix
         url        randomplay://album
       randomplaycontributor:
         category   Zufallsmix
         title      Interpretenmix
         url        randomplay://contributor
       randomplaytrack:
         category   Zufallsmix
         title      Titelmix
         url        randomplay://track
       randomplayyear:
         category   Zufallsmix
         title      Jahrgangsmix
         url        randomplay://year
     elapsedTime:
       TS         1544793426.63269
       VAL        30.1273901672363
       count      0
       last       30.1273901672363
     ftuiSupport:
     myPlaylists:
     text2speech:
     ttsOptions:
Attributes:
   IODev      sb_synology
   amplifier  play
   coverartheight 180
   coverartwidth 180
   donotnotify false
   event-on-change-reading currentTitle,playStatus,volume
   fadeinsecs 10
   room       Eisenbahn
   ttslanguage de
   ttslink    http://translate.google.com/translate_tts?ie=UTF-8&tl=<LANG>&q=<TEXT>&client=tw-ob
   volumeLimit 100
   volumeStep 5
Einen lieben Gruß
Jürgen

ChrisD

Hallo,

Zitatallerdings muss ich das beim Player machen und nicht beim Server, was mich etwas irritiert: warum ist das so?
Die Playlists stehen bei den Playern damit diese sie jeder für sich einzeln auswählen können. Wenn sie beim Server wären, hätten die Player keine Möglichkeit darauf zuzugreifen.

ZitatIch möchte die angewählte Playliste auf der Oberfläche gerne anzeigen.
Das Reading playlists beim Player enthält die aktuell aktive Playlist:
2018-12-14 14:16:36   playlists       Rock

Grüße,

ChrisD

ujaudio

Danke, ich hatte auch noch eine Fehler bei mir, aber jetzt ist alles klar. Wenn die Squeezebox keine Playlist abarbeitet, dann steht ein Minuszeichen in dem Reading. Alles bestens.
Einen lieben Gruß
Jürgen