refactor: remove jellyPlayer naming from code #460
This commit is contained in:
8 files changed
+22
-26
No files matched your search
@@ -1,9 +1,9 @@
|
|||||||

|

|
||||||
<div align="center">
|
<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 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/JellyPlayer?style=for-the-badge&logo=github&labelColor=000&link=https%3A%2F%2Fgithub.com%2Fprayag17%2FJellyPlayer%2Fstargazers">
|
<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/JellyPlayer?style=for-the-badge&labelColor=000">
|
<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/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 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>
|
</div>
|
||||||
|
|
||||||
###
|
###
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
pnpm run tauri build
|
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
|
## 💻 Contribution
|
||||||
|
|
||||||
@@ -64,17 +64,17 @@
|
|||||||
## 📷 Screenshots
|
## 📷 Screenshots
|
||||||
|
|
||||||
- Home
|
- Home
|
||||||

|

|
||||||
- Title Page - Movie
|
- Title Page - Movie
|
||||||

|

|
||||||
- Title Page - Show
|
- Title Page - Show
|
||||||

|

|
||||||
- Episode List
|
- Episode List
|
||||||

|

|
||||||
- Video Player
|
- Video Player
|
||||||

|

|
||||||
- About Dialog
|
- About Dialog
|
||||||

|

|
||||||
|
|
||||||
## 📃 Roadmap
|
## 📃 Roadmap
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<script src="http://localhost:8097"></script>
|
<script src="http://localhost:8097"></script>
|
||||||
<title>Jellyplayer</title>
|
<title>Blink</title>
|
||||||
<style>
|
<style>
|
||||||
.app-loading {
|
.app-loading {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
name = "blink"
|
name = "blink"
|
||||||
version = "0.0.7-dev"
|
version = "0.0.7-dev"
|
||||||
description = "A Modern Jellyfin Client"
|
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"
|
license = "GPL-3.0-only"
|
||||||
repository = "https://github.com/prayag17/JellyPlayer/"
|
repository = "https://github.com/prayag17/Blink/"
|
||||||
default-run = "blink"
|
default-run = "blink"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.59"
|
rust-version = "1.59"
|
||||||
|
|||||||
@@ -18,5 +18,5 @@ fn main() {
|
|||||||
.plugin(tauri_plugin_updater::Builder::default().build())
|
.plugin(tauri_plugin_updater::Builder::default().build())
|
||||||
// .plugin(tauri_plugin_window_state::Builder::default().build())
|
// .plugin(tauri_plugin_window_state::Builder::default().build())
|
||||||
.run(tauri::generate_context!())
|
.run(tauri::generate_context!())
|
||||||
.expect("error while running JellyPlayer");
|
.expect("error while running Blink");
|
||||||
}
|
}
|
||||||
@@ -96,7 +96,6 @@ const PlayButton = ({
|
|||||||
size = "large",
|
size = "large",
|
||||||
playlistItem,
|
playlistItem,
|
||||||
playlistItemId = "",
|
playlistItemId = "",
|
||||||
trackIndex,
|
|
||||||
}: PlayButtonProps) => {
|
}: PlayButtonProps) => {
|
||||||
const api = useApiInContext((s) => s.api);
|
const api = useApiInContext((s) => s.api);
|
||||||
|
|
||||||
@@ -596,7 +595,7 @@ const PlayButton = ({
|
|||||||
</Fab>
|
</Fab>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (itemType === BaseItemKind.Series) {
|
if (itemType === BaseItemKind.Series) {
|
||||||
const currentEpisode = useQuery({
|
const currentEpisode = useQuery({
|
||||||
queryKey: ["playButton", "currentEpisode", item?.Id],
|
queryKey: ["playButton", "currentEpisode", item?.Id],
|
||||||
|
|||||||
@@ -414,7 +414,7 @@ const Settings = () => {
|
|||||||
{/* About */}
|
{/* About */}
|
||||||
{tabValue === 10 && (
|
{tabValue === 10 && (
|
||||||
<div className="settings-container settings-about">
|
<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-grid">
|
||||||
<div className="settings-info-container">
|
<div className="settings-info-container">
|
||||||
<div className="settings-info">
|
<div className="settings-info">
|
||||||
@@ -485,7 +485,7 @@ const Settings = () => {
|
|||||||
setUpdating(true);
|
setUpdating(true);
|
||||||
await updateInfo.data?.downloadAndInstall();
|
await updateInfo.data?.downloadAndInstall();
|
||||||
enqueueSnackbar(
|
enqueueSnackbar(
|
||||||
"Update has been installed! You need to relaunch JellyPlayer.",
|
"Update has been installed! You need to relaunch Blink.",
|
||||||
{
|
{
|
||||||
variant: "success",
|
variant: "success",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -118,12 +118,9 @@ export default function Updater() {
|
|||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
setUpdateDialogButton(true);
|
setUpdateDialogButton(true);
|
||||||
await updateInfo.downloadAndInstall();
|
await updateInfo.downloadAndInstall();
|
||||||
enqueueSnackbar(
|
enqueueSnackbar("Update has been installed! You need to relaunch Blink.", {
|
||||||
"Update has been installed! You need to relaunch JellyPlayer.",
|
variant: "success",
|
||||||
{
|
});
|
||||||
variant: "success",
|
|
||||||
},
|
|
||||||
);
|
|
||||||
await relaunch();
|
await relaunch();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export function getSupportedAudioCodecs(format: string): boolean {
|
|||||||
if (format === "flac" && isTv()) {
|
if (format === "flac" && isTv()) {
|
||||||
return true;
|
return true;
|
||||||
} else if (format === "eac3") {
|
} else if (format === "eac3") {
|
||||||
// This is specific to JellyPlayer
|
// This is specific to Blink
|
||||||
return true;
|
return true;
|
||||||
} else if (format === "wma" && isTizen()) {
|
} else if (format === "wma" && isTizen()) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in new issue
Block a user