recloudstream / recloudstream/cloudstream

Library doesn't reload when switching profiles until restart

Open
#2,116 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug possible provider issue
Dominant language
Kotlin
Stars
10.7k
Forks
1.1k
Avg merge
1d 23h
Merged PRs (30d)
15

Description

Steps to reproduce
  1. Have more than one profile with each having different library providers(simkl and anilist).
  2. Switch from Profile A (simkl library) to Profile B (anilist library).
Expected behavior

The library should switch from simkl to anilist.

Actual behavior

The library remains on simkl after switching to Profile B and you can't use your anilist account with any provider until you restart the app. Basically whatever library you start with endures throughout the lifecycle of the app and doesn't respect the last used library choice on your profiles.

Cloudstream version and commit hash

4.6.1 ec06da6

Android version

Android 12

Logcat

Other details

No response

Acknowledgements
  • I am sure my issue is related to the app and NOT some extension.
  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have updated the app to pre-release version Latest.
  • I will fill out all of the requested information in this form.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reproducing the profile switch with separate simkl and anilist library providers on Android 12, then trace how the selected profile's library provider is loaded and retained across the app lifecycle. Done means switching from Profile A to Profile B immediately uses the anilist library without restarting the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.