GithubHelp home page GithubHelp logo

Comments (12)

ulrich-mayer avatar ulrich-mayer commented on August 10, 2024 1

@milaq also have an DENON AVR-X1200W and see the unhandled query.
In addition I see this exception a couple of times:

2020-11-28 14:33:43 ERROR: Exception on /setupapp/denon/asp/browsexm2/loginXML.asp [GET]
Traceback (most recent call last):
  File "/home/umayer/.local/lib/python3.6/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/umayer/.local/lib/python3.6/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/umayer/.local/lib/python3.6/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/umayer/.local/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/home/umayer/.local/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/umayer/.local/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/umayer/.local/lib/python3.6/site-packages/ycast/server.py", line 135, in upstream
    return landing()
  File "/home/umayer/.local/lib/python3.6/site-packages/ycast/server.py", line 151, in landing
    len(my_stations.get_category_directories())))
  File "/home/umayer/.local/lib/python3.6/site-packages/ycast/my_stations.py", line 64, in get_category_directories
    categories.append(generic.Directory(category, len(get_stations_by_category(category))))
  File "/home/umayer/.local/lib/python3.6/site-packages/ycast/my_stations.py", line 72, in get_stations_by_category
    for station_name in my_stations_yaml[category]:
TypeError: 'NoneType' object is not iterable

I've pip3'ed it today (2020-11-28) and ran it locally (python -m ycast)

I don't think it matters, but nevertheless:
My stations.yml is rather simple (my first experiment...):

pop:
SWR1: http://swr-swr1-bw.cast.addradio.de/swr/swr1/bw/mp3/128/stream.mp3
SWR3: http://swr-swr3-live.cast.addradio.de/swr/swr3/live/mp3/128/stream.mp3

klassik:
SWR2: http://swr-swr2-live.cast.addradio.de/swr/swr2/live/mp3/256/stream.mp3

Please let me know how I can help to further nail this down.
Thank you!

Nevermind, I fixed the indentation in my stations.yml and removed empty lines.

With this stations.yml it works perfectly well:

pop:
  SWR1: http://swr-swr1-bw.cast.addradio.de/swr/swr1/bw/mp3/128/stream.mp3
  SWR3: http://swr-swr3-live.cast.addradio.de/swr/swr3/live/mp3/128/stream.mp3
klassik:
  SWR2: http://swr-swr2-live.cast.addradio.de/swr/swr2/live/mp3/256/stream.mp3

This is the console output now:

 * 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-11-28 16:46:21 WARNING: No icon information found for station with id 'MY_9B081852506D'
2020-11-28 16:46:33 WARNING: No icon information found for station with id 'MY_8120D675124F'

@tomtastic, @D0m3L, maybe your issues are also related to the yml file?

@milaq thank you for providing ycast :) You can put the AVR-X1200W on the list of supported devices.
The only caveat is: favorites from vtuner.com don't work anymore, maybe you want to mention that in readme.md

2020-11-28 16:46:21 WARNING: No icon information found for station with id 'MY_9B081852506D'
2020-11-28 16:46:33 WARNING: No icon information found for station with id 'MY_8120D675124F'
2020-11-28 16:56:55 ERROR: Unhandled upstream query (/setupapp/denon/asp/func/dynamOD.asp)
2020-11-28 16:57:04 ERROR: Unhandled upstream query (/setupapp/denon/asp/func/dynamOD.asp)

from ycast.

milaq avatar milaq commented on August 10, 2024

Thanks for reporting 🥇
See d0c8727

2020-04-19 16:01:54 ERROR: Unhandled upstream query (/setupapp/denon/asp/AuthLogin/SignIn.asp)

Uff, this seems like a new one. I'll keep this issue open for further investigation later.

from ycast.

D0m3L avatar D0m3L commented on August 10, 2024

@milaq for the information - the same case for DENON AVR-X1200W - streaming working fine but some ERROR can be seen in logs:

ERROR: Unhandled upstream query (/setupapp/denon/asp/func/dynamOD.asp)

Thanks for your work.

from ycast.

tomtastic avatar tomtastic commented on August 10, 2024

I'm using a fork with a few manual changes currently so I can't say for sure, but I'm almost 100% my stations.yml was formatted correctly as I have vim-syntactic loaded up with yamllint for these very reasons :)

from ycast.

TheBossME avatar TheBossME commented on August 10, 2024

Ulrich, please take the Stations Example to Test.
Bea

from ycast.

ulrich-mayer avatar ulrich-mayer commented on August 10, 2024

@TheBossME I agree, that would have been the right approach. Now that it works I don't see a reason to do that exercise.

from ycast.

TheBossME avatar TheBossME commented on August 10, 2024

from ycast.

ulrich-mayer avatar ulrich-mayer commented on August 10, 2024

Yes, I did. Maybe a message indicating invalid yml would be a good idea?

Blanks at Beginng in the subsection.., you‘ve created with Text Editor, Right ?

from ycast.

TheBossME avatar TheBossME commented on August 10, 2024

SWR Radio:
SWR1 Baden Württemberg: http://mp3-live.swr.de/swr1bw_m.m3u
SWR1 Rheinland Pfalz: http://mp3-live.swr.de/swr1rp_m.m3u
SWR1 RADIObox: http://swr-swr-raka01.cast.addradio.de/swr/swr/raka01/mp3/128/stream.mp3
SWR2: http://mp3-live.swr.de/swr2_m.m3u
SWR3: http://mp3-live.swr3.de/swr3_m.m3u
SWR3 Specials: http://swr-swr-raka08.cast.addradio.de/swr/swr/raka08/mp3/128/stream.mp3
SWR4: http://mp3-live.swr.de/swr4bw_m.m3u
SWR4 Tübingen: http://mp3-live.swr.de/swr4tu_m.m3u
Das Ding: http://mp3-live.dasding.de/dasding_m.m3u
SWR Aktuell: http://mp3-live.swr.de/swraktuell_m.m3u

from ycast.

TheBossME avatar TheBossME commented on August 10, 2024

Add 2 Blanks add the beginning Lines of each station.

This is my List.

from ycast.

tomtastic avatar tomtastic commented on August 10, 2024

I recommend using https://codebeautify.org/yaml-validator/ if you want to verify your stations.yml is correctly formatted.

from ycast.

tomtastic avatar tomtastic commented on August 10, 2024

To get back to the original issue (in my view unrelated to all the mis-formatted station.yml files)....

Clicking the 'Jump to vTuner' link on the webUI of the AVR tries to visit :
http://denon.vtuner.com/setupapp/denon/asp/AuthLogin/SignIn.asp

For which ycast returns a 404 :

2020-11-29 10:17:52 ERROR: Unhandled upstream query (/setupapp/denon/asp/AuthLogin/SignIn.asp)
2020-11-29 10:17:52 INFO: 172.27.0.12 - - [29/Nov/2020 10:17:52] "GET /setupapp/denon/asp/AuthLogin/SignIn.asp HTTP/1.1" 404 -

from ycast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.