예제 #1
0
from songdata import get_song_data
from addsong import add_songs_by_date_range, repair_all_songs

from datetime import datetime

if __name__ == "__main__":
  start_date = datetime(year=2010,month=1,day=4)
  end_date = datetime(year=2010,month=1,day=6)
  add_songs_by_date_range(start_date,end_date)
예제 #2
0
파일: test.py 프로젝트: tmullin/apathtoofar
from songdata import get_song_data
from addsong import add_songs_by_date_range, repair_all_songs

from datetime import datetime

if __name__ == "__main__":
    start_date = datetime(year=2010, month=1, day=4)
    end_date = datetime(year=2010, month=1, day=6)
    add_songs_by_date_range(start_date, end_date)
예제 #3
0
from addsong import repair_all_songs, add_songs_by_date_range
from datetime import datetime, date

if __name__ == "__main__":
    repair_all_songs()
    add_songs_by_date_range(datetime(year=2009, month=12, day=31),
                            datetime.now())
    # Songs that we couldn't get a release date for cause we're lame
    add_songs_by_date_range(datetime.min, datetime.min)
예제 #4
0
from addsong import repair_all_songs, add_songs_by_date_range
from datetime import datetime, date

if __name__ == "__main__":
  repair_all_songs()
  add_songs_by_date_range(datetime(year=2009,month=12,day=31), datetime.now())
  # Songs that we couldn't get a release date for cause we're lame
  add_songs_by_date_range(datetime.min, datetime.min)