Code Monkey home page Code Monkey logo

Comments (12)

bestlibre avatar bestlibre commented on August 18, 2024

The read only status is only from the add-on. Other add-ons (ie the samba add-on) have write access to the folder.

from hassio-addons.

arretx avatar arretx commented on August 18, 2024

from hassio-addons.

bestlibre avatar bestlibre commented on August 18, 2024

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.

from hassio-addons.

arretx avatar arretx commented on August 18, 2024

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:

#EXTM3U

#EXTINF:123, Sample Ding
/share/mopidy/media/Ding1.mp3

#EXTINF:123, Sample Ding 2
/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?

from hassio-addons.

arretx avatar arretx commented on August 18, 2024

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?

  • platform: mpd
    host: !secret mpd_host_ip
    port: !secret mpd_host_port

ip is the internal IP address of the Pi3 with port 6680.

from hassio-addons.

arretx avatar arretx commented on August 18, 2024

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.

from hassio-addons.

sumitrajancse avatar sumitrajancse commented on August 18, 2024

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

from hassio-addons.

arretx avatar arretx commented on August 18, 2024

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:

#EXTM3U

#EXTINF:123, Chime 1
/share/mopidy/media/chime_1.mp3

This is all new to me.

from hassio-addons.

sumitrajancse avatar sumitrajancse commented on August 18, 2024

@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?

from hassio-addons.

arretx avatar arretx commented on August 18, 2024

from hassio-addons.

sumitrajancse avatar sumitrajancse commented on August 18, 2024

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.

from hassio-addons.

bestlibre avatar bestlibre commented on August 18, 2024

Closing since it looks like a homeassistant issue, and not one with the addon itself.

from hassio-addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.