Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM support, ommiting episode names and adding a "0" prefix to episode and season numbers #111

Merged
merged 10 commits into from Apr 14, 2024

Conversation

prochy-exe
Copy link
Contributor

@prochy-exe prochy-exe commented Apr 13, 2024

As visible from the title, this pull request adds the following:

  • ARM support
    I have tried the generated binary on raspberry pi 2b (ARMv7), and im fully hoping AARCH64 has backwards compatibility for 32-bit so we can call it full ARM support on linux xd. Stripping is done by emulating alpine linux to the armv7 arch because when i tried to strip it on a x64 bit system it failed.
  • Formatting change
    Now i am not quite sure if you will like this change, but i think having it in a format S1 - E1 is better than S1E1, but of course this is purely subjective
  • Ommiting episode names
    I find it quite clunky when the whole name is there, so i added an option to just have S1 - E1 instead of S1 - E1 Episode name
  • Adding a leading 0
    Last but not least, i added the option to append 0 to the season or episode number if its less than 9 (hopefully xd) so S01 - E01
    If you have any questions please ask! I really like this project and i just dont understand why this hasnt been done natively by jellyfin yet

From: S1E1 My mom is a milf?!
To: S1E1
Formatting change:
from S1E1
to S1 - E1
When leading 0 is enabled:
S01 - E01
@Radiicall
Copy link
Owner

Radiicall commented Apr 13, 2024

The new formatting change from S1E1 to S1 - E1 should be a config options as well imo, and if we go through the trouble of armv7l then arm64 might be worth adding by itself too

Make the behavior configurable, so:
from S1E1
to S1 - E1
@prochy-exe
Copy link
Contributor Author

As requested, both features added

.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
scripts/installer.py Outdated Show resolved Hide resolved
@prochy-exe
Copy link
Contributor Author

I hope I fixed everything you requested, sorry if i missed something its almost 4 am here xd

@Radiicall
Copy link
Owner

I hope I fixed everything you requested, sorry if i missed something its almost 4 am here xd

Haha same, weekends am i right

@Radiicall Radiicall self-requested a review April 14, 2024 01:59
scripts/installer.py Outdated Show resolved Hide resolved
@prochy-exe
Copy link
Contributor Author

would the way i did it be appropriate as well? I am not a big ARM guy so i dont know if armv7 and aarch64 are the only possible variations

covering all the bases, not sure how many cpu codenames does ARM have
Changed checking code and check arm64 before arm
@Radiicall Radiicall self-requested a review April 14, 2024 18:15
@Radiicall Radiicall merged commit ffd2dc8 into Radiicall:main Apr 14, 2024
6 checks passed
@Radiicall Radiicall mentioned this pull request Apr 18, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants