I was able to access Libreelec through SSH. I created an account in Zerotier and installed it as an add-on to my Libreelec Raspberry. I have installed Zerotier One app on iPhone and file browser app. Now I'm trying to figure out how to share the files from the hard drive that is connected to Raspberry to my iPhone. Any advice will help me.
Posts by dimo777
-
-
-
-
Hello everyone. I have a Raspberry Pi 4B with Libreelec. I want to have access to the file system on the hard drive that I mounted on it. I want this access to be possible when I'm out of my home basically. I have a real static IP address of the router and I know how to forward the ports. I installed Proftpd, but I only have access to my files locally. Does anyone know what else to do? I'm not good at writing command lines, but if there are exact instructions for copying / pasting, I think I can handle it.
-
Both scripts work fine. The problem is that with each Libreelec restart, I have to pair the two devices manually. Isn't there something that can be added to the script so that Google Home can automatically connect to Cody every time? Just like when I connect it to a bluetooth speaker. Is the problem in Libreelec or in the built-in bluetooth module of Raspberry Pi? If I buy a separate bluetooth dongle, will it work better?
-
I'm trying to use my Odroid C2 with LibreElec as a bluetooth receiver for my phone, so I can pull up my streaming service of choice on the couch and listen on my home A/V receiver. I have been, for the past two weeks, doing this by pulling out my laptop. I followed the initial steps here: Pulseaudio [LibreELEC.wiki] for audio receiving, and it worked. for the next week, I didn't turn off my kodi box, and used it to stream music. I didn't use Kodi to watch anything in that time, and I disconnected and reconnected my phone, and then it no longer functioned. I followed the directions again, and found that simply by having my phone be on with bluetooth, and using
and then loading the pulseaudio udev module
the music would begin streaming again.
This still required me to pull out the laptop, ssh in, and do it everytime I wanted to listen to music after restarting kodi, having my bluetooth off on the phone, or after watching another source on Kodi. This morning I decided to make an autostart script. Following the directions in the wiki, I placed a file called autostart.sh in /storage/.config, and in that file I placed
Currently, if my phone is bluetooth on, and I reset the Odroid C2, I can then go into Kodi>Settings>Bluetooth and connect to my phone and streaming works. Kodi has no system sounds at startup (which maybe helpful, but I don't care about the lack of sounds). If I turn off bluetooth on my phone, watch another source, etc, then GUI sounds return to Kodi, and I'm not longer able to stream from my phone.
It seems that KODI is "grabbing" pulseaudio away from the bluetooth source. Rebooting is quick enough, and I've suceeded in eliminating the need to boot the laptop for an ssh session, but is there a way to do what I want to do better, cleaner, faster? I'd like to just be able to stream to my LibreElec box anytime my phone is paired. Is there a way to tell Kodi to not grab the audio input of LibreElec if no other sources are playing?
Thanks for any help, and hopefully this helps anyone else trying to do the same in future!
Edit: if I turn off GUI sounds by telling kodi to "never" use them, and disconnect and reconnect from my phone in System settings>Kodi>Bluetooth, I can stream again. I'm going to leave this post for others who maybe have the same question, and also because if others do the same thing in a more effecient say (stream bluetooth to kodi) I'd love to hear how. If that's inappropriate, I'll delete the post.
Have you found a smarter solution to the problem? I came to the same situation as you. I'm trying to connect google home to my Raspberry pi.
-
- Login by SSH
- Open the file with the "nano" editor: nano /storage/.config/autostart.sh
- Write this into the file:
Bash#!/bin/sh systemctl stop kodi pactl load-module module-udev-detect pactl set-default-sink alsa_output.0.iec958-stereo pactl set-default-source bluez_source.74_9E_AF_73_EC_4F.a2dp_source systemctl start kodi
- Store the file by key combination "Control" + "o", and press "Enter" to confirm writing
- Press the key combination "Control" + "x" to finish the editor
- Reboot LE to see whether the commands inside autostart.sh do work
I put the above script, but when restarted, Libreelec freezes and only the logo remains. I wrote the following:
1. # / bin / sh
2. pactl load-module modules-udev-detect
3. done
Now at restart it charges like a bluetooth receiver and I don't have to write anything every time with Terminal, but every time I have to manually pair with Google Home. Can any more automated solution be found or is this the best I can expect?
-
Could you help me with more advanced instructions since I'm a beginner with Kodi and Linux. What I set as ssh commands after every reboot is the following:
1. systemctl stop kodi
2. pactl load-module module-udev-detect
3. pactl set-default-sink alsa_output.0.iec958-stereo
4. pactl set-default-source bluez_source.74_9E_AF_73_EC_4F.a2dp_source
5. systemctl start kodi
What exactly should I write after I run the command:
Thank you very much in advance and I apologize if I bother with any basic questions.
-
Hello,
I have Raspberry Pi with LibreElec and I want to use it as a bluetooth receiver to connect my old Denon receiver and speakers via hdmi so that google home can connect to it as the default bluetooth speaker. I used this link to make the settings. I follow the instructions above and my Raspberry pi works perfectly as a bluetooth receiver. The problem, however, is that with each Libreelec restart, the settings are reset and I have to repeat the procedure every time. Is there any option or command that should be written in ssh so that I don't have to do everything again after every restart? Thanks.