Robin's Wiki
SearchWiki

iRATE

  • iRATE Homepage
  • Developer Notes

Documentation

  • Current Client/Server Protocol
  • XML-RPC iRATE protocol
  • External Control Plugin protocol
  • iRATE Manual

Supporting Programs

  • External Control Programs
  • Use mpg321 instead of madplay
  1. iRATE
    1. Homepage
    2. Developer page
    3. Developer wiki

  1. Protocols
    1. Current client/server
    2. XML-RPC
    3. External Control plugin

  1. Other Programs
    1. External Control programs
    2. Using mpg321 instead of madplay
IrateDev/
PlayList
Read PageEdit PagePage AttributesPage HistoryUpload
Printable View

This is the algorithm used to add/remove tracks from the playlist:

Firsly here are the * ratings:

*=2
**=5
***=7
****=10

  1. The play list length is equal to the number of tracks rated ** or higher but to a maximum of 37 tracks.
  2. Tracks get removed once they've been played the number of times equal to half their value (as above). The half values go on even/odd cycles, e.g. a ** track gets played twice on the even time and thrice odd time and so on.
  3. When a new tracks is added, a random number is chosen from 0 to 8 and a track is chosen from the pool of tracks greater than or equal to that value.
  4. The probability of choosing a track is proportional to the rating value / (1 + noOfTimesPlayed).

Note that skipping a track before it has finished doesn't count as having played a track. Also note that iRATE doesn't remember the play list when you shut it down but it does shuffle the tracks that were on it back onto the play list because of the "uneven" number of times played.

Page last modified on September 27, 2005, at 12:05 AM

  1. ▲ Top ▲
  2. Edit:
  3. SideBar
  4. MenuBar
  5. BottomBar
  6. GroupHeader
  7. GroupFooter