feat: Add Radio context type to backend playback context system

This commit is contained in:
vicrodh committed 2026-01-20 17:41:17 -06:00
1 parent 04cd97385a
commit ba4f7af909
2 files changed
+3

No files matched your search

+2
View File
@@ -23,6 +23,7 @@ pub enum ContextType {
HomeList,
Favorites,
LocalLibrary,
Radio,
}
/// Source of the content (Qobuz or Local Library)
@@ -122,6 +123,7 @@ impl PlaybackContext {
ContextType::HomeList => "Home List",
ContextType::Favorites => "Favorites",
ContextType::LocalLibrary => "Local Library",
ContextType::Radio => "Radio",
};
format!("{} · {}", type_str, self.label)
}