{"id":16937159,"url":"https://github.com/cobrand/toyunda-player-rs","last_synced_at":"2025-07-16T03:46:44.106Z","repository":{"id":86123880,"uuid":"59377942","full_name":"Cobrand/toyunda-player-rs","owner":"Cobrand","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-22T03:32:53.000Z","size":806,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T05:16:52.102Z","etag":null,"topics":["karaoke","libmpv","libsdl","player","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cobrand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-21T19:29:39.000Z","updated_at":"2017-08-15T02:22:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d61e89b-c0b9-47f1-9e0d-0a7e82e6e8ff","html_url":"https://github.com/Cobrand/toyunda-player-rs","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Cobrand/toyunda-player-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobrand%2Ftoyunda-player-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobrand%2Ftoyunda-player-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobrand%2Ftoyunda-player-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobrand%2Ftoyunda-player-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cobrand","download_url":"https://codeload.github.com/Cobrand/toyunda-player-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cobrand%2Ftoyunda-player-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265479860,"owners_count":23773628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["karaoke","libmpv","libsdl","player","rust"],"created_at":"2024-10-13T20:58:51.233Z","updated_at":"2025-07-16T03:46:44.067Z","avatar_url":"https://github.com/Cobrand.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# toyunda-player-rs\n\nA Karaoke Player\n\n# Commands\n\n## General\n\n* Space : Pause / unpause\n* F : Fullscreen\n* numpad0-9 : speed from 1.0 to 0.1\n* Shift numpad0-9 : speed from 1.1 to 2.0\n* V : Hide/dhows subtitles\n* Left / Right : -/+ 3 seconds,\n* Shift + Left / Right : -/+ 15 seconds\n* Alt + Left / Right : previous / next frame\n* Mousewheel : volume\n\n## Edit mode\n\n* E : enable edit mode\n* X / C : time\n*  J / K : -/+ 10 ms on current syllable's begin time\n* Alt J / Alt K : -/+ 10 ms on current syllable's end time\n* Shift J / Shift K : -/+ 10 ms on current syllable's time (begin + end)\n* Alt + Shift J / K : -/+ 10 ms for the entire subtitles\n* S : Save subtitles into the json file\n* R : Reload the json file (discard any changes if you might have done in the player)\n\n\n# Installation\n\nPython3 is heavily recommended for the build scripts to work.\n\nAs of 09-2016, Rust nightly is needed for this to build correctly. It is required because of Serde,\nwhohc uses a config opion which is available in nightly only. See [The official webiste](https://www.rust-lang.org/)\nfor a guide on how to install rust for your distribution. This software needs some additional packages, the full list is :\n\n* libmpv (for the video player)\n* libsdl2 (for key handling + graphic displayer)\n* libsdl2\\_ttf\n* libsdl2\\_image\n\nIf you want to have the correct libraries for the web manager, you have to run this command\n\n```bash\npython3 bootstrap.py\n```\n\n\n## Windows\n\nYou will need to copy several .dll files so rust can use them to compile the binary. However, your binary itself\nwill need them too, and won't run if it isn't able to find them. You have 2 options then :\n\n* Put the .dll files in C:\\\\Windows\\\\System32 (this will install that for everyhting in your computer - prefer the other way)\n* Put the .dll files in target/debug or in target/release, or anywhere next to the binary. (The binary is named toyunda-player-rs.exe)\n\n### mpv\n\nGo to the website https://mpv.srsfckn.biz/ and download the \"Dev\" link of the lastest version of mpv.\n\nGo then place under `C:\\\\Programs\\\\Rust Nightly GNU 1.13\\\\lib\\\\rustlib\\\\x86\\_64-pc-windows-gnu\\\\lib` the files \n*.dll for your architecture from the zip you downloaded from mpv. If you don't know your architecture, it's probably 64bits.\n\n### sdl2\n\nhttps://www.libsdl.org/release/SDL2-2.0.4-win32-x64.zip\n\nCopy all the .dll files under the same as before `rustlib\\\\lib` folder. Same for sdl2\\_ttf and sdl2\\_image below.\n\n### sdl2\\_tff\n\nhttps://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14-win32-x64.zip\n\n### sdl2\\_image\n\nhttps://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1-win32-x64.zip\n\n## Linux\n\nFor linux packages libmpv, libsdl2, libsdl2_image and libsdl2\\_ttf are required for this to work correctly.\n\n## OS X \n\n?\n\n# License\n\nMIT / Apache-2.0 at your option\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobrand%2Ftoyunda-player-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcobrand%2Ftoyunda-player-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobrand%2Ftoyunda-player-rs/lists"}