GitXplorerGitXplorer
r

nts-desktop

public
14 stars
2 forks
3 issues

Commits

List of commits on branch main.
Verified
5343da7469836efa6e601370d579f0991c431850

Fix endless loop

rromeovs committed 2 months ago
Verified
6836daed784829090009e0504c5d5791a587587d

Remove usePromise

rromeovs committed 2 months ago
Verified
61f15dc12a6f86aab009d8b33cf36adc2b79e97d

Refresh show info better

rromeovs committed 2 months ago
Verified
6c1bdee0a457ce5dce24af211dba6c287e0af036

Add better metadata

rromeovs committed 2 months ago
Verified
07c2e62ca729976d3292b6cac8d063fe4ff08c22

Add logo

rromeovs committed 2 months ago
Verified
f8427bf9662099b9959f85f50156cc193bd70b8f

Do not copy to clipboard when seeking

rromeovs committed 2 months ago

README

The README file for this repository.

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.