Closed arretx closed 6 years ago
The read only status is only from the add-on. Other add-ons (ie the samba add-on) have write access to the folder.
Got it. If you could, help me understand what mopidy is ultimately for. Can I play single MP3 files from a local folder on the Pi3 with it? If so, what does the automation look like as an example. Thanks!
On Sat, Oct 28, 2017 at 11:42 PM, bestlibre notifications@github.com wrote:
The read only status is only from the add-on. Other add-ons (ie the samba add-on) have write access to the folder.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bestlibre/hassio-addons/issues/22#issuecomment-340241265, or mute the thread https://github.com/notifications/unsubscribe-auth/AekVUtkUp2NU70OTZF7PV2UhNMdUfIEZks5sxB5xgaJpZM4QKKxh .
-- https://about.me/jongriffith?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb Jon Griffith about.me/jongriffith https://about.me/jongriffith?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb
Mopidy is a media player. The server is accessible with a website and from applications (both mobile and desktop). It will index your media in a library.
The homeassistant mpd component can be used to start a play list with your media file.
If I wanted to trigger a single sound, such as an hourly chime, is it possible to address a single track, or do I need a separate playlist for each sound that I want to only trigger once? For example, if this is my playlist file:
/share/mopidy/media/Ding1.mp3
/share/mopidy/media/Ding2.mp3
...can I start one or the other files, or does it just start streaming everything in the playlist from top to bottom?
Well, I've gotten stuck with implementing the MPD platform in HASS. The MPD media player shows that it's unavailable. It works if I address it in a browser, but I think the address that I'm entering in the media player configuration isn't correct. Does this look right?
ip is the internal IP address of the Pi3 with port 6680.
Got it! I figured out that the port needs to be 6600 when using HA to access it as it is using the MPD server and not the HTTP server to call up the playlist.
I have hassio and a mpd install on it. I have songs and playlist in the local directory on rpi3. I want that when I start the home assistant all the songs discovered/ playlist discovered should automaticallly get loaded into the mpd play and I can play there from home assistant front end. Later on I want to put the same media player on the hadashboard so that I can play the songs from there? Is this possible or any other alternative ?? thank you
I simply added this repository in my Add-On section in Hass.io.
https://github.com/bestlibre/hassio-addons
Then, installed the Mopidy add-on, put my media files in the appropriate share folder (assuming you have SAMBA running) and created the m3u playlist file, set the correct port forwarding and voila! I have access to a client called Moped through chrome at http://hassio.local:6600/mopidy/ The only way I could configure the service to be accessible via automation was to use the MPD port 6680, not 6600. The playlists are simple text files that have a specific syntax... for example:
/share/mopidy/media/chime_1.mp3
This is all new to me.
@arretx Thank you .. I tried this now I can load the playlist to the media player via script. Do you know a way in which the mopidy can automatically load the playlist when i start the home assistant. Do you know what I need to configure for this in the configuration.yaml file?
What ultimately are you trying to accomplish?
The only reason I put it in place was to trigger sound effects along with actions, make a custom doorbell that's seasonal, etc...
On Wed, Nov 15, 2017 at 10:26 AM, sumitrajancse notifications@github.com wrote:
@arretx https://github.com/arretx Thank you .. I tried this now I can load the playlist to the media player via script. Do you know a way in which the mopidy can automatically load the playlist when i start the home assistant. Do you know what I need to configure for this in the configuration.yaml file?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bestlibre/hassio-addons/issues/22#issuecomment-344666162, or mute the thread https://github.com/notifications/unsubscribe-auth/AekVUs-kji7b8l2J9vrX_sID6jFPUOEvks5s2x64gaJpZM4QKKxh .
-- https://about.me/jongriffith?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb Jon Griffith about.me/jongriffith https://about.me/jongriffith?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb
I am trying to make a media player and show this on the home assistant screen. I want that when home assistant is started, it should have a playlist loaded so that on the click on the button I can play the songs. My main motive it to integrate the music system(MPD) on home assistant and also I can see the playlist also I will store some URL of the web radio and can play them from home assistant.
Closing since it looks like a homeassistant issue, and not one with the addon itself.
You mention in the initial introduction that the /share folder is read-only. On my MacBook, connected to the Samba share "/share," I don't seem to have any problem creating folders manually in Finder. Perhaps something has changed to make it not read-only?