Skip to content

Commit

Permalink
Enable web output; update docs to reflect (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
aw-was-here authored Mar 13, 2023
1 parent 0c71187 commit e66af16
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
11 changes: 6 additions & 5 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ Here are the steps to get a basic installation working:
#. The software will attempt to pre-configure itself for whatever software you have installed. Note that in the case of Traktor, this work will including building an index for file lookup. For large Traktor installations, that may take a while.
#. It should bring up the `Settings <settings.html>`_
#. (Re-)Configure a `Source <input/index.html>`_
#. Configure an output: a file to write, the webserver, the twitchbot, etc ...
#. Save
#. Bring up your DJ software and play a song.
#. The output you picked should now have the song contents after the DJ software updates its files. (Depending upon the output option and the DJ software in use, time may vary.)

#. Save settings.
#. Launch your DJ Software.
#. Bring up OBS or SLOBS or your streaming software.
#. Configure a Browser Source and point it at `http://localhost:8899/`.
#. Bring up your DJ software again and play a song.
#. The Browser Source should have a very simple track information box.

At this point, you are ready to customize via `Templates <templates.html>`_ and enable other features!
2 changes: 1 addition & 1 deletion nowplaying/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def defaults(self):
str(self.templatedir.joinpath("ws-gifwords-fade.htm")))
settings.setValue('weboutput/requestertemplate',
str(self.templatedir.joinpath("ws-requests.htm")))
settings.setValue('weboutput/httpenabled', False)
settings.setValue('weboutput/httpenabled', True)
settings.setValue('weboutput/httpport', '8899')
settings.setValue('weboutput/once', True)

Expand Down
4 changes: 3 additions & 1 deletion nowplaying/systemtray.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ def installer(self):

msgbox = QMessageBox()
msgbox.setText('Basic configuration hopefully in place. '
'Please verify the Source and configure an output!')
'Bringing up the Settings windows. '
' Please check the Source is correct for'
' your DJ software.')
msgbox.show()
msgbox.exec()

Expand Down

0 comments on commit e66af16

Please sign in to comment.