Skip to content

Commit e0cff7b

Browse files
author
Andrew Rabert
authored
Merge pull request #1061 from jellyfin/name
Change launcher/titlebar name to "Jellyfin Desktop"
2 parents 755514d + 726b067 commit e0cff7b

10 files changed

Lines changed: 18 additions & 15 deletions

File tree

CMakeModules/NameConfiguration.cmake

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
set(MAIN_TARGET JellyfinDesktop)
22

3+
# Display name (window title, application name)
4+
set(DISPLAY_NAME "Jellyfin Desktop")
5+
36
# Name of the output binary and data directories
47
set(MAIN_NAME jellyfin-desktop)
58
set(DATA_NAME jellyfin-desktop)
@@ -10,6 +13,6 @@ if(APPLE)
1013
elseif(WIN32)
1114
set(MAIN_NAME "Jellyfin Desktop")
1215
set(DATA_NAME "Jellyfin Desktop")
13-
endif(APPLE)
16+
endif()
1417

15-
configure_file(src/shared/Names.cpp.in src/shared/Names.cpp @ONLY)
18+
configure_file(src/shared/Names.cpp.in src/shared/Names.cpp @ONLY)

bundle/win/Bundle.wxs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@
3838
Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~x86~~6.3.1.14"
3939
Value="CurrentState"
4040
/>
41-
<bal:Condition Message="Jellyfin can only be installed on Windows 7 or newer.">
41+
<bal:Condition Message="Jellyfin Desktop can only be installed on Windows 7 or newer.">
4242
<![CDATA[VersionNT >= v6.1]]>
4343
</bal:Condition>
4444
<!-- Checking for prerequisites for windows versions where they are required -->
4545
<!-- We need to check for when ServicePackLevel is not defined as well, with (NOT ServicePackLevel) -->
46-
<bal:Condition Message="Jellyfin on Windows 7 or Windows Server 2008 R2 requires Service Pack 1.">
46+
<bal:Condition Message="Jellyfin Desktop on Windows 7 or Windows Server 2008 R2 requires Service Pack 1.">
4747
<![CDATA[NOT ((VersionNT = v6.1) AND ((NOT ServicePackLevel) OR (ServicePackLevel < 1)))]]>
4848
</bal:Condition>
4949
<!-- Windows 8 and 2012 have no prerequisites -->
50-
<bal:Condition Message="Jellyfin on Windows 8.1 or Windows Server 2012 R2 requires KB2919355 installed.">
50+
<bal:Condition Message="Jellyfin Desktop on Windows 8.1 or Windows Server 2012 R2 requires KB2919355 installed.">
5151
<![CDATA[NOT ((VersionNT = v6.3) AND (KB2919355_x86 <> 112 AND KB2919355_amd64 <> 112))]]>
5252
</bal:Condition>
5353

native/nativeshell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function getDeviceProfile() {
167167
}
168168

169169
return {
170-
'Name': 'Jellyfin',
170+
'Name': 'Jellyfin Desktop',
171171
'MaxStaticBitrate': 1000000000,
172172
'MusicStreamingTranscodingBitrate': 1280000,
173173
'TimelineOffsetSeconds': 5,

native/updatePlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class updatePlugin {
3030

3131
await confirm({
3232
title: "Update Available",
33-
text: `Jellyfin version ${version} is available.`,
33+
text: `Jellyfin Desktop version ${version} is available.`,
3434
cancelText: "Ignore",
3535
confirmText: "Download"
3636
});

resources/meta/org.jellyfin.JellyfinDesktop.appdata.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<component type="desktop-application">
33
<id>org.jellyfin.JellyfinDesktop</id>
4-
<name>Jellyfin</name>
4+
<name>Jellyfin Desktop</name>
55
<summary>Desktop client for Jellyfin media server</summary>
66
<developer id="org.jellyfin">
77
<name>Jellyfin</name>

resources/meta/org.jellyfin.JellyfinDesktop.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Desktop Entry]
22
Version=1.0
3-
Name=Jellyfin
3+
Name=Jellyfin Desktop
44
Comment=Desktop client for Jellyfin
55
Exec=jellyfin-desktop
66
Icon=org.jellyfin.JellyfinDesktop

src/mpris/MprisComponent.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class MprisComponent : public ComponentBase
3737
bool fullscreen() const;
3838
void setFullscreen(bool value);
3939
bool hasTrackList() const { return false; }
40-
QString identity() const { return "Jellyfin"; }
40+
QString identity() const { return "Jellyfin Desktop"; }
4141
QString desktopEntry() const { return "org.jellyfin.JellyfinDesktop"; }
4242
QStringList supportedUriSchemes() const { return QStringList(); }
4343
QStringList supportedMimeTypes() const { return QStringList(); }
@@ -160,4 +160,4 @@ private Q_SLOTS:
160160
QNetworkReply* m_pendingArtReply;
161161
};
162162

163-
#endif // MPRISCOMPONENT_H
163+
#endif // MPRISCOMPONENT_H

src/shared/Names.cpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
QString Names::MainName()
88
{
9-
return QString("@MAIN_NAME@");
9+
return QString("@DISPLAY_NAME@");
1010
}
1111

1212
QString Names::DataName()

src/ui/ErrorMessage.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ ErrorMessage::ErrorMessage(const QString& errorMessage, bool allowResetConfig)
1515
: QMessageBox(nullptr)
1616
{
1717
setIcon(Critical);
18-
setText("Jellyfin encountered a fatal error and must exit");
18+
setText("Jellyfin Desktop encountered a fatal error and must exit");
1919
setDetailedText(errorMessage);
2020
setInformativeText("Press help below to be redirected to our friendly support forums." \
2121
"Press reset to reset configuration to the default and try again." \
2222
"Press abort to exit.");
23-
setWindowTitle("PMP Fatal Error!");
23+
setWindowTitle("Jellyfin Desktop Fatal Error!");
2424

2525
auto exitButton = addButton(Abort);
2626
auto helpButton = addButton(Help);

src/ui/webview.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import QtQuick.Controls 6.0
88
Window
99
{
1010
id: mainWindow
11-
title: "Jellyfin"
11+
title: "Jellyfin Desktop"
1212
objectName: "mainWindow"
1313
width: 1280
1414
height: 720

0 commit comments

Comments
 (0)