| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung |
| ojdb:start [2011/04/02 09:39] – docu 1 complete ojdo | ojdb:start [2025/07/07 18:00] (aktuell) – gelöscht ojdo |
|---|
| ====== ojdb ====== | |
| |
| [[http://ojdo.de/db|ojdb]] is a Flash/HTML5-based online music player for streaming music hosted on [[http://archive.org/details/audio|archive.org]]. Its database already contains more than 2,000 tracks from the enourmously big Internet Archive servers. This may sound few, but every album is selected by hand, rated and tagged song by song and then uploaded here. | |
| |
| The tagging standard allows for a better music discovery compared to most music blogs, the Internet Archive itself or Jamendo. If you are---for example---after steamy, great rock music, just type ''[[http://ojdo.de/db/?q=mood IS 3 AND rating GREATER 3 AND genre IS Rock|mood IS 3 AND rating GREATER 3 AND genre IS Rock]]''. Full boolean queries (AND, OR and NOT) and comparison operators (HAS, IS, GREATER, LESS, ...) are supported. | |
| |
| |
| ===== Query syntax ===== | |
| |
| ==== Text expressions ==== | |
| |
| Text comparisons are case-insensitive. Don't use quotes (' or ") unless you want to search for them. | |
| |
| ^ Expression ^ Example ^ | |
| | ''<field> IS <string>'' | ''[[http://ojdo.de/db/?q=title+IS+winter|title IS winter]]'' | | |
| | ''<field> HAS <string>'' | ''[[http://ojdo.de/db/?q=title+HAS+he's|title HAS he's]]'' | | |
| |
| ==== Numeric expressions ==== | |
| |
| ^ Expression ^ Example ^ | |
| | ''<field> GREATER <number>'' | ''[[http://ojdo.de/db/?q=rating+GREATER+2|rating GREATER 2]]'' | | |
| | ''<field> LESS <number>'' | ''[[http://ojdo.de/db/?q=mood+LESS+3|mood LESS 3]]'' | | |
| | ''<field> EQUAL <number>'' | ''[[http://ojdo.de/db/?q=playcount EQUAL 10|playcount EQUAL 10]]'' | | |
| |
| ==== Date/time expressions ==== | |
| |
| Playback statistics have the format ''YYYY-MM-DD HH:MM:SS'' (UTC+0100). ''<datetime>'' must apply to one of the following formats: ''YYYY'', ''YYYY-MM'', ''YYYY-MM-DD'', ''YYYY-MM-DD HH'', ''YYYY-MM-DD HH:MM'' or ''YYYY-MM-DD HH:MM:SS''. | |
| |
| ^ Expression ^ Example ^ | |
| | ''<field> BEFORE <datetime>'' | ''[[http://ojdo.de/db/?q=lastplayed+BEFORE+2009-06-24+20%3A21%3A22+AND+playcount+GREATER+0|lastplayed BEFORE 2009-06-24 20:21:22 AND playcount GREATER 0]]'' | | |
| | ''<field> AFTER <datetime>'' | ''[[http://ojdo.de/db/?q=http://ojdo.de/db/?q=firstplayed+AFTER+2011-03|firstplayed AFTER 2011-03]]'' | | |
| |
| |
| ==== Composed queries ==== | |
| |
| ^ Query ^ Description ^ | |
| | ''<expression1> AND <expression2>'' | Matches tracks that are found by both expressions. | | |
| | ''<expression1> OR <expression2>'' | Matches tracks that are found by at least one expression. | | |
| | ''NOT <expression>'' | Matches tracks that are not found by ''<expression>''. | | |
| |
| Nesting and grouping expressions with parenthesis is possible. | |
| |
| |
| ===== Fields ===== | |
| |
| ^ Field Name ^ Description ^ Comments w/ example queries ^ | |
| | **Basic information** ||| | |
| | ''title'' | Track Title | | | |
| | ''artist'' | Track Artist | identical to Album Artist for most tracks of single-artist releases, except for [[http://ojdo.de/db/?q=artist+HAS+%2C|featuring artists]] | | |
| | ''album '' | Album Name | | |
| | ''albumartist '' | Album Artist | identical to Track Artist for single-artist releases, set to [[http://ojdo.de/db/?q=albumartist IS Various Artists|Various Artists]] for compilations | | |
| | ''tracknumber'' | Track Number | | | |
| | ''totaltracks'' | Total Tracks | track count on disc | | |
| | ''discnumber'' | Disc Number | "1" for most albums/EPs, mainly used on large compilations | | |
| | ''totaldiscs'' | Total Discs | "1" for most albums/EPs, mainly used on [[http://ojdo.de/db/?q=totaldiscs%20GREATER%201|large compilations]] | | |
| | **Taxonomy** ||| | |
| | ''genre'' | Genre | broad musical category; one value per track | | |
| | ''style'' | Style | finer and different musical categories; multiple values per track allowed | | |
| | ''rating'' | Rating | subjective, integer scale from 1 to 5; 0 for missing values | | |
| | ''mood'' | Mood | activity of track, integer scale from 1 to 3; 0 for missing values | | |
| | **Playback statistics** ||| | |
| | ''firstplayed'' | First played | Date and time of first play on my computer. [[http://ojdo.de/db/?q=http://ojdo.de/db/?q=firstplayed+AFTER+2011-03|Tracks added starting from 2011-03-01]] | | |
| | ''lastplayed'' | Last played | Date and time of last play before the last import. [[http://ojdo.de/db/?q=lastplayed+BEFORE+2009-06-24+20%3A21%3A22+AND+playcount+GREATER+0|Long not played]] (for a reason) | | |
| | ''playcount'' | Play counter | Number of times that I listened to a song. Rough indicator of [[http://ojdo.de/db/?q=playcount+GREATER+12|personal popularity]] | | |
| |
| |
| |
| |