2023-10-13, 08:18
(2023-10-13, 07:08)glk1001 Wrote:(2023-10-12, 15:29)kthxbye Wrote:(2023-10-11, 01:01)glk1001 Wrote: It streams for about 30 seconds then times out. So there's probably a timeout setting somewhere. I'll have a look. Is the device you're using pretty slow?
hi! the device is rooted amazon fire tv stick 4k. not sure if thats considered to be slow? it does handle most of the audio/video stuff I let it play, but spotify might be a different story in this context. mostly using it to stream some inet radio stations, mp3/flac/wav and videos from a nas
PS it did play much longer then 30 seconds in some cases. even played few songs without interrupting, so not sure about a particular times limit that is set somewhere?
PPS I looked up the specs - 4x ARM Cortex - A55 up to 2.0 GHz with 1.5gb of ram. not much ram, so could that be the case?
Hi, This is pretty difficult to figure out. I tried a Firestick Lite and it worked fine with the Spotify plugin. It's specs are:
Running on Amazon AFTSS with Android TV 9.0.0 API level 28, kernel: Linux ARM 32-bit version 4.4.162+
FFmpeg version/source: 4.4.1-Kodi
Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
Product: sheldon, Device: sheldon, Board: sheldon - Manufacturer: Amazon, Brand: Amazon, Model: AFTSS, Hardware: mt8695
It has only 1GB of RAM so I don't think RAM is the issue. It also runs on Android 9 not Android 7 like yours and it was released Sep 2020 whereas yours is Oct 2018.
Looking at your log again I'm guessing Kodi is doing something that messes with the stream. I don't think it's necessarily a timeout. In your log there is this:
2023-10-10 20:44:22.794 T:11268 info <general>: plugin.audio.spotifypotty_audio_streamer:__log_continue_sending: Continue sending track '3boUavIi1pXlifQ4VPHMg5' - sent so far: 10.5MB ( 21%).
2023-10-10 20:44:26.758 T:10480 info <general>: XBMCApp: Finishing the activity
2023-10-10 20:44:26.791 T:10455 info <general>: CAndroidUtils: Current resolution: 1920x1080 3840x2160 @ 60.000004 - Full Screen
2023-10-10 20:44:27.031 T:10480 info <general>: CWinSystemAndroid:estroyWindow
2023-10-10 20:44:27.697 T:10455 warning <general>: CPeripheralBusAndroid: failed to update input device with ID 3 because it couldn't be found
2023-10-10 20:44:27.698 T:10455 warning <general>: CPeripheralBusAndroid: failed to update input device with ID 4 because it couldn't be found
2023-10-10 20:44:27.715 T:10479 info <general>: XBMCApp: Stopping the application...
2023-10-10 20:44:27.725 T:10480 info <general>: Stopping the application...
2023-10-10 20:44:27.725 T:10480 info <general>: Stopping player
I have no idea why Kodi is prematurely finishing the activity here. If you can figure out how to get debug logging to work that may help. (I tried setting 'debug' in both the GUI and 'advancedsettings.xml' but Kodi would not output any debug lines.)
thank you very much for taking the time to check all of this! I will look into debug logging and try to get some data.
PS I have not updated anything system related since I rooted it, which was in like 2020, so do you think it could be some sort of incampatibility cause by kodi/spoti plugin relying on something that it outdated and needs and update?