UPNP Delay

Gödel

Storage is especially nice if it doesn't rotate
Joined
Nov 21, 2002
Messages
605
Location
Virginia
Pardon my ignorance again, but I'm having a vexing issue on my main PC, a relatively fast (for me) Ryzen 3700x with a decent M.2 SSD on a gbps ether-network.

When I open VLC to try to play music from my UPNP record collection, it takes quite a while to find it. I just checked again, and it took over 6 minutes.

Other PCs in my mini-data-center connect to it in seconds, and so does my phone.

How can I get this major lag down to a reasonably short delay?

TIA​
 

Gödel

Storage is especially nice if it doesn't rotate
Joined
Nov 21, 2002
Messages
605
Location
Virginia
Confession: I'm using Rhythmbox instead of VLC, because in my search for the nasty problem that VLC skips the first 2 seconds of every song, I haven't found a solution. So for now, I'm just leaving Rhythmbox up. I'll check into turning off the firewall sometime.

I'm a sporadic multimediot. I occasionally like to listen to music while I'm cruisin' the web, or when I'm watching sports (I don't need the announcers to tell me what's going on on the field.)
 

Mercutio

Fatwah on Western Digital
Joined
Jan 17, 2002
Messages
22,899
Location
I am omnipresent
I was going to suggest running your music through Squeezebox or Jellyfin. UPNP / DLNA i certainly works, but you may have an easier time in something that handles presentation as well.
 

Gödel

Storage is especially nice if it doesn't rotate
Joined
Nov 21, 2002
Messages
605
Location
Virginia
Upon further review, I figured out that my other PCs connected quickly because they weren't running firewalls. I don't know why; all 3 are running regular Ubuntu installs to which I didn't do anything UFW related.

I googled a bit, and I found to open ports 1900 and 5000, and then VLC would see the record collection fast, but then error out when I tried to listen.

OTOH, I found that if I open port 3689, Rhythmbox found the records pretty quick, and opened (at least one of) them fine.

I'm listening to Miles Davis right now: 1781957678542.png

Thank you so much, Mr. Mercutio!

I'll check into Squeezebox or Jellyfin sometime.
 

sedrosken

Florida Man
Joined
Nov 20, 2013
Messages
2,118
Location
Eglin AFB Area
Website
sedrosken.net
Huh. I either use Jellyfin or just access everything via SMB or NFS. So there WAS once upon a time a reason to have UPnP enabled that wasn't just opening holes in your firewall for funsies.
 
Top