jmshrv / finamp

A Jellyfin music client for mobile
Mozilla Public License 2.0
2k stars 130 forks source link

Finamp cannot find jellyfin server on local network #900

Open HanaO00 opened 1 month ago

HanaO00 commented 1 month ago

Finamp does not find the jellyfin server, yet other applications discover jellyfin without problems

Is this normal? If I remember correctly there was a change with version 10 of the server

Chaphasilor commented 1 month ago

Hi, I'll need a bit more info please!

  1. Which Finamp version on which device with which OS
  2. Which server version
  3. What kind of URL is your server reachable at? Local IP address or domain name? HTTP or HTTPS?

I'll also need some logs, at least from Finamp, after you tried to find the server. A short screen recording to go along with it usually also helps to avoid miscommunication :)

HanaO00 commented 1 month ago

Hi, sure, so I use Finamp on Android (apk v0.9.11 taken from github) and on Arch Linux (AUR finamp-bin) For the server it is version 10.9.11 The local address is http://192.X.X.X:8096

Finamp is stuck on this screen i have to manually add the server, but official jellyfin app, or findroid find the server directly

Screenshot-2024-09-26_22-08-32

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): No host specified in URI /System/Info/Public

0 _HttpClient._openUrl (dart:_http/http_impl.dart:2756)

1 _HttpClient.openUrl (dart:_http/http_impl.dart:2627)

2 IOClient.send (package:http/src/io_client.dart:117)

3 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

4 BaseClient.get (package:http/src/base_client.dart:27)

5 JellyfinApiHelper.loadCustomServerPublicInfo (package:finamp/services/jellyfin_api_helper.dart:331)

6 _LoginServerSelectionPageState.initState. (package:finamp/components/LoginScreen/login_server_selection_page.dart:54)

7 JellyfinServerClientDiscovery.discoverServers. (package:finamp/components/LoginScreen/login_flow.dart:293)

8 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)

9 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)

10 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)

11 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)

12 _StreamController._add (dart:async/stream_controller.dart:658)

13 _StreamController.add (dart:async/stream_controller.dart:606)

14 new _RawDatagramSocket. (dart:io-patch/socket_patch.dart:2543)

15 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1385)

16 _microtaskLoop (dart:async/schedule_microtask.dart:40)

17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

Chaphasilor commented 4 weeks ago

I'll need the full logs please, not just the part that looks interesting to you ^^
I think it's because your server is configured in a way that results in Finamp missing some expected information, which results in the error you posted.