https://hackerspacenijmegen.nl/index.php?title=Projects:Music_at_HSN&feed=atom&action=historyProjects:Music at HSN - Bewerkingsoverzicht2024-03-29T15:09:04ZBewerkingsoverzicht voor deze pagina op de wikiMediaWiki 1.39.2https://hackerspacenijmegen.nl/index.php?title=Projects:Music_at_HSN&diff=366&oldid=prevMinnozz: Minnozz heeft pagina HSNWiki:Music at HSN hernoemd naar Projects:Music at HSN over een doorverwijzing2020-02-05T16:16:22Z<p>Minnozz heeft pagina <a href="/index.php?title=HSNWiki:Music_at_HSN&action=edit&redlink=1" class="new" title="HSNWiki:Music at HSN (de pagina bestaat niet)">HSNWiki:Music at HSN</a> hernoemd naar <a href="/Projects:Music_at_HSN" title="Projects:Music at HSN">Projects:Music at HSN</a> over een doorverwijzing</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="nl">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Oudere versie</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Versie van 5 feb 2020 16:16</td>
</tr><tr><td colspan="2" class="diff-notice" lang="nl"><div class="mw-diff-empty">(geen verschil)</div>
</td></tr></table>Minnozzhttps://hackerspacenijmegen.nl/index.php?title=Projects:Music_at_HSN&diff=352&oldid=prevMinnozz: Minnozz heeft pagina Projects:Music at HSN hernoemd naar HSNWiki:Music at HSN: Use Project: prefix2020-02-05T16:12:31Z<p>Minnozz heeft pagina <a href="/Projects:Music_at_HSN" title="Projects:Music at HSN">Projects:Music at HSN</a> hernoemd naar <a href="/index.php?title=HSNWiki:Music_at_HSN&action=edit&redlink=1" class="new" title="HSNWiki:Music at HSN (de pagina bestaat niet)">HSNWiki:Music at HSN</a>: Use Project: prefix</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="nl">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Oudere versie</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Versie van 5 feb 2020 16:12</td>
</tr><tr><td colspan="2" class="diff-notice" lang="nl"><div class="mw-diff-empty">(geen verschil)</div>
</td></tr></table>Minnozzhttps://hackerspacenijmegen.nl/index.php?title=Projects:Music_at_HSN&diff=312&oldid=prevMrngm: +categorie:projects2020-01-21T21:30:05Z<p>+categorie:projects</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="nl">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Oudere versie</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Versie van 21 jan 2020 21:30</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l61">Regel 61:</td>
<td colspan="2" class="diff-lineno">Regel 61:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* A fair queueing system</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* A fair queueing system</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Force consume mode on (perhaps by patching mpd? Or just a cronjob every minute)</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Force consume mode on (perhaps by patching mpd? Or just a cronjob every minute)</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Categorie:Projects]]</ins></div></td></tr>
<!-- diff cache key hackerspacenijmegen_nl:diff::1.12:old-118:rev-312 -->
</table>Mrngmhttps://hackerspacenijmegen.nl/index.php?title=Projects:Music_at_HSN&diff=118&oldid=prevSA007: Copied from old wiki - last change Aug 14, 20182019-02-06T11:39:24Z<p>Copied from old wiki - last change Aug 14, 2018</p>
<p><b>Nieuwe pagina</b></p><div>We have a Music Player (MPD) at Hackerspace Nijmegen. If you'd like some music,<br />
you can turn it on.<br />
<br />
To use the commands listed on this page, you need to be connected to the HS-NMGN<br />
wifi network or be otherwise connected to the HSN network.<br />
<br />
Questions? Ask Sjors!<br />
<br />
== Starting it ==<br />
<br />
Find out MPD's status by running `mpc -h barometer status`. The output may look<br />
something like:<br />
<br />
Maduk - Liquicity Yearmix 2016 (Mixed By Maduk)<br />
[playing] #1/1 2:37/64:15 (4%)<br />
volume: 77% repeat: off random: off single: off consume: on <br />
<br />
Play state is on the second line. If it says 'playing', and you don't hear<br />
anything, check audio settings on `barometer@bar-o-meter` :-(<br />
<br />
If it says 'paused' or 'stopped', run `mpc -h barometer play`. If that doesn't<br />
help, restart it.<br />
<br />
If it's not running, or broken in some way, you can `ssh barometer@bar-o-meter`<br />
and run `./startmpd.sh`. That'll stop it if it's running, then restart it. It<br />
starts mpd, but also ashuffle, a tool to keep the playlist always filled.<br />
<br />
== Stopping it ==<br />
<br />
Done with the music? Last person to leave the space? `mpc -h barometer pause`.<br />
<br />
== Adding your own music ==<br />
<br />
`barometer` is running an NFS mount. Try:<br />
<br />
sudo mkdir -p /media/music<br />
sudo mount -t nfs barometer:/media/music /media/music<br />
<br />
Make your own directory on it, and add your stuff! Please don't touch other<br />
people's stuff, and don't download any music from it, get it somewhere legally!<br />
<br />
Currently there's only about 128 GB of space, so don't upload your entire music<br />
database; if it fills up further, I'll probably add a disk or something.<br />
<br />
== Queueing your own music ==<br />
<br />
Take the path to your file, then run:<br />
<br />
mpc -h barometer add 'yourname/Path To Your Music/Some Artist - His Track (Someones Remix).mp3'<br />
<br />
== TODO ==<br />
<br />
Not in any particular order:<br />
<br />
* It sometimes doesn't start with the correct audio interface. Why?<br />
* Nicer speakers<br />
* Automatic `mpc pause` when the space state is switched to closed, and *perhaps* "mpc play" when switched to open<br />
* Revbank plugin for mpd!<br />
* A (matrix LED?) screen that displays what song is currently playing, perhaps some nice animations<br />
* A Something like https://github.com/notandy/ympd on a screen for people who don't care for CLIs<br />
* A fair queueing system<br />
* Force consume mode on (perhaps by patching mpd? Or just a cronjob every minute)</div>SA007