Coder Social home page Coder Social logo

rodripf / hassio-local-vlc Goto Github PK

View Code? Open in Web Editor NEW
18.0 2.0 13.0 103 KB

Run a local VLC player on your home assistant installation

License: GNU General Public License v3.0

Dockerfile 58.98% Shell 41.02%
home-assistant hassio-addons hassio-repository

hassio-local-vlc's Introduction

hassio-local-vlc's People

Contributors

rodripf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hassio-local-vlc's Issues

Viewer Pane uses Flash which is EoL

The viewer pane uses Flash which is EoL and not supported on any browsers. This will need to be replaced by something else to retain functionality.

image

Feature request: Remote Access

Enable remote access from via IP and configure user/password

Need to access VLC from another home assistant instant via VLC telnet

error adding repository

Hello, I get this message when I try to add :
expected a URL @ data['addons_repositories'][6]. Got 'local vlc'

anything I do wrong ?

edit:
I rebooted all and after that I managed to add your repository :-)

TLS handshake error

Receiving an error while trying to play any media, probably since I'm using HTTPS?
Still trying to troubleshoot, it's late so gonna check it further tomorrow.
Posting the full log below in case it's a known issue

[00007f88d5d52ab0] gnutls tls client error: TLS handshake error: Error in the push function.
[00007f88d5d52ab0] main tls client error: TLS session handshake error
[00007f88d5d52ab0] main tls client error: connection error: Connection refused
[00007f88d5cb63c0] access stream error: HTTP connection failure
[00007f88d5b93c70] main input error: Your input can't be opened
[00007f88d5b93c70] main input error: VLC is unable to open the MRL 'https://[redacted].duckdns.org/local/test.mp3?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIxZDUyOGU2YjBlNWY0YmY4YTNhNDcwZTUwMWIzYTgyNSIsInBhdGgiOiIvbG9jYWwvYW55a2FfY2FtZXJhX3N0YXJ0Lm1wMyIsInBhcmFtcyI6W10sImlhdCI6MTcwNDQxMjgyNywiZXhwIjoxNzA0NDk5MjI3fQ.P9lWoz6FZT4Kb9jx8vg_z5JLEgrM_F7viOrMQRWA0M4'. Check the log for details.

VLC in HASSIO no sound

Just to be sure am clear, am running HASSIO which is a VM that I downloaded from the official website and includes the OS and some containers.
I installed the integration and this is what I get when I try to play a file (no sound from the headphone jack). I placed the file in /share directory via the ssh add on.

[000055622cfd9900] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[000055622cfd9900] main interface error: no suitable interface module
[00007f3996535b40] main libvlc error: interface "dbus,none" initialization failed
[000055622d011460] main interface error: no suitable interface module
[00007f3996535b40] main libvlc error: interface "globalhotkeys,none" initialization failed
[000055622cfd6040] main playlist: playlist is empty
[000055622cfd9ac0] [telnet] lua interface: Listening on host "telnet://:4212".
[000055622d011460] [http] lua interface: Lua HTTP interface
[000055622cfd6040] main playlist: playlist is empty
[000055622cfd6040] main playlist: playlist is empty
[000055622cfd6040] main playlist: playlist is empty
[000055622cfd6040] main playlist: playlist is empty
TagLib: ID3v2.4 no longer supports the frame type TDAT. It will be discarded from the tag.

The command '/bin/ash -o pipefail -c apk update' returned a non-zero code: 2

Installing fails with "The command '/bin/ash -o pipefail -c apk update' returned a non-zero code: 2"
image

Supervidor Logfile:
21-10-05 11:10:50 INFO (SyncWorker_3) [supervisor.docker.addon] Starting build for 6872d8d8/armv7-addon-local_vlc:18
21-10-05 11:10:59 ERROR (SyncWorker_3) [supervisor.docker.addon] Can't build 6872d8d8/armv7-addon-local_vlc:18: The command '/bin/ash -o pipefail -c apk update' returned a non-zero code: 2
21-10-05 11:10:59 ERROR (SyncWorker_3) [supervisor.docker.addon] Build log: 
Step 1/18 : ARG BUILD_FROM=hassioaddons/base:7.0.3
Step 2/18 : FROM $BUILD_FROM
 ---> a6b4abf955c9
Step 3/18 : ENV LANG C.UTF-8
 ---> Using cache
 ---> 2226c4195be7
Step 4/18 : ENV HOME=/home/vlc
 ---> Using cache
 ---> f22bd45746ed
Step 5/18 : RUN apk update
 ---> Running in 4bc54eb406a3
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/armv7/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: No such file or directory

fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/armv7/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: No such file or directory

2 errors; 39 distinct packages available
Removing intermediate container 4bc54eb406a3

VLC cannot see the media files

The installation sent without a hitch. I placed some mp3 files in the /share Hassio directory. I verified they are there. However, the web interface cannot see them. Restarted the add-on, and restarted hassio, but not go :-(

vlc addon audio not working

now vlc telnet addon before audio output alsa0,alsa1,alsa2 now only default and
Built-in Audio Digital Stereo (IEC958) i am trying both not working
[01758f40] main decoder error: failed to create audio output
ALSA lib dlmisc.c:283:(snd_dlobj_cache_get0) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so ((null): Error loading shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so: No such file or directory)
[016c29f0] alsa audio output error: cannot open ALSA device "default": No such device or address
[016c29f0] main audio output error: Audio output failed
[016c29f0] main audio output error: The audio device "default" could not be used:
No such device or address.

Where should I configure password?

Hi, newbie here, trying HomeAssistant. I have latest version running on a virtualbox on Windows.

In your installation instructions, step 5, you mention: "Configure a password for your telnet and web interface"

Where should I configure that password?

Thanks!

TTS & Audio cut after 2 second

good evening everyone. I have been using vlc for a few days on my raspi 4 (1GB) with 64bit hassio booted from ssd, and I switched from mopidy to vlc since on the 64bit version it does not work, I set everything without problems, I use the 3.5 audio jack as regards the exit.
here is the problem, at the time of playing the files, both TTS and WAV or MP3 after two seconds the audio mutes and playback is not completed, it is a known problem or a problem with my configuration, after 3/4 seconds the problem disappears, tested with a song

thank you so much

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.