lmsSetup | stream audio to/from a USB sound interface

 by   aschamberger Shell Version: Current License: MIT

kandi X-RAY | lmsSetup Summary

kandi X-RAY | lmsSetup Summary

lmsSetup is a Shell library typically used in Internet of Things (IoT), Raspberry Pi applications. lmsSetup has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

I wanted to be able to stream audio to/from a USB sound interface via Logitech Media Server. The LMS is running on my NAS (unRAID) in a Docker. unRAID does not have any USB sound drivers enabled in the kernel. As this is also the case with DVB devices there is a unRAID DVB Edition built by unRAID users. These builds also don't have USB sound support. Therefore I had to build the kernel by myself (based on the LibreELEC unRAID DVB build). I tried this USB Sound Card w/ Line In and another USB Sound Card w/ Mic In.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              lmsSetup has a low active ecosystem.
              It has 2 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              lmsSetup has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of lmsSetup is current.

            kandi-Quality Quality

              lmsSetup has no bugs reported.

            kandi-Security Security

              lmsSetup has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              lmsSetup is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              lmsSetup releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of lmsSetup
            Get all kandi verified functions for this library.

            lmsSetup Key Features

            No Key Features are available at this moment for lmsSetup.

            lmsSetup Examples and Code Snippets

            No Code Snippets are available at this moment for lmsSetup.

            Community Discussions

            Trending Discussions on Internet of Things (IoT)

            QUESTION

            Display data from two json files in react native
            Asked 2020-May-17 at 23:55

            I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files

            ...

            ANSWER

            Answered 2020-May-17 at 23:55

            The new object to get params in React Navigation 5 is:

            Source https://stackoverflow.com/questions/61859411

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install lmsSetup

            Compile Kernel with USB Sound support (based on DVB build): Download build script: rm -r /mnt/cache/appdata/__snd_kernel mkdir /mnt/cache/appdata/__snd_kernel wget https://raw.githubusercontent.com/linuxserver/Unraid-DVB/master/build_scripts/kernel-compile-module.sh -P /mnt/cache/appdata/__snd_kernel sed -i '76,78{s/^/#/}' /mnt/cache/appdata/__snd_kernel/kernel-compile-module.sh sed -i '80,83{s/^/#/}' /mnt/cache/appdata/__snd_kernel/kernel-compile-module.sh wget -nc https://raw.githubusercontent.com/linuxserver/Unraid-Dependencies/master/build_scripts/variables.sh -P /mnt/cache/appdata/__snd_kernel wget -nc https://raw.githubusercontent.com/linuxserver/Unraid-Dependencies/master/build_scripts/dvb-variables.sh -P /mnt/cache/appdata/__snd_kernel #sed -i 's/TEHUTI="0.3.6.17.1"/TEHUTI="0.3.6.17.2"/g' # version in config was not available anymore chmod +x /mnt/cache/appdata/__snd_kernel/kernel-compile-module.sh Activate USB sound in .config: wget https://lsio.ams3.digitaloceanspaces.com/unraid-dvb/6-8-3/stock/.config -P /mnt/cache/appdata/__snd_kernel sed -i -r 's/# (CONFIG_SND_USB.+) is not set/\1=m/' /mnt/cache/appdata/__snd_kernel/.config sed -i -r 's/# (CONFIG_SND_BCD2000) is not set/\1=m/' /mnt/cache/appdata/__snd_kernel/.config sed -i '/^CONFIG_SND_USB_CAIAQ=m/a CONFIG_SND_USB_CAIAQ_INPUT=y' /mnt/cache/appdata/__snd_kernel/.config Run build scripts: cd /mnt/cache/appdata/__snd_kernel/ kernel-compile-module.sh Install: cd /mnt/cache/appdata/__snd_kernel/6-7-0/stock cp bzimage-new /boot/bzimage cp bzmodules-new /boot/bzmodules cp bzfirmware-new /boot/bzfirmware Reboot: powerdown -r
            Changing ALSA card IDs with udev (@see: #1, #2) Download 85-my-usb-audio.rules to /boot/config/ and edit USB path to match setup: wget https://raw.githubusercontent.com/aschamberger/lmsSetup/master/85-my-usb-audio.rules -P /boot/config/ vi /boot/config/85-my-usb-audio.rules Edit /boot/config/go to install custom udev rules stored in /boot/config/ from thumbdrive on every reboot into memory: sudo sh -c "echo '' >> /boot/config/go" sudo sh -c "echo '# setup USB audio udev rules' >> /boot/config/go" sudo sh -c "echo 'yes | cp -rf /boot/config/85-my-usb-audio.rules /etc/udev/rules.d/' >> /boot/config/go" sudo sh -c "echo 'udevadm control --reload-rules' >> /boot/config/go" sudo sh -c "echo 'udevadm trigger -c remove -s sound' >> /boot/config/go" sudo sh -c "echo 'udevadm trigger -c add -s sound' >> /boot/config/go" Show available sound cards: cat /proc/asound/cards
            Add Docker Repository in unRAID WebGUI: https://github.com/aschamberger/lmsSetup
            Install Logitech Media Server Docker: Go to Docker Admin --> press "Add Container" --> in "Template" select "lms-docker" Install LMS Plugin AirPlay Bridge (Support Thread, GitHub): With the AirPlay Bridge it is possible to easily integrate a AVR receiver (e.g my Pioneer VSX-831). It provides synchronisation, replaygain, gapless, fade in/out/cross and all other LMS goodies. Install LMS PluginPlayer Groups (Support Thread, GitHub): Maybe later: LMS Plugin ShairTunes2W (Support Thread, GitHub):
            Install Sqeezelite Docker (squeezelite: github, builds): Go to Docker Admin --> press "Add Container" --> in "Template" select "lms-squeezelite" Setup /config/alsa.sh: amixer -D hw:CARD=SND_A sset Speaker 80% mute # CSL amixer -D hw:CARD=SND_A sset Mic 80% cap mute # CSL
            Install Icecast 2 Docker: Go to Docker Admin --> press "Add Container" --> in "Template" select "lms-icecast" Edit icecast.xml and change hostname (@see Icecast Basic Setup, Icecast Config File) ... <hostname>localhost</hostname> ...
            Install Liquidsoap Docker: Go to Docker Admin --> press "Add Container" --> in "Template" select "lms-liquidsoap" Setup /config/alsa.sh: amixer -D hw:CARD=SND_B sset Speaker 80% mute # DIGIFLEX amixer -D hw:CARD=SND_B sset Mic 80% cap mute # DIGIFLEX amixer -D hw:CARD=SND_B sset Line 80% cap mute # DIGIFLEX amixer -D hw:CARD=SND_B sset PCM 80% cap mute # DIGIFLEX amixer -D hw:CARD=SND_B sset 'PCM Capture Source' Line # DIGIFLEX Edit liquidsoap.liq and change device (@see) ... input = input.alsa(bufferize=true,fallible=false,device="default:SND_A") ... Edit liquidsoap.liq and change mount (@see) ... output.icecast(%ogg(%flac(samplerate=44100,channels=2,compression=5,bits_per_sample=16)), host="localhost", port=8000, password="hackme", mount="/input.ogg", name="Input", format="audio/ogg", description="Input Stream", input) ... Listen to stream at: ... http://<host or IP>:8000/input.ogg ...

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/aschamberger/lmsSetup.git

          • CLI

            gh repo clone aschamberger/lmsSetup

          • sshUrl

            git@github.com:aschamberger/lmsSetup.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link