PHP 클래스 SSLTrack, sslscrobbler
SSL puts a lot of useful information into the history file, including
the full path to the MP3, bpm, key, etc., as well as history-oriented data
such as start and end time, which deck the track was played on, played or
skipped, manually added, etc. There is also an incrementing integer primary
key (which I've called 'row').
History file Tracks also have a concept of their own 'status', in the sense of
'NEW', 'PLAYING', 'PLAYED' or 'SKIPPED'. (@see SSLRealtimeModel for more detail).
These states are derived from a combination of the 'played' field, which is
either 0 or 1 corresponding to whether or not the row is 'green' in the SSL
interface, and whether or not an 'endtime' is present.
파일 보기
프로젝트 열기: ben-xo/sslscrobbler
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
보호된 메소드들
메소드 상세
getFullStartTime()
공개 메소드
Pass SSLTrack::TRY_HARD if you would like the file
length to be guessed from the file itself, if possible,
and don't mind that this is possibly an expensive operation.
getLengthInSeconds()
공개 메소드
Pass SSLTrack::TRY_HARD if you would like the file
length to be guessed from the file itself, if possible,
and don't mind that this is possibly an expensive operation.
guessLengthFromFile()
보호된 메소드
Not sure why; perhaps files that have never been analysed.
So, let's attempt to guess it by analysing the full file.
setLengthIfUnknown()
보호된 메소드
This will attempt to set the length via guess work, if it's not already set.
프로퍼티 상세