GettingStarted - essa/7m GitHub Wiki

7mServer for Mac

This page describes how to install and start using 7mServer for Mac.

7mServer is a Mac desktop App that serves as a web server. You can access to 7mServer by web browsers. 7mServer will distribute 7m Web Client to your browser and start it.

7m Web Client is the basic client for 7mServer which runs on

  • Chrome/Firefox on PC/Mac
  • Chrome for Android version 29 or higher (experimental)

7mServer can distribute its contents to other clients. The detail page is linked at the bottom of this page.

backup iTunes library

7mServer will update these attributes of some tracks of your iTunes Library.

  • Bookmarkable
  • Bookmark
  • PlayedCount
  • PlayedDate
  • Rating

If you think them critical, backup your iTunes Library before trying 7mServer.

create a playlist in iTunes

7mServer will create a config file from your iTunes playlists at the first run.

If you do not have any playlists, create two smart playlists before running it.

Select File -> New -> smart playlist...

iTunes screen shot

iTunes screen shot

The first one will collect your new arrived podcasts. The second one will your favarite musics.

7mServer will mix these two playlists for broadcasting a "radio program" for you.

7mServer will accept any playlists and smart playlists as source, but the mixed contents will be better if source playlist is 'auto rotating playlist'. By 'auto rorating', I mean it has a condition for 'Last played not in the last' some range. Because it will automatically remove tracks once played.

download MacApp

Donwload latest archive from http://www.uncate.org/7m/

Run the MacApp

Open and Run it.

web ready screen shot

Check "Web Server READY" in logs.

If this message was not displayed, something is wrong. Check the error messages.

Open browser

Run Chrome, and enter http://localhost:16017/ (16017 is the default port no for 7mServer)

web ready screen shot

This page will be shown first time only. Just click the save button.

Start Playing

FirstPlaylists screen shot

This is the main page of 7mServer.

There are "Remixed Playlists" defined in config file. It is generated automatically when you ran 7mServer first time. The detail of config file will be described later.

Just click the 7m_demo program.

screen shot

"7m_demo" picked some tracks from your playlists and made a "remixed playlist" dynamically for you.

Click the "Play" button.

screen shot

It will play the "playlist".

This seems only a playlist but it will not play full duration but only 20 seconds of your track and skip to next.

It is the main concept of 7mServer: play tracks partially and sync bookmarks with iTunes.

Edit config

Now, click the stop button and back to the App.

screen shot

Click the config tab.

This is a simple config editor.

You can edit the config with your favarite editor. It is at ~/Library/Application\ Support/SevenMinutes/7m.yml

Edit the duration and max_duration_per_track. These params controls duration of frames and tracks of your program in seconds. They are defined shorter for demonstration purpose.

Edit these like this

duration: 600-1200 # 10 minutes to 20 for this frame max_duration_per_track: 420 # limit duration to 7 minutes for one track

And remove frames you don't want to play.

Click the restart button in Web Server tab.

screen shot

Reload the browser and click the play button. It will play a radio program for you.

What's next