refactor: remove jellyPlayer naming from code #460

This commit is contained in:
Prayag Prajapati committed 2024-12-11 15:10:48 +05:30
1 parent f57e78b244
commit c572cb35cb
8 files changed
+22 -26

No files matched your search

+11 -11
View File
@@ -1,9 +1,9 @@
![Banner](https://github.com/user-attachments/assets/cf3ffbe3-3b48-4fab-bd7e-f011928286fa)
<div align="center">
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/prayag17/JellyPlayer?sort=date&display_name=tag&style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iODc4IiBoZWlnaHQ9IjEwMTIiIHZpZXdCb3g9IjAgMCA4NzggMTAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MzguODA5IDUwNkwzNS40MDQ4IDczOC45MDZMNDM4LjgwOSA5NzEuODEyTDg0Mi4yMTQgNzM4LjkwNlYyNzMuMDk0TDQzOC44MDkgNDAuMTg4NUwzNS40MDQ4IDI3My4wOTRMNDM4LjgwOSA1MDZaTTQzOC44MDkgMEw4NzcuMDE4IDI1M1Y3NTlMNDM4LjgwOSAxMDEyTDAuNjAwNTg2IDc1OVY3MTguODEyVjI5My4xODhWMjUzTDQzOC44MDkgMFoiIGZpbGw9IndoaXRlIi8%2BCjwvc3ZnPgo%3D&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%2FJellyPlayer%2Freleases%2Flatest">
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/prayag17/JellyPlayer?style=for-the-badge&logo=github&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%2FJellyPlayer%2Fstargazers">
<img alt="GitHub License" src="https://img.shields.io/github/license/prayag17/JellyPlayer?style=for-the-badge&labelColor=000">
<img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/prayag17/JellyPlayer/continuous-integration.yml?style=for-the-badge&logo=github&label=CI&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%2FJellyPlayer%2Factions%2Fworkflows%2Fcontinuous-integration.yml">
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/prayag17/Blink?sort=date&display_name=tag&style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iODc4IiBoZWlnaHQ9IjEwMTIiIHZpZXdCb3g9IjAgMCA4NzggMTAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MzguODA5IDUwNkwzNS40MDQ4IDczOC45MDZMNDM4LjgwOSA5NzEuODEyTDg0Mi4yMTQgNzM4LjkwNlYyNzMuMDk0TDQzOC44MDkgNDAuMTg4NUwzNS40MDQ4IDI3My4wOTRMNDM4LjgwOSA1MDZaTTQzOC44MDkgMEw4NzcuMDE4IDI1M1Y3NTlMNDM4LjgwOSAxMDEyTDAuNjAwNTg2IDc1OVY3MTguODEyVjI5My4xODhWMjUzTDQzOC44MDkgMFoiIGZpbGw9IndoaXRlIi8%2BCjwvc3ZnPgo%3D&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%Blink%2Freleases%2Flatest">
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/prayag17/Blink?style=for-the-badge&logo=github&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%Blink%2Fstargazers">
<img alt="GitHub License" src="https://img.shields.io/github/license/prayag17/Blink?style=for-the-badge&labelColor=000">
<img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/prayag17/Blink/continuous-integration.yml?style=for-the-badge&logo=github&label=CI&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%Blink%2Factions%2Fworkflows%2Fcontinuous-integration.yml">
</div>
###
@@ -42,7 +42,7 @@
pnpm run tauri build
```
- other commands can be found inside the `"scripts"` inside [package.json](https://github.com/prayag17/JellyPlayer/blob/main/package.json)
- other commands can be found inside the `"scripts"` inside [package.json](https://github.com/prayag17/Blink/blob/main/package.json)
## 💻 Contribution
@@ -64,17 +64,17 @@
## 📷 Screenshots
- Home
![home](https://github.com/prayag17/JellyPlayer/assets/55829513/ffda4dc5-c147-4278-a232-bb58b1051501)
![home](https://github.com/prayag17/Blink/assets/55829513/ffda4dc5-c147-4278-a232-bb58b1051501)
- Title Page - Movie
![title-movie](https://github.com/prayag17/JellyPlayer/assets/55829513/1086f51b-a743-46e4-a761-c9f70a0d21bd)
![title-movie](https://github.com/prayag17/Blink/assets/55829513/1086f51b-a743-46e4-a761-c9f70a0d21bd)
- Title Page - Show
![title-show](https://github.com/prayag17/JellyPlayer/assets/55829513/23b42d4a-2892-497b-aa32-0ae73e300655)
![title-show](https://github.com/prayag17/Blink/assets/55829513/23b42d4a-2892-497b-aa32-0ae73e300655)
- Episode List
![show-episodes](https://github.com/prayag17/JellyPlayer/assets/55829513/9fe69ddd-ffa3-4a6b-a2a7-c2e639b6b2e4)
![show-episodes](https://github.com/prayag17/Blink/assets/55829513/9fe69ddd-ffa3-4a6b-a2a7-c2e639b6b2e4)
- Video Player
![playback-video](https://github.com/prayag17/JellyPlayer/assets/55829513/a84850e6-3be7-41c5-8cf7-e14c3cd0df29)
![playback-video](https://github.com/prayag17/Blink/assets/55829513/a84850e6-3be7-41c5-8cf7-e14c3cd0df29)
- About Dialog
![about](https://github.com/prayag17/JellyPlayer/assets/55829513/fc3adf83-87fd-4901-8abd-39b148418f8d)
![about](https://github.com/prayag17/Blink/assets/55829513/fc3adf83-87fd-4901-8abd-39b148418f8d)
## 📃 Roadmap
+1 -1
View File
@@ -5,7 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="http://localhost:8097"></script>
<title>Jellyplayer</title>
<title>Blink</title>
<style>
.app-loading {
position: fixed;
+2 -2
View File
@@ -2,9 +2,9 @@
name = "blink"
version = "0.0.7-dev"
description = "A Modern Jellyfin Client"
authors = ["prayag17", "JellyPlayer contributors (https://github.com/prayag17/JellyPlayer/graphs/contributors)"]
authors = ["prayag17", "Blink contributors (https://github.com/prayag17/Blink/graphs/contributors)"]
license = "GPL-3.0-only"
repository = "https://github.com/prayag17/JellyPlayer/"
repository = "https://github.com/prayag17/Blink/"
default-run = "blink"
edition = "2021"
rust-version = "1.59"
+1 -1
View File
@@ -18,5 +18,5 @@ fn main() {
.plugin(tauri_plugin_updater::Builder::default().build())
// .plugin(tauri_plugin_window_state::Builder::default().build())
.run(tauri::generate_context!())
.expect("error while running JellyPlayer");
.expect("error while running Blink");
}
+1 -2
View File
@@ -96,7 +96,6 @@ const PlayButton = ({
size = "large",
playlistItem,
playlistItemId = "",
trackIndex,
}: PlayButtonProps) => {
const api = useApiInContext((s) => s.api);
@@ -596,7 +595,7 @@ const PlayButton = ({
</Fab>
);
}
if (itemType === BaseItemKind.Series) {
const currentEpisode = useQuery({
queryKey: ["playButton", "currentEpisode", item?.Id],
+2 -2
View File
@@ -414,7 +414,7 @@ const Settings = () => {
{/* About */}
{tabValue === 10 && (
<div className="settings-container settings-about">
<img src={logo} className="settings-logo" alt="JellyPlayer" />
<img src={logo} className="settings-logo" alt="Blink" />
<div className="settings-grid">
<div className="settings-info-container">
<div className="settings-info">
@@ -485,7 +485,7 @@ const Settings = () => {
setUpdating(true);
await updateInfo.data?.downloadAndInstall();
enqueueSnackbar(
"Update has been installed! You need to relaunch JellyPlayer.",
"Update has been installed! You need to relaunch Blink.",
{
variant: "success",
},
+3 -6
View File
@@ -118,12 +118,9 @@ export default function Updater() {
onClick={async () => {
setUpdateDialogButton(true);
await updateInfo.downloadAndInstall();
enqueueSnackbar(
"Update has been installed! You need to relaunch JellyPlayer.",
{
variant: "success",
},
);
enqueueSnackbar("Update has been installed! You need to relaunch Blink.", {
variant: "success",
});
await relaunch();
}}
>
@@ -13,7 +13,7 @@ export function getSupportedAudioCodecs(format: string): boolean {
if (format === "flac" && isTv()) {
return true;
} else if (format === "eac3") {
// This is specific to JellyPlayer
// This is specific to Blink
return true;
} else if (format === "wma" && isTizen()) {
return true;