Code Monkey home page Code Monkey logo

Comments (4)

milaq avatar milaq commented on August 15, 2024

Hi,
please supply the debug logs and, if you can, a packet capture of the situation.

Cheers

from ycast.

PrzemoF avatar PrzemoF commented on August 15, 2024

`pi@raspberrypi:~ $ sudo python3 -m ycast -l 127.0.0.1 -p 8010 -c /home/pi/stations.yml -d
2020-02-27 08:17:28 INFO: YCast (1.0.0) server starting
2020-02-27 08:17:28 DEBUG: Debug logging enabled

  • Serving Flask app "ycast.server" (lazy loading)
  • Environment: production
    WARNING: Do not use the development server in a production environment.
    Use a production WSGI server instead.
  • Debug mode: off
    2020-02-27 08:17:28 INFO: * Running on http://127.0.0.1:8010/ (Press CTRL+C to quit)
    2020-02-27 08:17:33 INFO: 127.0.0.1 - - [27/Feb/2020 08:17:33] "GET /setupapp/denon/asp/browsexm2/loginXML.asp?mac=A9B9FEC13457F4B4B37B44141FE1A2B7&fver=1.754333&dlang=eng&startitems=1&enditems=10 HTTP/1.1" 200 -
    2020-02-27 08:17:33 INFO: 127.0.0.1 - - [27/Feb/2020 08:17:33] "GET /setupapp/denon/asp/browsexm2/loginXML.asp?mac=A9B9FEC13457F4B4B37B44141FE1A2B7&fver=1.754333&dlang=eng&startitems=1&enditems=10 HTTP/1.1" 200 -
    pi@raspberrypi:~ $ cat /home/pi/stations.yml
    Poznan:
    MC Radio: http://stream4.nadaje.com:8624/mcradio

Electronic:
Deep House Lounge: http://198.15.94.34:8006
Ibiza Sonica: http://s1.sonicabroadcast.com:7005/stream
Bassdrive: http://50.7.98.106:8200
SomaFM Fluid: http://ice1.somafm.com/fluid-128-mp3

Chillout:
Joint Radio: http://radio.jointil.net:9998
SomaFM DEF CON Radio: http://ice1.somafm.com/defcon-256-mp3
SomaFM Drone Zone: http://ice1.somafm.com/dronezone-256-mp3
SomaFM Mission Control: http://ice1.somafm.com/missioncontrol-128-mp3
The Jazz Groove: http://west-mp3-128.streamthejazzgroove.com
Radionomy Downbeat: http://streaming.radionomy.com/TempoOfTheDownbeat1

Casual:
76Radio: http://192.240.102.133:9566/stream
SomaFM Beat Blender: http://ice1.somafm.com/beatblender-128-mp3
Jazz Radio Electro Swing: http://jazz-wr04.ice.infomaniak.ch/jazz-wr04-128.mp3
SomaFM Groove Salad: http://ice1.somafm.com/groovesalad-256-mp3
SomaFM Lush: http://ice1.somafm.com/lush-128-mp3
Allzic Radio R&B: http://allzic10.ice.infomaniak.ch/allzic10.mp3
The UK 1940s Radio Station: http://91.121.134.23:8100/1
pi@raspberrypi:~ $ ls -la /home/pi/stations.yml
-rw-r--r-- 1 pi pi 1098 lut 18 14:31 /home/pi/stations.yml`

from ycast.

PrzemoF avatar PrzemoF commented on August 15, 2024

Packet capture in wireshark format: http://opencyclingcomputer.eu/YCast/mystations_packet_capture.pcap
I tried to attach it here, but no avail. Let me know if you prefer other format.
P.S. Thank you for creating YCast!

from ycast.

PrzemoF avatar PrzemoF commented on August 15, 2024

`pi@raspberrypi:~/YCast $ sudo tcpdump host 192.168.1.100 -v
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
08:42:43.880560 IP (tos 0x0, ttl 128, id 48587, offset 0, flags [none], proto TCP (6), length 44)
192.168.1.100.1111 > 192.168.1.31.http: Flags [S], cksum 0xac2d (correct), seq 4809525, win 65535, options [mss 1460], length 0
08:42:43.880630 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 44)
192.168.1.31.http > 192.168.1.100.1111: Flags [S.], cksum 0x6bfc (correct), seq 4004044646, ack 4809526, win 29200, options [mss 1460], length 0
08:42:43.880981 IP (tos 0x0, ttl 128, id 48588, offset 0, flags [none], proto TCP (6), length 40)
192.168.1.100.1111 > 192.168.1.31.http: Flags [.], cksum 0xf5c9 (correct), ack 1, win 65535, length 0
08:42:43.881488 IP (tos 0x0, ttl 128, id 48589, offset 0, flags [none], proto TCP (6), length 279)
192.168.1.100.1111 > 192.168.1.31.http: Flags [P.], cksum 0x294f (correct), seq 1:240, ack 1, win 65535, length 239: HTTP, length: 239
GET /setupapp/denon/asp/browsexm2/loginXML.asp?mac=A9B9FEC13457F4B4B37B44141FE1A2B7&fver=1.754333&dlang=eng&startitems=1&enditems=10 HTTP/1.1
Host: denon.vtuner.com
Connection: close
User-Agent: Mozilla/4.0 (compatible)
Accept: /

08:42:43.881558 IP (tos 0x0, ttl 64, id 4343, offset 0, flags [DF], proto TCP (6), length 40)
192.168.1.31.http > 192.168.1.100.1111: Flags [.], cksum 0x7f9a (correct), ack 240, win 30016, length 0
08:42:43.938847 IP (tos 0x0, ttl 64, id 4344, offset 0, flags [DF], proto TCP (6), length 817)
192.168.1.31.http > 192.168.1.100.1111: Flags [P.], cksum 0xdfda (correct), seq 1:778, ack 240, win 30016, length 777: HTTP, length: 777
HTTP/1.1 200 OK
Date: Thu, 27 Feb 2020 08:42:43 GMT
Server: Werkzeug/1.0.0 Python/3.7.3
Content-Type: text/html; charset=utf-8
Content-Length: 581
Vary: Accept-Encoding
Connection: close

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><ListOfItems><ItemCount>-1</ItemCount><Item><ItemType>Dir</ItemType><Title>Radiobrowser</Title><UrlDir>http://127.0.0.1:8010/ycast/radiobrowser/?vtuner=true</UrlDir><UrlDirBackUp>http://127.0.0.1:8010/ycast/radiobrowser/?vtuner=true</UrlDirBackUp><DirCount>4</DirCount></Item><Item><ItemType>Dir</ItemType><Title>My Stations</Title><UrlDir>http://127.0.0.1:8010/ycast/my_stations/?vtuner=true</UrlDir><UrlDirBackUp>http://127.0.0.1:8010/ycast/my_stations/?vtuner=true</UrlDirBackUp><DirCount>4</DirCount></Item></ListOfItems>[!http]

08:42:43.939481 IP (tos 0x0, ttl 128, id 48591, offset 0, flags [none], proto TCP (6), length 40)
192.168.1.100.1111 > 192.168.1.31.http: Flags [.], cksum 0xf4da (correct), ack 778, win 64758, length 0
08:42:44.011004 IP (tos 0x0, ttl 64, id 58272, offset 0, flags [DF], proto TCP (6), length 817)
192.168.1.31.http > 192.168.1.100.1112: Flags [P.], cksum 0xcb1d (correct), seq 3158584327:3158585104, ack 4873892, win 30016, length 777: HTTP, length: 777
HTTP/1.1 200 OK
Date: Thu, 27 Feb 2020 08:42:44 GMT
Server: Werkzeug/1.0.0 Python/3.7.3
Content-Type: text/html; charset=utf-8
Content-Length: 581
Vary: Accept-Encoding
Connection: close

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><ListOfItems><ItemCount>-1</ItemCount><Item><ItemType>Dir</ItemType><Title>Radiobrowser</Title><UrlDir>http://127.0.0.1:8010/ycast/radiobrowser/?vtuner=true</UrlDir><UrlDirBackUp>http://127.0.0.1:8010/ycast/radiobrowser/?vtuner=true</UrlDirBackUp><DirCount>4</DirCount></Item><Item><ItemType>Dir</ItemType><Title>My Stations</Title><UrlDir>http://127.0.0.1:8010/ycast/my_stations/?vtuner=true</UrlDir><UrlDirBackUp>http://127.0.0.1:8010/ycast/my_stations/?vtuner=true</UrlDirBackUp><DirCount>4</DirCount></Item></ListOfItems>[!http]

08:42:44.011109 IP (tos 0x0, ttl 64, id 58273, offset 0, flags [DF], proto TCP (6), length 40)
192.168.1.31.http > 192.168.1.100.1112: Flags [F.], cksum 0x67d4 (correct), seq 777, ack 1, win 30016, length 0
08:42:44.011807 IP (tos 0x0, ttl 128, id 48599, offset 0, flags [none], proto TCP (6), length 40)
192.168.1.100.1112 > 192.168.1.31.http: Flags [.], cksum 0xe01e (correct), ack 777, win 64758, length 0
08:42:44.011876 IP (tos 0x0, ttl 128, id 48600, offset 0, flags [none], proto TCP (6), length 40)
192.168.1.100.1112 > 192.168.1.31.http: Flags [.], cksum 0xe01d (correct), ack 778, win 64758, length 0
08:42:44.019408 IP (tos 0x0, ttl 128, id 48601, offset 0, flags [none], proto TCP (6), length 40)
192.168.1.100.1112 > 192.168.1.31.http: Flags [F.], cksum 0xdd13 (correct), seq 1, ack 778, win 65535, length 0
08:42:44.019422 IP (tos 0x0, ttl 64, id 58274, offset 0, flags [DF], proto TCP (6), length 40)
192.168.1.31.http > 192.168.1.100.1112: Flags [.], cksum 0x67d3 (correct), ack 2, win 30016, length 0
`

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.