diff --git a/README.md b/README.md index d8cd5ae..6b28cf1 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@

- watch-together icon + Starsync icon

-

watch-together

+

Starsync

Watch a video with friends, in sync, with the quality of a real mpv player. Pick from your Jellyfin library, paste any direct video link, or pick a file on your own disk; diff --git a/apps/desktop/lib/src/jellyfin/accounts.dart b/apps/desktop/lib/src/jellyfin/accounts.dart index ff36ac9..809799c 100644 --- a/apps/desktop/lib/src/jellyfin/accounts.dart +++ b/apps/desktop/lib/src/jellyfin/accounts.dart @@ -8,7 +8,6 @@ import 'package:hive_ce/hive.dart'; import 'package:sync_relay_core/core.dart'; import '../screens/home/picked_media.dart'; -import '../screens/home/ui.dart' show appName; import '../update/updater.dart' show appVersion; // Linked Jellyfin servers, one account per ServerId, in their own Hive box. @@ -215,7 +214,8 @@ class JellyfinAccounts extends ChangeNotifier { String get deviceId => _deviceId; JellyfinClientInfo get clientInfo => JellyfinClientInfo( - client: appName, + // The old name on purpose: Jellyfin lists devices under it. + client: 'Watch Together', device: deviceName ?? _hostname(), deviceId: _deviceId.isEmpty ? 'unknown' : _deviceId, version: appVersion, diff --git a/apps/desktop/lib/src/platform/desktop_entry.dart b/apps/desktop/lib/src/platform/desktop_entry.dart index b5f6dc9..6b49c35 100644 --- a/apps/desktop/lib/src/platform/desktop_entry.dart +++ b/apps/desktop/lib/src/platform/desktop_entry.dart @@ -44,7 +44,7 @@ Future installDesktopEntry({String? executable, String? dataHome, String? @visibleForTesting String desktopEntryText(String exe) => '''[Desktop Entry] Type=Application -Name=Watch together +Name=Starsync Comment=Watch videos in sync with friends Exec="$exe" Icon=$appId diff --git a/apps/desktop/lib/src/screens/home/ui.dart b/apps/desktop/lib/src/screens/home/ui.dart index 863c459..1acb3f9 100644 --- a/apps/desktop/lib/src/screens/home/ui.dart +++ b/apps/desktop/lib/src/screens/home/ui.dart @@ -1,7 +1,7 @@ import 'package:flutter/material.dart'; /// Product name (working title). Change it here only. -const appName = 'Watch Together'; +const appName = 'Starsync'; const repoUrl = 'https://git.senkochan.moe/Foxyz/sync_replay_project'; diff --git a/apps/desktop/linux/runner/my_application.cc b/apps/desktop/linux/runner/my_application.cc index cd74d43..ce91967 100644 --- a/apps/desktop/linux/runner/my_application.cc +++ b/apps/desktop/linux/runner/my_application.cc @@ -45,11 +45,11 @@ static void my_application_activate(GApplication* application) { if (use_header_bar) { GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); gtk_widget_show(GTK_WIDGET(header_bar)); - gtk_header_bar_set_title(header_bar, "watch_together"); + gtk_header_bar_set_title(header_bar, "Starsync"); gtk_header_bar_set_show_close_button(header_bar, TRUE); gtk_window_set_titlebar(window, GTK_WIDGET(header_bar)); } else { - gtk_window_set_title(window, "watch_together"); + gtk_window_set_title(window, "Starsync"); } gtk_window_set_default_size(window, 1280, 720); diff --git a/apps/desktop/windows/runner/main.cpp b/apps/desktop/windows/runner/main.cpp index d6f7981..d103a7d 100644 --- a/apps/desktop/windows/runner/main.cpp +++ b/apps/desktop/windows/runner/main.cpp @@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, FlutterWindow window(project); Win32Window::Point origin(10, 10); Win32Window::Size size(1280, 720); - if (!window.Create(L"watch_together", origin, size)) { + if (!window.Create(L"Starsync", origin, size)) { return EXIT_FAILURE; } window.SetQuitOnClose(true);