Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Music/Live TV not playing when proxy is enabled #82

Open
laleeroy opened this issue Nov 12, 2024 · 12 comments
Open

Music/Live TV not playing when proxy is enabled #82

laleeroy opened this issue Nov 12, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@laleeroy
Copy link

Describe the bug

Works fine if proxy option is disabled

[Info] cplayer: Playing [url]
[Error] MPVCore => FILE ERROR: unrecognized file format
[Info] MPVCore => EVEMT_START_FILE
[ERROR] cplayer: Failed to recognize file format

To reproduce

Play audio in home or in media library

Screenshots

No response

Operating system

19.0.1|AMS 1.8.0|E

Jellyfin Server

10.9.11 Docker

Additional context

No response

@laleeroy laleeroy added the bug Something isn't working label Nov 12, 2024
@dragonflylee
Copy link
Owner

Thanks for feedback, Fixed in latest nightly

you need to reconfigure the proxy address in setting, as the config struct changed

@laleeroy
Copy link
Author

Thanks for feedback, Fixed in latest nightly

you need to reconfigure the proxy address in setting, as the config struct changed

Hi, I jist tested it and it doesn't fix the Music/audio playing, now even the Movies/Seroes doesn't play anymore

@laleeroy laleeroy reopened this Nov 13, 2024
@dragonflylee
Copy link
Owner

@laleeroy did you reconfigure the proxy address in setting ?

@laleeroy
Copy link
Author

@laleeroy did you reconfigure the proxy address in setting ?

Yes I did reconfigure it, now when playing Movies/Series, the "Play error" pop up/dialogue is appearing

@dragonflylee
Copy link
Owner

maybe you need to delete /switch/Switchfin/config.json then reconfigure all settings

@laleeroy
Copy link
Author

laleeroy commented Nov 13, 2024

maybe you need to delete /switch/Switchfin/config.json then reconfigure all settings

Shoot, I have been configuring it wrong all along, I remove the http:// in the proxy, I thought it is fine since I was able to comnect to the server.
Anyway, the music play is still not starting

ffmpeg: failed to resolve hostname [url]: Ni address associated with hostname

@dragonflylee
Copy link
Owner

sorry it's my fault, please try this version https://nightly.link/dragonflylee/switchfin/actions/runs/11811576775

@laleeroy laleeroy changed the title Audio not playing when proxy is enabled Music/Live TV not playing when proxy is enabled Nov 13, 2024
@laleeroy
Copy link
Author

laleeroy commented Nov 13, 2024

sorry it's my fault, please try this version https://nightly.link/dragonflylee/switchfin/actions/runs/11811576775

Hello again, sorry for my bad English but it's not the audio that it doesn't work but the Music, also I noticed that the Live TV from Jellyfin server doesn't play aswell when proxy is enabled, I have tried the latest build from the actions page.

When playing live tv from Jellyfin server, it pop up the error message and I got this warn ffmpeg: httproxy HTTP error 400 Bad request
When playing music I have this error MPVCore unrecognized file format and also cplay: Failed to recognize file format

@dragonflylee
Copy link
Owner

@laleeroy please confirm you switchfin version is v0.5.3-8fbe705 in about dialog from setting tab.
mp3 music play ok in my 10.8.13 jellyfin server

@laleeroy
Copy link
Author

@laleeroy please confirm you switchfin version is v0.5.3-8fbe705 in about dialog from setting tab. mp3 music play ok in my 10.8.13 jellyfin server

Hi, my switchfin ver is 0.5.3-8fbe075 (Deko3d).
May I ask what you put in host name after enabling the proxy option? I will try to emulate your setting, right now in my testing it is set to http://g.g and proxied to http://localip:8096

@dragonflylee

This comment was marked as outdated.

@laleeroy
Copy link
Author

laleeroy commented Nov 13, 2024

in my setting , proxy addr is http://192.168.1.7:1080 and jellyfin server is http://192.168.1.7:8096

proxy using https://github.com/SagerNet/sing-box

Hmmmm, I don't know sing-box, but do I actually need to setup a proxy like maybe nginx? I thought it is fine as is because movies and series is playing well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants