masmu / pulseaudio-dlna

A lightweight streaming server which brings DLNA / UPNP and Chromecast support to PulseAudio and Linux
GNU General Public License v3.0
1.25k stars 161 forks source link

ValueError: invalid literal for int() with base 10: '119,192.168.0.9' #417

Open JKBSUS15 opened 3 years ago

JKBSUS15 commented 3 years ago

Good evening everyone, first of all apologies for any weird description on my part, i am really new to this coding stuff, so please be patient with me. Normally my learning curve is quite acceptable. I am running Ubuntu 20.04.1 LTS on a Lenovo ThinkPad Yoga 370, if this is in any way helpful. I was trying to stream my laptop's audio to a chromecast audio, which is jacked into my Pioneer VSX-923 receiver via DLNA; followed this german instruction (https://linuxundich.de/gnu-linux/linux-sound-per-pulseaudio-an-chromecast-oder-dlna-receiver-streamen/), which is quite similar to any other instruction in e.g. english i was able to find. Terminal says, chromecast dongle is detected, but transmission doesn't start. Instead the above mentioned Error comes up in the Terminal: ValueError: invalid literal for int() with base 10: '119,192.168.0.9' I suppose, the comma in the IP-Adress is the point, but i have no clue how to fix this. Any help is highly appreciated! And if this is the wrong place for asking just tell me so and i gone (maybe you could refer to the right place, then?) Thanks in advance!

shiznix commented 3 years ago

Me too and this is a dupe issue of #397

It seems the project is having some maintenance problems moving forward from python2 to python3 :(

Cygn commented 3 years ago

This is probably related to updates in pychromecast.

Give the version at https://github.com/Cygn/pulseaudio-dlna a try with pychromecast >= 7.5.1. You may need to pip install it if it isn't provided by your distro.

shiznix commented 3 years ago

Thanks @Cygn Updating pychromecast from my distro's version of 4.1.0 to latest 8.1.0 gets things a whole lot closer.

Now erroring out on https://github.com/Cygn/pulseaudio-dlna/issues/8 but applying your fix to that issue gets things closer again. Just getting a '500' status now so will try pulling from your pulseaudio-dlna fork instead.

shiznix commented 3 years ago

Great! Pulled from your fork @Cygn and Chromecasting works again!

Still getting '500' status on playback via DLNA but some genuine progress, thanks again :)