Coder Social home page Coder Social logo

gunter423 / nts-desktop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from romeovs/nts-desktop

0.0 0.0 0.0 62.46 MB

An unofficial Desktop app for playing NTS Live streams and archived shows

License: MIT License

JavaScript 1.46% TypeScript 77.76% CSS 15.77% Makefile 4.18% HTML 0.83%

nts-desktop's Introduction

NTS Desktop

CI/CD

An unofficial desktop app for NTS built in Electron.

Usage

  • Click the NTS logo in the menubar to open the player.
  • Use the left and right buttons on the player to navigate between channels. You can also use the arrow keys.
  • Click the play/stop button on the live streams to play them. Spacebar works too.
  • On the live streams click the tracklist button in to top right corner to open the live tracklist in the browser. (This will only work if you are an NTS Supporter).
  • Drop the link from the browser to an archive show on the menubar icon to play it, .webloc files work too.
  • On the archive screen, you can scroll down to reveal the controls and tracklist.
  • Click on a tracklist item to copy the information.
  • Press โŒ˜Q when the window is open.
  • You can refresh the app with โŒ˜R
  • ctrl + N will open NTS Desktop
  • Pressing T when the window is open will open the tracklist
  • Pressing C when the window is open will open the chat window for that channel
  • Pressing 1 or 2 when the window is open will start playing the corresponding channel
  • Pressing - and + will control the volume of the player

Installation

Go to the Releases Page and fetch the .dmg file from the latest release.

Open the disk image and drag the NTS Desktop app to Applications and open it.

The first time you open the app, it will show an erro because the app isn't signed. I do not have a Mac Developer license.

To open the app anyway, you can:

System Preferences > Security & Privacy > General > Open Anyway

I have only tested this app on macOS, so I can't guarantee it works on Linux or Windows. If people want to help me port it over, shoot me a message, PR's are welcome!

Local Development

The project is structured as follows:

./
  src/
    main.ts     # The electron main file
    preload.js  # A setup file for the browser context
    client/     # The electron renderer files
      main.ts
      ...

To start the app in developement mode, run:

make dev

You can now start editing the renderer files, changes will automatically take effect on save.

Note that changes to the main process (src/main.ts and src/preload.js) require a restart to take effect.

To build the application run:

make build app

The app will now be in bundle/mac-universal/NTS Desktop.app.

Acknowledgement

The main idea for the app came from the excellent nts-desktop-app, the implementation of which is way simpler and more elegant, but lacks some of the features I wanted.

nts-desktop's People

Contributors

romeovs avatar dependabot[bot] avatar

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.