The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » mDNS failure » 2025-01-27 17:25:26

I have installed mdns-scan and I can see that something is publishing what looks like a spinner, ie,
Bad host name-           
Bad host name
Bad host name\           
Bad host name
Bad host name|           
Bad host name
Bad host name\           
Bad host name
etc forever

I think I will have to do as you say and turn everything of one by one.

#2 Hardware & System Configuration » mDNS failure » 2025-01-27 13:57:33

zephod
Replies: 2

I have an HP wireless printer on my network and its hostname is HP<12 digit hex string>. mDNS is running and I can ping the printer with
$ ping HP<hex string>.local

I changed the hostname on the printer to be just "Printer" but I still have to use the old hostname to ping.
I did some research and found that I should be able to see the mDNS names with avahi-browse. The first time I used this command I got a list of service names but since then all I get is an error:
$ avahi-browse --all
avahi_service_browser_new() failed: Invalid service type

Some more research led me to this thread: https://github.com/avahi/avahi/issues/212 which shows that there is a long standing  bug in avahi wherein it stops after encountering a device that sends a malformed service announcement.

So I have a couple of questions:
Am I correct in thinking that we have to wait for upstream to fix this?
Does anyone know of a way to determine what is sending the malformed service announcement?
Is there a way to update the mDNS cache manually or some other workaround so that I can use ping Printer.local?

Steve.

#3 Re: Freedom Hacks » Amazon mydedia » 2025-01-05 15:36:31

So I think I have found a solution that will work for me.
It is something I already have and use but I didn't know I could use it to play my media.
https://www.openhab.org/
and more specifically https://www.openhab.org/docs/configurat … o-playback

Thanks for the feedback. Some interesting possibilities.

#4 Re: Freedom Hacks » Amazon mydedia » 2024-12-29 17:57:14

So I found that they have a docker version and I was able to get that to work.
Unfortunately, they want to charge me to play MY music on MY device over MY network. I don't think so.
Does anyone know of another way, like an open source version of MyMedia?

#5 Re: Freedom Hacks » Amazon mydedia » 2024-12-28 15:20:32

It is installed so it looks like I'm out of luck.

#6 Re: Freedom Hacks » Amazon mydedia » 2024-12-28 00:15:17

The player doesn't need to start at boot time but a server should so that any time music was requested, it would start playing.
I tried just running the executable but there were errors

ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542

#7 Freedom Hacks » Amazon mydedia » 2024-12-27 23:49:28

zephod
Replies: 12

I wanted to try Amazon's mymedia (https://www.mymediaalexa.com/#section-3) to play my local music files on Amazon devices. The .deb file only comes with systemd service files. Is there a way to convert these to init.d start scripts? Anyone else tried this?
I found an old post that contained a sysd2v.sh script to do it but is doesn't work any more.

Steve

Board footer

Forum Software