1

Temat: Radio internetowe na Gargoyle 1.15

Mam ruter WDR3600 ze zrobionym extrootem. Miałem zainstalowaną wersję 1.13 radio działało, teraz po przejściu na  1.15 nie mogę zainstalować dodatku. Dostaje komunikat
daemon.err uhttpd[2471]: ERROR: Dependency madplay-alsa of package plugin-gargoyle-iradio cannot be found, try updating your package lists

madplaya również nie udało mi się zainstalować. Zmieniły się adresy?

2

Odp: Radio internetowe na Gargoyle 1.15

Zmieniła się nazwa pakietu. Nie ma już madplay-alsa jest po prostu madplay.

opkg update
opkg install plugin-gargoyle-iradio

EDIT: zaktualizowałem pakiet o wymagane zależności.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Radio internetowe na Gargoyle 1.15

Co prawda pojawiła się zakładka radio internetowe, ale nic nie można włączyć. Cisza w głośniku. Przeniosłem listę stacji i żadna nie działa. W samej zakładce radio brak jest teraz opcji ściszania i wyciszania mikrofonu czy głośnika.

4

Odp: Radio internetowe na Gargoyle 1.15

Sprawdź ręcznie czy sam madplay gra. Jeżeli nie to problem jest na poziomie konfiguracji samego podsystemu audio.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Radio internetowe na Gargoyle 1.15

W jaki sposób uruchomić madplaya? Proszę o komendę ..

6

Odp: Radio internetowe na Gargoyle 1.15

wget -q "tu-url-do-strumienia-mp3" -O - | madplay -q -
Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Radio internetowe na Gargoyle 1.15

root@Gargoyle:~# wget -qO - http://stream.radio7.pl:8002/radio7.mp3  | madplay -
Q - &
root@Gargoyle:~# -ash: madplay: not found

root@Gargoyle:~# wget -qO - http://stream.radio7.pl:8002/radio7.mp3  | madplay-a
lsa -Q - &
root@Gargoyle:~# -ash: madplay-alsa: not found

8

Odp: Radio internetowe na Gargoyle 1.15

Miałeś zainstalować madplay. Zainstalowałeś?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Radio internetowe na Gargoyle 1.15

Tak, zgodnie z wytycznymi

opkg update
wget https://dl.eko.one.pl/test/madplay-alsa … 08_all.ipk
opkg install ./madplay-alsa_20250208_all.ipk
opkg install plugin-gargoyle-iradio


root@Gargoyle:~# opkg install ./madplay-alsa_20250208_all.ipk
Preparing to install the following packages, which will require 95 bytes:
        madplay-alsa

Preparing to install package madplay-alsa...
        Successfully installed madplay-alsa.
Installation of packages successful.

10

Odp: Radio internetowe na Gargoyle 1.15

Uruchom samo madplay. Jeżeli nie działa - zainstaluj pakiet madplay.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: Radio internetowe na Gargoyle 1.15

root@Gargoyle:~# wget madplay
Downloading 'madplay'
Failed to allocate uclient context

12

Odp: Radio internetowe na Gargoyle 1.15

opkg install madplay

Jaki wget, pakiet madplay.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

13

Odp: Radio internetowe na Gargoyle 1.15

root@Gargoyle:~# opkg install madplay
WARNING: Package madplay is already installed, ignoring
         Use --force-reinstall to force reinstallation

No packages to install.

Chcę uruchomić madplay tak jak w zadaniach cron  czyli

root@Gargoyle:~# wget -qO - http://stream.radio7.pl:8002/radio7.mp3 | madplay - Q - &
i dostaje taki wynik
root@Gargoyle:~# -ash: madplay: not found

14

Odp: Radio internetowe na Gargoyle 1.15

Weź odinstaluj pakiet madplay i zainstaluj ponownie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

15

Odp: Radio internetowe na Gargoyle 1.15

root@Gargoyle:~# opkg remove madplay
ERROR: Installed package madplay-alsa depends on madplay, can't uninstall

root@Gargoyle:~# opkg remove madplay-alsa
ERROR: Installed package plugin-gargoyle-iradio depends on madplay-alsa, can't uninstall

root@Gargoyle:~# opkg remove plugin-gargoyle-iradio
Removing package plugin-gargoyle-iradio...
Finished removing plugin-gargoyle-iradio.

root@Gargoyle:~# opkg remove madplay-alsa
Removing package madplay-alsa...
Finished removing madplay-alsa.

root@Gargoyle:~# opkg remove madplay
Removing package madplay...
Finished removing madplay.

root@Gargoyle:~# opkg install madplay
Preparing to install the following packages, which will require 28187 bytes:
        madplay

Preparing to install package madplay...
        Downloading...
        Downloaded madplay successfully.
        Installing madplay...
        Successfully installed madplay.
Installation of packages successful.

root@Gargoyle:~# wget -qO - http://stream.radio7.pl:8002/radio7.mp3 | madplay - Q - &
root@Gargoyle:~# Error loading shared library libasound.so.2: No such file or directory (needed by /usr/bin/madplay)
Error loading shared library libmad.so.0.16.3: No such file or directory (needed by /usr/bin/madplay)
Error loading shared library libid3tag.so.0: No such file or directory (needed by /usr/bin/madplay)
Error relocating /usr/bin/madplay: mad_timer_string: symbol not found
Error relocating /usr/bin/madplay: mad_timer_fraction: symbol not found


root@Gargoyle:~# opkg install plugin-gargoyle-iradio
ERROR: Dependency madplay-alsa of package plugin-gargoyle-iradio cannot be found, try updating your package lists
root@Gargoyle:~# opkg remove madplay
Removing package madplay...
Finished removing madplay.

root@Gargoyle:~# opkg install madplay-alsa
ERROR: No package named madplay-alsa found, try updating your package lists

16

Odp: Radio internetowe na Gargoyle 1.15

Ciekawe że nie instaluje ci zależności. Instaluj znów madplay do tego libid3tag  i wszystkie biblioteki o które on się drze.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

17

Odp: Radio internetowe na Gargoyle 1.15

root@Gargoyle:~# opkg install madplay
Preparing to install the following packages, which will require 28187 bytes:
        madplay

Preparing to install package madplay...
        Downloading...
        Downloaded madplay successfully.
        Installing madplay...
        Successfully installed madplay.
Installation of packages successful.

root@Gargoyle:~# opkg install libid3tag
WARNING: Package libid3tag is already installed, ignoring
         Use --force-reinstall to force reinstallation

No packages to install.

root@Gargoyle:~# wget -qO - http://stream.radio7.pl:8002/radio7.mp3 | madplay - Q - &
root@Gargoyle:~# Error loading shared library libasound.so.2: No such file or directory (needed by /usr/bin/madplay)
Error loading shared library libmad.so.0.16.3: No such file or directory (needed by /usr/bin/madplay)
Error loading shared library libid3tag.so.0: No such file or directory (needed by /usr/bin/madplay)
Error relocating /usr/bin/madplay: mad_timer_string: symbol not found
Error relocating /usr/bin/madplay: mad_timer_fraction: symbol not found
Error relocating /usr/bin/madplay: snd_pcm_sw_params_current: symbol not found
Error relocating /usr/bin/madplay: snd_pcm_hw_params_set_rate: symbol not found
Error relocating /usr/bin/madplay: snd_pcm_hw_params_set_period_time_near: symbol not found
Error relocating /usr/bin/madplay: mad_f_div: symbol not found
Error relocating /usr/bin/madplay: id3_field_getlatin1: symbol not found
Error relocating /usr/bin/madplay: id3_ucs4_latin1duplicate: symbol not found


Chciałem doinstalować to co chce

root@Gargoyle:~# opkg install libid3tag
WARNING: Package libid3tag is already installed, ignoring
         Use --force-reinstall to force reinstallation

No packages to install.

root@Gargoyle:~# opkg install libmad
WARNING: Package libmad is already installed, ignoring
         Use --force-reinstall to force reinstallation

No packages to install.

root@Gargoyle:~# opkg install libasound
ERROR: No package named libasound found, try updating your package lists

18

Odp: Radio internetowe na Gargoyle 1.15

Niby udaje że ma pakiety a nie ma fizycznie plików. Odinstaluj wszystkie te biblioteki i zainstaluj je ponownie.

libasound jest w alsa-lib, więc odinstaluj i zainstaluj alsa-lib ponownie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

19

Odp: Radio internetowe na Gargoyle 1.15

Tearaz mam tylko to

root@Gargoyle:~# wget -qO - http://stream.radio7.pl:8002/radio7.mp3 | madplay - Q - &
root@Gargoyle:~# Error loading shared library libz.so.1: No such file or directory (needed by /usr/lib/libid3tag.so.0)
Error relocating /usr/lib/libid3tag.so.0: compress2: symbol not found
Error relocating /usr/lib/libid3tag.so.0: uncompress: symbol not found
root@Gargoyle:~# opkg install libz
ERROR: No package named libz found, try updating your package lists

20

Odp: Radio internetowe na Gargoyle 1.15

Jakieś libz czy zlib czy coś o podobnej nazwie, też przeinstaluj.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21

Odp: Radio internetowe na Gargoyle 1.15

root@Gargoyle:~# opkg install zlib
Preparing to install the following packages, which will require 35855 bytes:
        zlib

Preparing to install package zlib...
        Downloading...
        Downloaded zlib successfully.
        Installing zlib...
        Successfully installed zlib.
Installation of packages successful.

root@Gargoyle:~# opkg install libid3tag
Preparing to install the following packages, which will require 23230 bytes:
        libid3tag

Preparing to install package libid3tag...
        Downloading...
        Downloaded libid3tag successfully.
        Installing libid3tag...
        Successfully installed libid3tag.
Installation of packages successful.

root@Gargoyle:~# opkg install madplay
Preparing to install the following packages, which will require 28187 bytes:
        madplay

Preparing to install package madplay...
        Downloading...
        Downloaded madplay successfully.
        Installing madplay...
        Successfully installed madplay.
Installation of packages successful.

root@Gargoyle:~# wget -qO - http://stream.radio7.pl:8002/radio7.mp3 | madplay - Q - &
root@Gargoyle:~# MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for 0
audio: No such file or directory

22

Odp: Radio internetowe na Gargoyle 1.15

Krok dalej. Masz sterowniki do karty dźwiękowej? Odpowiednie kmod-*?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

23 (edytowany przez Gdobyl 2025-02-10 10:04:28)

Odp: Radio internetowe na Gargoyle 1.15

Nic nie instalowałem, na wersji 1.13 ruszyło od razu.  Jak zanaleźć co potrzebuje ?

Po odpięciu i włożeniu karty mam to w logu

Mon Feb 10 10:02:35 2025 kern.info kernel: [  741.252409] usb 1-1.2: new full-speed USB device number 5 using ehci-platform

24

Odp: Radio internetowe na Gargoyle 1.15

Jaką kartę dzwiękową masz? jak na usb to kmod-usb-audio, i tylko nie sugeruj się tym że ci pisze że masz zainstalowany tylko odinstaluj i zainstaluj, bo doświadczenie z tego wątku pokazuje że nie poinstalował ci rzeczy.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

25 (edytowany przez Gdobyl 2025-02-10 10:07:07)

Odp: Radio internetowe na Gargoyle 1.15

Karta jest na USB

root@Gargoyle:~# opkg remove kmod-usb-audio
Removing package kmod-usb-audio...
Finished removing kmod-usb-audio.

root@Gargoyle:~# opkg install kmod-usb-audio
Preparing to install the following packages, which will require 111354 bytes:
        kmod-usb-audio

Preparing to install package kmod-usb-audio...
        Downloading...
        Downloaded kmod-usb-audio successfully.
        Installing kmod-usb-audio...
        Successfully installed kmod-usb-audio.
Installation of packages successful.

root@Gargoyle:~# wget -qO - http://stream.radio7.pl:8002/radio7.mp3 | madplay -
Q - &
root@Gargoyle:~# MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robe                                                                                        rt Leslie et al.
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for 0
audio: No such file or directory