mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-02-28 15:02:22 +00:00
feat(tv): live tv initial commit
This commit is contained in:
@@ -309,6 +309,10 @@ export const TVLibraries: React.FC = () => {
|
||||
|
||||
const handleLibraryPress = useCallback(
|
||||
(library: BaseItemDto) => {
|
||||
if (library.CollectionType === "livetv") {
|
||||
router.push("/(auth)/(tabs)/(libraries)/livetv/programs");
|
||||
return;
|
||||
}
|
||||
if (library.CollectionType === "music") {
|
||||
router.push({
|
||||
pathname: `/(auth)/(tabs)/(libraries)/music/[libraryId]/suggestions`,
|
||||
|
||||
Reference in New Issue
Block a user