Table of Contents


1 - Installation
2 - Usage
2.1 - Server
2.2 - Client
2.2.1 - Player
2.2.2 - Playlist
2.2.3 - /path/to/folder
2.3 - RemoteClient
2.3.1 - Browser (1st tab)
2.3.2 - Playlist (2nd tab)
2.3.3 - Chooser (3rd tab)
2.3.4 - Player (4th tab)
3 - Thanks To


1 Installation

ticMusicServer assumes these applications, installed and working, on your system:

I suggest you get Donn Cave's package from BeBits, as it contains the full distribution including headers, libraries and such; 3.6 MB. If you're reading this, you've probably unzipped ticMusicServer-0.2b1.zip already. I suggest you put the unpacked folder in /boot/apps.


2 Usage

This chapter describes the use (and not the mis-use!) of the applications inside the package known as "ticMusicServer".


2.1 Server

In a Terminal, go to the folder in which ticMusicServer-0.2b1.zip was unzipped.

1. cd app
2. python tmsServer.py

to start the server.
The text might not be the same on your system!
To cleanly exit the server, type exit in the Terminal window where you started tmsServer.py.

The settings for the server (such as the default start-up folder for clients) is stored in /boot/home/config/settings/ticMusicServer/settings.

The values you can change are:

The default values are: To quit the server, type exit.


2.2 Client

Start the application tmsClient.py by double-clicking it, or in a Terminal window typing: python /path/to/tmsClient.py where /path/to/tmsClient.py is the full path to the directory (and the app) in which you've installed the client application. If you've installed ticMusicServer into /boot/apps, it might look something like this: python /boot/apps/ticMusicServer-0.1b2/tmsClient.py.

Upon application start, three windows are brought up:
Christmas gift, jazz is cool!

These windows are described below.


2.2.1 Player

Here you can change the volume and seek into the song. Note that not all songs supports seeking, especially not modules (.xm/.mod/etc.), and some VBR mp3s. Otherwise, it does just what you'd expect from a standard music player.

The rightmost button has the text "Nichts!" on it, which is German for "Nothing!". And that, my friend, is exactly what it does -- nothing!


2.2.2 Playlist

The songs you've added to the playlist will end up here. The buttons do pretty much what they say they do:

Playlist.

Chooser.
Everything else in the client is the same.


2.2.3 /path/to/folder


2.3 RemoteClient

Start the application tmsRemoteClient.py by double-clicking it, or in a Terminal window typing: python /path/to/tmsRemoteClient.py where /path/to/tmsRemoteClient.py is the full path to the directory (and the app) in which you've installed the client application. If you've installed ticMusicServer into /boot/apps, it might look something like this: python /boot/apps/ticMusicServer-0.1b2/tmsRemoteClient.py.

A new window is brought up, covering the entire workspace. The window consists of four tabs; Browser, Playlist, Chooser and Player. You change between the tabs using the "Option" button. To navigate in the lists in the tabs, you use the "Up" and "Down" buttons. The "Action" button is used to perform an action with the currently selected item in the list. The "Cancel" button, if used, is a quick button for escaping from the currently Action-requester. The messages the application accepts and their meanings:
MessageFunction
1Option
2Down
3Up
4Action
5Cancel
6Next Song
7Previous Song

The ones you -must- preset are 1 through 4, the others can be reached through the menus. A configuration file for BeInControl is provided. Place the file tmsRemoteClient.bicc in BeInControl's Configurations sub-directory and teach BeInControl the buttons as usual.

You can also use Marco Nelissen's IRMan input_server add-on and Jeremy Friesner's SpicyKeys to send messages to the application.


2.3.1 Browser (1st tab)

List of files and directories.
Works basically the same as the GUI client, with the exception for the Action-button approach.

The Action-requesters are:

Text in []'s represents the item on which the Action command was applied to.



Directory Action
ActionDescription
Change to [Directory]Makes [Directory] the default directory.
Add to PlaylistAdds the entire directory, including sub-directories, to the current playlist.
Cancel: [Directory]Jumps back to the browser view.


File Action
ActionDescription
Play [File]Play the current file. This sets the current playlist to the file played. The playlist will be replaced with this song, without asking.
Add to PlaylistAdds the file to the end of the playlist.
Cancel: [File]Jumps back to the browser view.


Previous Directory Action
ActionDescription
Up One Directory Level Sets the previous directory to the active and updates the file listing.
CancelJumps back to the browser view.


2.3.2 Playlist (2nd tab)

The current song is marked with a hash-sign ('#').
In this tab, you manipulate the songs being played.

The available Action requester is:

Text in []'s represents the item on which the Action command was applied to.



Playlist Entry Action
ActionDescription
Play [Playlist Entry]Sets the currently playing song to [Playlist Entry]. Does not change the playlist.
Cancel: [Directory]Jumps back to the playlist view.


2.3.3 Chooser (3rd tab)

All playlists are timestamped automatically.
Here you manipulate the playlists saved on the server.

The available Action requester is:

Text in []'s represents the item on which the Action command was applied to.



Saved Playlist Action
ActionDescription
Set [Saved Playlist] as Active Playlist]Replaces the current playlist with the one in [Saved Playlist]. The current playlist is not saved.
Add [Saved Playlist] as Active Playlist] Adds [Saved Playlist] to the end of the current playlist.
CancelJumps back to the chooser view.


2.3.4 Player (4th tab)

Missing in this screenshot is "Volume +".
Control the most common functions of a music player. The actions for this tab view is the one specified in the list items themselves (and thus no second action menu is brought up).


3 Thanks To

Greetings fly out to the following persons:


Generated by ticDocGen. Copyright (C) 2001 by Mikael Jansson.