philippe44 / LMS-Cast

Chromecast to LMS bridge
65 stars 10 forks source link

Plugin doesn't start (Cannot start mDNS searcher) #26

Closed th2j closed 2 years ago

th2j commented 2 years ago

Hello, i didn't use the plugin for a while, but this morning i tried tu use it and it doesn't start. it was working before and i didn't change the parameters.

here is the logs : Starting Squeeze2cast: /var/daphile/mediaserver/cache/InstalledPlugins/Plugins/CastBridge/Bin/squeeze2cast-x86-64-static -Z -I -f /var/daphile/mediaserver/log/castbridge.log -d all=debug -x /srv/mediaserver/prefs/castbridge.xml [11:00:07.585837] main:1268 Starting squeeze2cast version: v1.82.2 (Feb 21 2022 @ 19:01:49) [11:00:07.586126] register_alac:541 using alac to decode alc [11:00:07.586168] register_mad:433 using mad to decode mp3 [11:00:07.586190] register_faad:647 using faad to decode aac [11:00:07.586210] register_vorbis:346 using vorbis to decode ogg [11:00:07.586230] register_pcm:339 using pcm [11:00:07.586249] register_flac:313 using flac to decode flc [11:00:07.586269] register_opus:286 using opus to decode ops [11:00:07.586288] register_m4a_thru:307 using mp4 to aac (ADTS) [11:00:07.586308] register_flac_thru:212 using flac [11:00:07.586327] register_thru:106 using thru [11:00:07.586347] register_soxr:394 using soxr for resampling [11:00:07.586366] Start:1036 Binding to 192.168.31.68 (http:0) [11:00:07.586795] Start:1046 Cannot start mDNS searcher [11:00:07.586843] main:1307 Cannot start, exiting

Retarting Squeeze2cast after crash: /var/daphile/mediaserver/cache/InstalledPlugins/Plugins/CastBridge/Bin/squeeze2cast-x86-64-static -Z -I -x /srv/mediaserver/prefs/castbridge.xml

Thanks Thomas

philippe44 commented 2 years ago

It looks like something has changes in your network configuration. Likely a firewall or something that prevents the search for players to be launched

th2j commented 2 years ago

Thanks for your reply

i am on Daphile (21.12-b051729-x86_64-rt), LMS is 8.2.1

I tried to remove the plugin, erase the prefs file to restart from a new install, but now the castbridge.xml is missing and i can't generate one,

Le mer. 24 août 2022 à 18:34, philippe44 @.***> a écrit :

It looks like something has changes in your network configuration. Likely a firewall or something that prevents the search for players to be launched

— Reply to this email directly, view it on GitHub https://github.com/philippe44/LMS-to-Cast/issues/26#issuecomment-1225966084, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASDV3RZQYT2MGHUXH6EVOEDV2ZFLBANCNFSM57OPFWAA . You are receiving this because you authored the thread.Message ID: @.***>

th2j commented 2 years ago

some updates :

i succeeded to generate a new castbridge.xml (by copying from another machine and regenerate), but the plugin is not working

here is the castbridge file :

info warn warn cc:cc:c0:db:d7:7d 1 dbac066c2de58fc3396447fa82f550c9 Google mini Google mini cc:cc:07:e9:cd:ba b79c09933d84fc51087ed5b0aff7e6c5 1 Chromecast Ultra Chromecast Ultra warn ? warn info 0 -1 0 96000 1 1 4194304 1 1 0 1048576 thru 1 15 0 aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3 50 0 1 ? warn -1 info

Le jeu. 25 août 2022 à 10:27, Thomas @.***> a écrit :

Thanks for your reply

i am on Daphile (21.12-b051729-x86_64-rt), LMS is 8.2.1

I tried to remove the plugin, erase the prefs file to restart from a new install, but now the castbridge.xml is missing and i can't generate one,

Le mer. 24 août 2022 à 18:34, philippe44 @.***> a écrit :

It looks like something has changes in your network configuration. Likely a firewall or something that prevents the search for players to be launched

— Reply to this email directly, view it on GitHub https://github.com/philippe44/LMS-to-Cast/issues/26#issuecomment-1225966084, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASDV3RZQYT2MGHUXH6EVOEDV2ZFLBANCNFSM57OPFWAA . You are receiving this because you authored the thread.Message ID: @.***>

philippe44 commented 2 years ago

Creating a config file will not help. If none is generated then there is no player detected or the bridge is not starting. This is the latter in your case but as told, it means something is interfering with your networking configuration. Maybe you have daphile running in a VM ?

th2j commented 2 years ago

the bridge crash at startup, it is a regular Daphile install, and i didn't change anything in my network recently, it is the same with wifi or ethernet

philippe44 commented 2 years ago

No it does not crash, look at the previous log lines : it exits because it cannot start the mdns (device) searcher. The monitoring thread see that it has exited and cannot differentiate from a crash, hence the log. Anyway, do you have multiple network interfaces? If you do, try to force the bridge to use what LMS uses

th2j commented 2 years ago

ok thanks for helping, i tried but this is not working for me

th2j commented 2 years ago

ok i succeeded to make it work :

i remove le line "disallow-other-stacks=yes" in the file /etc/avahi/avahi-daemon.conf

Thanks for your help