GithubHelp home page GithubHelp logo

hackinggate / myanimelist-applemultiplatform Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 0.0 19.83 MB

Unofficial MyAnimeList app for Apple TV, iPhone, iPad and Mac rewritten in SwiftUI (previous was TVML/TVJS) (never tries to publish to App Store due to potential copyright issue)

License: MIT License

Swift 95.32% Shell 4.68%
swiftui appletv apple-tv ipad ios ios-app ipados-app tvos tvos-app myanimelist

myanimelist-applemultiplatform's Introduction

MyAnimeList-AppleMultiplatform

SwiftLint Test

Unofficial MyAnimeList app for Apple TV, iPhone, iPad and Mac rewritten in SwiftUI (previous was TVML/TVJS)

Requirements

  • Xcode 13
  • tvOS 15 or iOS 15 or macOS 12

Dependencies

  • SwiftUIFlux: A very naive implementation of Redux using Combine BindableObject to serve as an example
  • JikanSwift: Jikan Swift wrapper
  • MALSyncSwift: MALSync Api Swift wrapper
  • CrunchyrollSwift: Crunchyroll Swift wrapper unofficial
  • Kingfisher: A lightweight, pure-Swift library for downloading and caching images from the web.

Development

The project use SwiftUI and SwiftUIFlux.

You can learn SwiftUIFlux and SwiftUI with MovieSwiftUI.

Swift packages made for this porject are intergrated as git submodules. Once the sub packages are well developed. I'll consider to change it back to the way to install a SwiftPM that everybody know.

Example to clone with submodules:

$ git clone --recurse-submodules

Example to install submodules if you didn't use above command:

$ git submodule update --init --recursive

Screenshots

TV_Home TV_Detail

myanimelist-applemultiplatform's People

Contributors

hackinggate avatar renovate[bot] avatar

Stargazers

 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

myanimelist-applemultiplatform's Issues

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/swiftlint.yml
  • actions/checkout v3
  • norio-nomura/action-swiftlint 3.2.1
.github/workflows/test.yml
  • actions/checkout v3
  • mxcl/xcodebuild v1

  • Check this box to trigger a request for Renovate to run again on this repository

Subtitles in HLS(m3u8) does not support ass format

The IETF standard HTTP Live Streaming only support WebVTT subtitles.

WebVTT is based on SRT. Which is less rich than ASS.

AVFoundation provided by Apple only support WebVTT which means if I want the soft subtitles in the app. I have to convert ASS to WebVTT.

What will happen if I adopt WebVTT

The original ASS subtile from Crunchyroll looks like this

 Death March to the Parallel World Rhapsody Episode 1 ASS

The SRT subtitle converted by ffmpeg -i enUS.ass -c:s srt enUS.srt looks like this

 Death March to the Parallel World Rhapsody Episode 1 SRT

As you can see word Character and satou are not in the right position. It's better to remove those words and only keep the phrase on bottom center.

Not all anime in Crunchyroll are fully subbed. For example

Sword Art Online EP4

In this case. Format in ASS and SRT will not make a big difference.

Requirements for adopting ASS subtitles

I have to drop AVFoundation and use a third party video player.

What will happen if I do nothing

The subtitles will look good and will be in English only. It's hard encoded in the video. You cannot turn it off or change to other languages.

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.