
genres( 
  genre_id INTEGER PRIMARY KEY AUTOINCREMENT,
  genre_name varchar(255),
  genre_uptag varchar(8) 
)

albums( 
  album_id INTEGER PRIMARY KEY AUTOINCREMENT, 
  album_artistid INTEGER, 
  album_pathid INTEGER, 
  album_name varchar(255), 
  album_coverid INTEGER, 
  album_uptag varchar(8) 
)

artists( 
  artist_id INTEGER PRIMARY KEY AUTOINCREMENT, 
  artist_name varchar(255), 
  artist_uptag varchar(8)
)  

paths( 
  path_id INTEGER PRIMARY KEY AUTOINCREMENT,
  path_value varchar(1024),
  path_uptag varchar(8)
)

songs( 
  song_id INTEGER PRIMARY KEY AUTOINCREMENT, 
  song_name varchar(255), 
  song_albumid INTEGER, 
  song_artistid INTEGER, 
  song_genreid INTEGER, 
  song_filename varchar(255), 
  song_pathid INTEGER, 
  song_number int(3), 
  song_year int(4), 
  song_length int, 
  song_uptag varchar(8)
)

tags(
  tag_id INTEGER  PRIMARY KEY AUTOINCREMENT, 
  tag_name varchar(100) 
)

settags( 
  settag_tagid INTEGER,
  settag_artistid INTEGER, 
  settag_albumid INTEGER, 
  settag_songid INTEGER
)

playlists( 
  playlist_id INTEGER PRIMARY KEY AUTOINCREMENT, 
  playlist_name varchar(100)
)

plsongs( 
  plsong_id INTEGER PRIMARY KEY AUTOINCREMENT, 
  plsong_plid INTEGER, 
  plsong_songid INTEGER 
)

covers( 
  cover_id INTEGER PRIMARY KEY AUTOINCREMENT, 
  cover_path VARCHAR(1024), 
  cover_thumb BLOB, 
  cover_uptag varchar(8)
)

audioscs( 
  audiosc_id INTEGER PRIMARY KEY AUTOINCREMENT, 
  audiosc_artist VARCHAR(255), 
  audiosc_album varchar(266), 
  audiosc_track varchar(255), 
  audiosc_playedtime INTEGER, 
  audiosc_source char(1), 
  audiosc_ratting char(1), 
  audiosc_len INTEGER, 
  audiosc_tracknum INTEGER, 
  audiosc_mbtrackid INTEGER 
)

radiogenres( 
  radiogenre_id INTEGER PRIMARY KEY AUTOINCREMENT, 
  radiogenre_name VARCHAR(255), 
  radio_tunerbase VARCHAR(255) 
)

radiostations( 
  radiostation_id INTEGER, 
  radiostation_genreid INTEGER, 
  radiostation_name VARCHAR(255), 
  radiostation_type VARCHAR(32), 
  radiostation_br INTEGER, 
  radiostation_lc INTEGER 
)

radiolabels(
  radiolabel_id INTEGER,
  radiolabel_name VARCHAR(255),
)

radiosetlabels(
  radiosetlabel_id INTEGER,
  radiosetlabel_labelid INTEGER,
  radiosetlabel_radioid INTEGER
)


