r/androidapps • • 2d ago

QUESTION/HELP Help with Android-librething install for spotify casting

Hi all,

This is my first time trying to install something to my phone from GitHub and it's been a nightmare.

I am trying to install this project- https://github.com/SEKY443/Android-LibreThing

There is an instruction section but it feels like it's for more advanced users, and therefore I have not been able to get through the 2nd step (building the audio engine)

I've been getting strange messages that lead me to more confusion like Cmake not found... So then I try to sort that out and get stuck in that process.

I even tried to ask the clankers (Claude to be exact) but they keep telling to download the apk, which doesn't exist.

Any help would be greatly appreciated.

2 Upvotes

11 comments sorted by

1

u/tablesawsally 2d ago

Here is the current message from the terminal in Android Studio- I was able to get past the CMake error

(replaced my name with the XXXXXXX)

XXXXXXXXXXXXXX Android-LibreThing % export ANDROID_NDK_HOME=$HOME/Library/Android/sdk/ndk/30.0.16248370
./scripts/build-go-native.sh
==> Fetching https://github.com/SEKY443/go-librespot-termux.git @ master
From https://github.com/SEKY443/go-librespot-termux
 * branch            master     -> FETCH_HEAD
M       platform.go
M       session/client_token.go
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 6a213bf fix(daemon): pass on only Spotify's cover addresses from another device
==> Applying Android patches
  - android-clienttoken.patch
  - android-connect-cover.patch
error: patch failed: api-spec.yml:858
error: api-spec.yml: patch does not apply
error: patch failed: daemon/api_gen.go:101
error: daemon/api_gen.go: patch does not apply
error: patch failed: daemon/connect_output.go:2
error: daemon/connect_output.go: patch does not apply

1

u/SEKY443 1d ago

Hey! Not sure how this popped up on my feed—thanks to the algorithm, I guess. I'm actually the dev behind this app.
You don't need to go through all that trouble. You can just download it directly here: https://github.com/SEKY443/Android-LibreThing/releases/latest/
Just download app-universal-release.apk.
Sorry for not making that clearer, I really should have put big, obvious installation instructions right on the main page. My bad for overlooking that—I just updated it.

1

u/tablesawsally 1d ago

Woah! I was just saying that if I could just contact the dev, I bet I could get this sorted instantly

I was able to install the apk but it's acting oddly and skipping to the next track really rapidly. Basically I connect from my personal phone and the Librething phone connects, but just jumps from song to song really fast

I experienced this with another apk, rusty, that has similar features to Librething, so I am convinced it's a spotify setting

1

u/SEKY443 16h ago

Hi, thanks for trying it, and for the details! I've run into the rapid skipping myself, but only with one of my playlists, so it might not be the app. I suspect Spotify changed something recently on their side. Rusty being built on a different librespot and doing the same thing points that way too, but I can't say for 100% sure yet.

If you can, the app's log would tell me more:

  1. Start the server, then connect from your phone so that it begins skipping.
  2. Open the log: tap the terminal icon (or "Show console") on the main screen.
  3. Long-press the log, tap "Copy", and paste it here. Please remove anything personal first, such as your Spotify username.

I'm looking for lines like "skipping track: Spotify refused the audio key" or "skipping unplayable media". They would mean Spotify is refusing to give the app the key for those songs, and the app moves on to the next one.

Does it skip on every song, or only in certain playlists? Does a different playlist, or a single album, play normally?

Thanks, and sorry for the trouble! 0v0

1

u/kamikad3e123 2d ago

You don't need to build it for yourself, if you are not a dev or super advanced user... Just install apk file from "Releases" and do "Setting it up the first time" after that

1

u/Artimus-Sprout 2d ago

Previously stated, you don't need to compile it yourself, scroll to the bottom of the page in the link below and select the appropriate APK file.

https://github.com/SEKY443/Android-LibreThing/releases/tag/1.5.0

1

u/[deleted] 2d ago

[removed] — view removed comment

1

u/AutoModerator 2d ago

Your post/comment was automatically removed because your account does not meet our minimum karma standards, or is less than a week old. To prevent spam, accounts must have a minimum combined karma level of 2 and be older than one week. We recommend this guide to help you get started.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/[deleted] 2d ago

[removed] — view removed comment

1

u/AutoModerator 2d ago

Your post/comment was automatically removed because your account does not meet our minimum karma standards, or is less than a week old. To prevent spam, accounts must have a minimum combined karma level of 2 and be older than one week. We recommend this guide to help you get started.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.