Skip to content

Sources: show a renamed source under its current name - #76

Merged
professorDeveloper merged 1 commit into
masterfrom
fix/live-source-names
Nov 14, 2026
Merged

professorDeveloper merged 1 commit into
masterfrom
fix/live-source-names

Conversation

@professorDeveloper

Copy link
Copy Markdown
Owner

Goes with professorDeveloper/sozo-backend rename-vidapi-vixsrc (VidAPI → VixSrc, same id vidapi).

The backend rename reaches every screen that reads the live provider list, 3.2.0 included. Two places show a name saved earlier instead, and kept saying VidAPI with VidAPI's icon:

  1. "TMDB › VidAPI" on a catalogue title opened before — CatalogueLink stores name + icon in Hive with no expiry. locate() now refreshes a remembered link from the installed list (2 s cap); a source that is gone keeps the saved name.
  2. The source line on a download — the snapshot name won over the live one. Now the installed source's name wins (downloadSourceName), saved name second, bare id last.

The source picker and relink sheet already read the live list.

Tests: test/features/download/download_source_name_test.dart (new), two cases in catalogue_resolver_test.dart. flutter test test/features/download test/features/detail test/features/mobile_ux_test.dart: 793 passed. flutter analyze on the changed files: clean.

On 3.2.0 these two places keep "VidAPI" for links and downloads saved before the rename; this is the fix for 3.2.1.

Two places showed the name a source had when something was saved, not
the one it has now: the "TMDB › <source>" mark on a catalogue title opened
before, and the source line on a download. VidAPI is now VixSrc on the
server (same id), and both kept saying VidAPI with VidAPI's icon.

The installed source's name and icon win when it is still installed; the
saved ones are kept for a source that is gone, or a list that does not
arrive within two seconds.
@professorDeveloper
professorDeveloper merged commit c08f00c into master Nov 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant