Giter VIP home page Giter VIP logo

jimaku-player's People

Contributors

dependabot[bot] avatar sheodox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jimaku-player's Issues

Naruto and other Anime - no subtitles?

I'll leave this comment here as I'm trying to figure out why the subtitles worked in some anime on VRV, but not Naruto or others I'm trying. I'm using subtitles from :https://www.kitsunekko.net/

Please let me know if there may be anything I'm doing wrong with your tools.
Again, it seemed to work with the Kimetsu show, but not some others.

I used an SRT file for the 1st episode and didn't receive any subtitles to play with.

Support for any website

Hey man, I was wondering if you could adapt this script to be used with any website that has an html5 player in it, instead of being tied to a specific platform. Cheers

Docker Error during migration run

Hello,
I'm trying to setup this project on my machine but I can't get it to work.

I'm new to Docker and this is my first time using it but here is my attempt:
When I run docker-compose up I get an error:

[+] Running 9/9
 - postgres Pulled                                                                                                17.1s
   - 59bf1c3509f3 Already exists                                                                                   0.0s
   - c50e01d57241 Pull complete                                                                                    0.8s
   - a0646b0f1ead Pull complete                                                                                    0.9s
   - 08018e47fc43 Pull complete                                                                                   12.0s
   - 6014f2775635 Pull complete                                                                                   12.1s
   - 85760f97d4b8 Pull complete                                                                                   12.2s
   - 3e07f59f91db Pull complete                                                                                   12.3s
   - 3f86c399b0a1 Pull complete                                                                                   12.5s
[+] Building 1.1s (11/11) FINISHED
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 32B                                                                                0.0s
 => [internal] load .dockerignore                                                                                  0.1s
 => => transferring context: 34B                                                                                   0.0s
 => [internal] load metadata for docker.io/library/node:12-alpine                                                  0.8s
 => [dev 1/6] FROM docker.io/library/node:12-alpine@sha256:8fad09b7620b2bc715cbba92e3313c64a797e453f560118576f174  0.0s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 72B                                                                                   0.0s
 => CACHED [dev 2/6] RUN apk add --no-cache ffmpeg                                                                 0.0s
 => CACHED [dev 3/6] WORKDIR /usr/src/app                                                                          0.0s
 => CACHED [dev 4/6] RUN npm i -g typeorm                                                                          0.0s
 => CACHED [dev 5/6] COPY package*.json ./                                                                         0.0s
 => CACHED [dev 6/6] RUN npm install                                                                               0.0s
 => exporting to image                                                                                             0.1s
 => => exporting layers                                                                                            0.0s
 => => writing image sha256:33969ca22b78682d2587143698196cd5c8d48a7290f0514f5b5b91762ef5f182                       0.0s
 => => naming to docker.io/library/jimaku-player_app                                                               0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[+] Running 4/4
 - Network jimaku-player_default       Created                                                                     0.8s
 - Volume "jimaku-player_postgres"     Created                                                                     0.0s
 - Container jimaku-player_postgres_1  Created                                                                     1.7s
 - Container jimaku-player_app_1       Created                                                                     0.2s
Attaching to app_1, postgres_1
postgres_1  | The files belonging to this database system will be owned by user "postgres".
postgres_1  | This user must also own the server process.
postgres_1  |
postgres_1  | The database cluster will be initialized with locale "en_US.utf8".
postgres_1  | The default database encoding has accordingly been set to "UTF8".
postgres_1  | The default text search configuration will be set to "english".
postgres_1  |
postgres_1  | Data page checksums are disabled.
postgres_1  |
postgres_1  | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres_1  | creating subdirectories ... ok
postgres_1  | selecting dynamic shared memory implementation ... posix
postgres_1  | selecting default max_connections ... 100
postgres_1  | selecting default shared_buffers ... 128MB
postgres_1  | selecting default time zone ... UTC
postgres_1  | creating configuration files ... ok
postgres_1  | running bootstrap script ... ok
postgres_1  | performing post-bootstrap initialization ... sh: locale: not found
postgres_1  | 2021-12-21 11:18:42.037 UTC [30] WARNING:  no usable system locales were found
postgres_1  | ok
postgres_1  | syncing data to disk ... initdb: warning: enabling "trust" authentication for local connections
postgres_1  | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1  | --auth-local and --auth-host, the next time you run initdb.
postgres_1  | ok
postgres_1  |
postgres_1  |
postgres_1  | Success. You can now start the database server using:
postgres_1  |
postgres_1  |     pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres_1  |
postgres_1  | waiting for server to start....2021-12-21 11:18:43.144 UTC [36] LOG:  starting PostgreSQL 13.5 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20211027) 10.3.1 20211027, 64-bit
postgres_1  | 2021-12-21 11:18:43.150 UTC [36] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1  | 2021-12-21 11:18:43.177 UTC [37] LOG:  database system was shut down at 2021-12-21 11:18:42 UTC
postgres_1  | 2021-12-21 11:18:43.188 UTC [36] LOG:  database system is ready to accept connections
postgres_1  |  done
postgres_1  | server started
postgres_1  | CREATE DATABASE
postgres_1  |
postgres_1  |
postgres_1  | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
postgres_1  |
postgres_1  | waiting for server to shut down...2021-12-21 11:18:43.515 UTC [36] LOG:  received fast shutdown request
postgres_1  | .2021-12-21 11:18:43.520 UTC [36] LOG:  aborting any active transactions
postgres_1  | 2021-12-21 11:18:43.521 UTC [36] LOG:  background worker "logical replication launcher" (PID 43) exited with exit code 1
postgres_1  | 2021-12-21 11:18:43.521 UTC [38] LOG:  shutting down
postgres_1  | 2021-12-21 11:18:43.549 UTC [36] LOG:  database system is shut down
postgres_1  |  done
postgres_1  | server stopped
postgres_1  |
postgres_1  | PostgreSQL init process complete; ready for start up.
postgres_1  |
postgres_1  | 2021-12-21 11:18:43.676 UTC [1] LOG:  starting PostgreSQL 13.5 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20211027) 10.3.1 20211027, 64-bit
postgres_1  | 2021-12-21 11:18:43.676 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres_1  | 2021-12-21 11:18:43.676 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres_1  | 2021-12-21 11:18:43.690 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1  | 2021-12-21 11:18:43.706 UTC [50] LOG:  database system was shut down at 2021-12-21 11:18:43 UTC
postgres_1  | 2021-12-21 11:18:43.717 UTC [1] LOG:  database system is ready to accept connections
app_1       | Error during migration run:
app_1       | TypeORMError: No connection options were found in any orm configuration files.
app_1       |     at new TypeORMError (/usr/local/lib/node_modules/typeorm/error/TypeORMError.js:9:28)
app_1       |     at ConnectionOptionsReader.<anonymous> (/usr/local/lib/node_modules/typeorm/connection/ConnectionOptionsReader.js:38:35)
app_1       |     at step (/usr/local/lib/node_modules/typeorm/node_modules/tslib/tslib.js:143:27)
app_1       |     at Object.next (/usr/local/lib/node_modules/typeorm/node_modules/tslib/tslib.js:124:57)
app_1       |     at fulfilled (/usr/local/lib/node_modules/typeorm/node_modules/tslib/tslib.js:114:62)
app_1 exited with code 1

It says: TypeORMError: No connection options were found in any orm configuration files.

I have tried building an image myself and running it but then I don't have a postgres image and I get the following error when I run it:

Error during migration run:
Error: getaddrinfo EAI_AGAIN postgres
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) {
  errno: 'EAI_AGAIN',
  code: 'EAI_AGAIN',
  syscall: 'getaddrinfo',
  hostname: 'postgres'
}

I have created the following .env file in my project root:

PGUSER=user
PGPASSWORD=password
PGDATABASE=jimaku-player

I don't know what to do now. Any help is very much appreciated!

Can you help change the font

image
image
I'm using it to show my Vietnamese subtitile on Crunchryroll, but it font make subtitile look so funny. Or how can I add custom font for a better showing substiltle. Thank you so much

Buttons unclickable on crunchyroll

The 'skip subtitling for this episode' and 'select a subtitle file to begin' buttons suddenly became unclickable on crunchyroll (I didn't change/modify/update anything it just suddenly occurred, everything still works on VRV tho). The buttons appear when i open a new video like normal, only problem is they aren't working (fullscreen same thing). I tried reinstalling the script no luck though

clip.mov

Subtitles don't scale

Watching Angel Beats Episode 1 with "Angel Beats! 01 (BD 720p)(Hi10).ja.ass" results in very small subtitles. Overriding subtitle scaling has no effect.
image

How to make extension popup appear a bit lower on screen ?

Hello, is there any way to move extension popup a bit lower. The thing is i use a theater mode extension (https://chrome.google.com/webstore/detail/crunchyroll-theater/dpggfkaifdajfnfkogccmpfinnffbjgo) which hide header and make it appear when you hover mouse on top of the screen. And because of that i cant either click on "select subtitle file you begin" or "cancel" button. Maybe i can edit some lines in tampermonkey script editor myself ?

A few images below for better understanding :

This header prevents me from choosing any option on jimaku pop up
Screenshot_12

If somehow i could move this pop up a bit lower to red zone at least like in picture below i could click these options.
Screenshot_14

Sub position

Was wondering if there was a way to change the location of the subs to be centered/drag to position. Some subs I was using were automatically aligned with the corner of the screen. I downloaded different subs for the same show which were automatically centered, so it was just those specific subs that were aligned that way. Just a suggestion though, I like your script it's very helpful (don't have to download all eps of one piece now)

Fine Alignment Adjustment hotkeys switch option.

Hi, can you add an option to change/switch X and Z hotkeys so Z will hasten subtitles and X will delay subtitles ? This is more comfortable that way especially for those of us who use same feature on players like VLC and MPV where this hotkeys work that way and its kinda hard to adjust now to reverse values...

Shadow size

Hey!!

Just want to ask a new option that allows us to customize the SHADOW size.
It is still too white.

Look at the official crunchyroll - The shadow is strong and we can see it clearly.
Tho using the subtitle from Jimaku Player, when there is too much whiteness on screen we cant see the subtitle clearly

Please make the subtitle shadow bigger or do a setting for us that allow us to change the subtitle shadow...
Ex: The one from Jimaku https://i.imgur.com/FFb4YUS.jpeg
The one from Crunch: https://i.imgur.com/0J5DDIp.jpg

Thank you very much!

Change Subtitle Size

Is it possible to resize the subtitle?
I have a ultra wide monitor and the subtitles on the site are too small. I would like to resize and make it bigger...
Is that possible?

ASS subtitle fails to load if it references undefined style

I have an ass subtitle which failed to be loaded. The console says

[Jimaku Player] ASS parse error TypeError: i is undefined
t moz-extension://e38ae3e1-e749-444b-b424-b00840fc2185/userscripts/字幕プレーヤー.user.js?id=2d653c48-832e-45c1-a650-911e8d7e8e86:188
parseSubOverrideTags moz-extension://e38ae3e1-e749-444b-b424-b00840fc2185/userscripts/字幕プレーヤー.user.js?id=2d653c48-832e-45c1-a650-911e8d7e8e86:187
rs moz-extension://e38ae3e1-e749-444b-b424-b00840fc2185/userscripts/字幕プレーヤー.user.js?id=2d653c48-832e-45c1-a650-911e8d7e8e86:185
u moz-extension://e38ae3e1-e749-444b-b424-b00840fc2185/userscripts/字幕プレーヤー.user.js?id=2d653c48-832e-45c1-a650-911e8d7e8e86:196
onload moz-extension://e38ae3e1-e749-444b-b424-b00840fc2185/userscripts/字幕プレーヤー.user.js?id=2d653c48-832e-45c1-a650-911e8d7e8e86:196
字幕プレーヤー.user.js:185:199
[Jimaku Player] Error occurred parsing this line
Object { dataType: "dialogue", layer: "0", start: "0:00:44.85", end: "0:00:46.85", style: "ED11", name: "", marginL: "0", marginR: "0", marginV: "0", effect: "", … }

I realized the reason is that the style referenced at this line ("ED11") is not defined.

Although the file is problematic, at least we should still load the subtitle (maybe with the default / fallback style?), I think.

Subtitles text go outside of video aspect ratio window

Hello, i use a 3440:1440p monitor which have 21:9 aspect ratio and when using jimaku extension text eventually go outside of video window to black boxes on right and left (because all modern anime have 16:9 aspect and older ones 4:3) Is it possible to lock jimaku to video aspect ratio so subs won't go outside video range? On 21:9 monitor it happened all the time and for most people using 16:9 i believe it happens when they watch older anime prior to about 2006 -2007 year when anime was still shot in 4:3 aspect ratio mostly.

In pictures below as example i used both a 4:3 and 16:9 aspect ratio video . As you can see subs go way outside of video window all the way to the corners.
Screenshot_3

Screenshot_4

It's just completely broken on crunchyroll

I try to go to any video on crunchyroll and it just doesn't work. The prompt to select a subtitle shows up but clicking it does nothing. Even more interesting is how the video continues to play but won't let you go fullscreen.

Сhange subtitle position

Hello!

Is it possible to add option to change subs position a bit higher like Crunchyroll subs which a think an ideal screen positioning or make that a default position in extension with future updates ?

Subtitles misaligned in fullscreen mode

I've noticed strange behaviour: subtitles are moved to the right in fullscreen mode. I tried to use auto and force 16:9 aspect ratio but it didn't help. Is there any fix?

Normal mode:
Screenshot 2023-09-11 at 00 32 52

Fullscreen mode:
Screenshot 2023-09-11 at 00 33 27

Download Subtitle from video

Hi.

Could you implement a function to download the video subtitle?
Or to change the size of the subtitle of the video itself without uploading it.

But if its not possible to change the size of the subtitle in the video, let us download the official SRT from Crunchyroll so we can upload using the extension and then change the size.

Im watching Attack on Titan on Crunchroll and it does have the subtitle in my language but i cant find a way to download the srt subtitle...
It would be nice to download the subtitle from the video so i can upload via Jimaku Player...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.