Comments (12)
content of linkplay-radio-sources.yaml
'http://ice.somafm.com/defcon': 'defcon',
'http://ice.somafm.com/doomed': 'doomed',
'http://ice.somafm.com/dronezone': 'dronezone',
'http://ice.somafm.com/folkfwd': 'folkfwd'
from home-assistant-custom-components-linkplay.
okay, found the solution:
sorry for documenting my stuff here, instead of my own trello :)
(...)
- platform: linkplay
host: 192.168.1.82
name: linkplay_2
icecast_metadata: 'StationNameSongTitle'
multiroom_wifidirect: True
lastfm_api_key: 'secretkey'
sources: !include linkplay-radio-sources.yaml
(...)
content of linkplay-radio-sources.yaml
{
'line-in': 'AUX in',
'TFcard': 'SD card',
'http://ice.somafm.com/defcon': 'defcon',
'http://ice.somafm.com/doomed': 'doomed',
'http://ice.somafm.com/dronezone': 'dronezone',
'http://ice.somafm.com/folkfwd': 'folkfwd'
}
from home-assistant-custom-components-linkplay.
i just have some A11's and some A31's now and second ones do not have AUX in and no SD card
from home-assistant-custom-components-linkplay.
Good idea...
from home-assistant-custom-components-linkplay.
Check out new release. Added common_sources
optional configuration directive to be able to maintain all the same stream sources for multiple players in a single config file. So you can keep local sources as before in the sources
section, and you can include additional common sources with include.
from home-assistant-custom-components-linkplay.
thank you, koszonom :)
from home-assistant-custom-components-linkplay.
This is a great suggestion @ant0nwax and thanks for the update too @nagyrobi !! I'm having difficulty formatting the list though.
So for each speaker in configuration.yaml I have included an additional line of:
common_sources: !include linkplay-radio-sources.yaml
But, the content of linkplay-radio-sources.yaml is giving an error when I check the configuration in HA. I've tried including the leading {}, excluding them, and various other variations but HA doesn't like it...
could you please post an example of the linkplay-radio-sources.yaml file.
Thanks a lot
from home-assistant-custom-components-linkplay.
Post yours first, which causes the error.
from home-assistant-custom-components-linkplay.
{
'http://1.2.3.4:8000/your_radio': 'Your Radio',
'http://icecast.streamserver.tld/mountpoint.aac': 'Another radio'
'http://94.199.183.186:8000/jazzy-soul.mp3': 'Jazzy Soul',
'http://94.199.183.186:8000/jazzy-cool.mp3': 'Jazzy Cool',
}
...this generates the error:
Error loading /config/configuration.yaml: while parsing a flow mapping
in "/config/linkplay-radio-sources.yaml", line 1, column 1
expected ',' or '}', but got ''
in "/config/linkplay-radio-sources.yaml", line 4, column 3
from home-assistant-custom-components-linkplay.
The second line is missing an ,
from the end.
The last line shouldn't have an ,
at the end.
from home-assistant-custom-components-linkplay.
oh for goodness sake!! Thanks a lot - I just spent an hour wondering where I had gone wrong...
from home-assistant-custom-components-linkplay.
thanks guys that you like my solution
meanwhile i unluckily updated my homeassistant to dead,
will be back in a while, focusing on different stuff, this whole HA topic was getting a FTE job :)
from home-assistant-custom-components-linkplay.
Related Issues (20)
- Not displaying the envelope when playing from DLNA server
- Joining multiroom group does not work, if host is a resolvable name HOT 2
- Muting the master of a multi-room group does not seem to work HOT 4
- Is there any way to power the device on/off? HOT 1
- Failure to setup integration if device is not turned on. HOT 3
- Unable to use tts HOT 1
- Up2stream becomes unavailabe HOT 3
- Group/Ungroup toggle inconsistent with 2 slaves
- Rakoit M50 unavailable HOT 5
- Example config doesn't pass checks on 2023.11.2 HOT 1
- led_off doesn't work for Arylics anymore HOT 2
- Using deprecated constants for supported features HOT 1
- Integration problems with Harman Kardon Allure HOT 1
- NameError when connection is lost via UPnP
- Updating linkplay media_player took longer than the scheduled update interval HOT 3
- Announcements/TTS: how to use the resume feature? HOT 2
- The integration is not working with 2024.5.0b0 HOT 8
- linkplay' calls async_register from a thread at custom_components/linkplay/__init__.py, line 171: hass.services.async_register HOT 2
- Add MTLS-support HOT 4
- Add command to Command service
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-custom-components-linkplay.