Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

direc85/harbour-ytplayer

 
 

YTPlayer

YTPlayer is an unofficial YouTube client for SailfishOS.

   

Getting the source

Since YTPlayer uses some extra 3rd party components shipped in git submodules it needs to be cloned with --recursive option. Ex:

Build Prequisites

Building

  1. Paste your YouTube Data API v3 key into a file called youtube-data-api-v3.key and place it in the YTPlayer source directory.
  2. Copy YouTube client ID JSON file into YTPlayer source directory. Rename the file to youtube-client-id.json
  3. Start the SailfishOS SDK.
  4. Load harbour-ytplayer.pro file.
  5. Build and deploy the application to your phone/tablet/emulator.

If translations don't work, try the following:

  1. Select i486/armv7hl > Release > Deploy as ARM package
  2. Build > Clean project "harbour-ytplayer"
  3. Build > Build project "harbour-ytplayer" (or click the hammer icon)
  4. Build > Deploy project "harbour-ytplayer" (or click the play icon)

Translating

If you would like to create a new translation for YTPlayer, this is roughly how it's done:

  • Fork the project
  • Copy translations/en_GB.ts file to your language (e.g. no.ts for Norwgian)
  • Add the new file to translations/translations.pri files TRANSLATIONS section accordingly
  • Translate the new file
    • Qt Linguist comes with Sailfish Application SDK
    • Your generic UTF-8 capable text editor will work, too
  • Test the translation
  • Commit the changes
  • Make a pull request

Or you can avoid forking by just creating a new issue and attach the new translated .ts file in the issue.

About

YouTube client for Sailfish OS

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE.YTPlayer
MIT
LICENSE.durationjs
Unlicense
LICENSE.youtube-dl

Stars

Watchers

Forks

Packages

No packages published

Languages

  • QML 53.7%
  • C++ 41.4%
  • JavaScript 3.7%
  • Other 1.2%