Comments (7)
I attach also the tcpdump file with the connection to the original vtuner ip.
original_vtuner.zip
Edit: The only difference i can see is that in the original vtuner connection, the xml file does not include Itemcount
from ycast.
Thanks for the extensive debug info 👍
I just took a look at it.
As you already mentioned, the only issue I see is the absence of ItemCount
. I vaguely remember that we had some problem with exactly this missing.
Maybe this time it is the other way round.
Can you please comment this line:
https://github.com/milaq/YCast/blob/master/ycast/vtuner.py#L40
in your local vtuner.py
with a #
so it looks like this:
#ET.SubElement(xml, 'ItemCount').text = str(self.count)
restart YCast and try again. Maybe also a quick replug of your AVR could help to clear its web cache.
This removes the ItemCount
from the output XML. You can verify this with a browser.
vtuner.py
should be at /usr/local/lib/python3*/dist-packages/ycast/vtuner.py
if you installed YCast via pip system wide.
Judging from your report, I reckon you are are technically versatile enough to handle this. Hit me up if you need a helping hand regardless; I could then package a modded version for you.
Cheers
from ycast.
Thank you for your reply.
Commenting out ItemCount
takes me one step further.
I can now browse, both Radiobrowser and Mystations folders.
Though I am still not able to browse the stations and play.
Here is the debug info (i also attach the new tcpdump file)
sudo python3 -m ycast -l 0.0.0.0 -p 80 -d
2020-02-24 19:36:42 INFO: YCast (1.0.0) server starting
2020-02-24 19:36:42 DEBUG: Debug logging enabled
* Serving Flask app "ycast.server" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
2020-02-24 19:36:42 INFO: * Running on http://0.0.0.0:80/ (Press CTRL+C to quit)
2020-02-24 19:36:59 INFO: 192.168.10.10 - - [24/Feb/2020 19:36:59] "GET /setupapp/Yamaha/asp/BrowseXML/loginXML.asp?mac=ada4d3ce784b4b8c0646d573d18bd9c3&dlang=eng&fver=M HTTP/1.1" 200 -
2020-02-24 19:37:01 INFO: 192.168.10.10 - - [24/Feb/2020 19:37:01] "GET /ycast/my_stations/?vtuner=true&mac=ada4d3ce784b4b8c0646d573d18bd9c3&dlang=eng&start=1&howmany=8 HTTP/1.1" 200 -
2020-02-24 19:37:04 INFO: 192.168.10.10 - - [24/Feb/2020 19:37:04] "GET /ycast/my_stations/Electronic?vtuner=true&mac=ada4d3ce784b4b8c0646d573d18bd9c3&dlang=eng&start=1&howmany=8 HTTP/1.1" 200 -
2020-02-24 19:37:05 INFO: 192.168.10.10 - - [24/Feb/2020 19:37:05] "GET /ycast/my_stations/Electronic?vtuner=true&mac=ada4d3ce784b4b8c0646d573d18bd9c3&dlang=eng&start=1&howmany=8 HTTP/1.1" 200 -
2020-02-24 19:37:15 INFO: 192.168.10.10 - - [24/Feb/2020 19:37:15] "GET /setupapp/Yamaha/asp/BrowseXML/loginXML.asp?mac=ada4d3ce784b4b8c0646d573d18bd9c3&dlang=eng&fver=M HTTP/1.1" 200 -
2020-02-24 19:37:16 DEBUG: Radiobrowser API request: tags?hidebroken=true
2020-02-24 19:37:16 DEBUG: Starting new HTTP connection (1): www.radio-browser.info
2020-02-24 19:37:16 DEBUG: http://www.radio-browser.info:80 "GET /webservice/json/tags?hidebroken=true HTTP/1.1" 200 None
2020-02-24 19:37:16 DEBUG: Radiobrowser API request: countries?hidebroken=true
2020-02-24 19:37:16 DEBUG: Starting new HTTP connection (1): www.radio-browser.info
2020-02-24 19:37:16 DEBUG: http://www.radio-browser.info:80 "GET /webservice/json/countries?hidebroken=true HTTP/1.1" 200 2766
2020-02-24 19:37:16 DEBUG: Radiobrowser API request: languages?hidebroken=true
2020-02-24 19:37:16 DEBUG: Starting new HTTP connection (1): www.radio-browser.info
2020-02-24 19:37:17 DEBUG: http://www.radio-browser.info:80 "GET /webservice/json/languages?hidebroken=true HTTP/1.1" 200 3584
2020-02-24 19:37:17 DEBUG: Radiobrowser API request: stations?order=votes&reverse=true&limit=200
2020-02-24 19:37:17 DEBUG: Starting new HTTP connection (1): www.radio-browser.info
2020-02-24 19:37:17 DEBUG: http://www.radio-browser.info:80 "GET /webservice/json/stations?order=votes&reverse=true&limit=200 HTTP/1.1" 200 30072
2020-02-24 19:37:17 INFO: 192.168.10.10 - - [24/Feb/2020 19:37:17] "GET /ycast/radiobrowser/?vtuner=true&mac=ada4d3ce784b4b8c0646d573d18bd9c3&dlang=eng&start=1&howmany=8 HTTP/1.1" 200 -
2020-02-24 19:37:27 DEBUG: Radiobrowser API request: stations?order=votes&reverse=true&limit=200
2020-02-24 19:37:27 DEBUG: Starting new HTTP connection (1): www.radio-browser.info
2020-02-24 19:37:27 DEBUG: http://www.radio-browser.info:80 "GET /webservice/json/stations?order=votes&reverse=true&limit=200 HTTP/1.1" 200 30072
2020-02-24 19:37:28 INFO: 192.168.10.10 - - [24/Feb/2020 19:37:28] "GET /ycast/radiobrowser/popular/?vtuner=true&mac=ada4d3ce784b4b8c0646d573d18bd9c3&dlang=eng&start=1&howmany=8 HTTP/1.1" 200 -
2020-02-24 19:37:28 DEBUG: Radiobrowser API request: stations?order=votes&reverse=true&limit=200
2020-02-24 19:37:28 DEBUG: Starting new HTTP connection (1): www.radio-browser.info
2020-02-24 19:37:28 DEBUG: http://www.radio-browser.info:80 "GET /webservice/json/stations?order=votes&reverse=true&limit=200 HTTP/1.1" 200 30072
2020-02-24 19:37:28 INFO: 192.168.10.10 - - [24/Feb/2020 19:37:28] "GET /ycast/radiobrowser/popular/?vtuner=true&mac=ada4d3ce784b4b8c0646d573d18bd9c3&dlang=eng&start=1&howmany=8 HTTP/1.1" 200 -
test2_pcap.zip
Looking at the attached pcap file (packet 44) and the original_vtuner.pcap (packet 157) for me the obvious differences are 1) the station id (only numbers) and 2) the station url includes the station id
Any suggestion?
from ycast.
This look similar to my problem with the RX-V2700 and RX-V3800 ( #49 ). Any update meanwhile here?
BR,
Robert
from ycast.
@ROV28 No update. It seems that the developer is not active on the project since February.
ping @milaq We would appreciate some guidance if possible.
from ycast.
Hi,
I am still here and reading every now and then.
Unfortunately, since the coronavirus outbreak I have very limited freetime :(
I'll try to address some of the open issues in the coming days.
For this one:
It seems we need the functionality we discussed in another issue some time ago which allows us to make assumptions on how the various vendors are syntactically handled.
I created a new issue for this: #50
I expect that we need to implement various exceptions for some models, e.g. the RB-N600.
from ycast.
I can now browse, both Radiobrowser and Mystations folders.
Though I am still not able to browse the stations and play.
I had similar problems, in my case it was caused by self closing tags in station info. You may be interested in my pull request #56
from ycast.
Related Issues (20)
- Confirmed working on Marantz SB6009
- Confirmed working on Yamaha HT-4066
- Confirmed working on Marantz M-CR511 HOT 3
- Confirmed Technics Ottava SC-C70 HOT 3
- What is roughly needed to implement the bookmark functionality? HOT 2
- Ycast
- How to create a manual entry in your DNS server? HOT 2
- Ycast Failure With Aluratek AIRMM01F Internet Clock/Radio HOT 2
- Problem with install ycast on router keenetic HOT 2
- Confirmed working on Marantz NA7004
- Ycast with Cabasse wireless speaker not working HOT 2
- Marantz NR-1504 is also supported
- Stream station image not loaded
- installation help HOT 4
- Always a 404 result HOT 4
- Noxon 2 Audio, not working
- Pi-Hole setup for Yamaha ycast HOT 1
- No retry if the randomly picked server all.api.radio-browser.info fails. HOT 7
- Grundig Sonoclock 890A-Web fails reading the station list HOT 3
- Confirmed working Marantz NR-1604 and NR-1607
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ycast.