Studyokee / studyokee-spotify

0 stars 0 forks source link

Get times and translations of ce jeu and make document with data #6

Closed ulberge closed 11 years ago

ulberge commented 11 years ago

Here are the times within a second: https://docs.google.com/spreadsheet/ccc?key=0AoNJp0JrWwjFdEViNmJzaGhsMmNTVTcyV2NCWWQ3THc#gid=0

We should probably figure out a way to do it more accurately, but we would need the current track time in milliseconds...

This works for now to do testing with

ulberge commented 11 years ago

sp.require("$api/models").player.track.toString() = "Ce Jeu by Yelle" segments = [{"lyrics":"Fou et tellement évident","translations":{"en":"Crazy and so evident,"},"start":0},{"lyrics":"Que je ne trouve plus de sens","translations":{"en":"That I can't find my way anymore."},"start":20387},{"lyrics":"A ce jeu excitant","translations":{"en":"This exciting game,"},"start":22569},{"lyrics":"Si bon mais si lassant","translations":{"en":"So good but so boring."},"start":24752},{"lyrics":"Tu aimes me manipuler","translations":{"en":"You like to manipulate me,"},"start":27016},{"lyrics":"Et j'aime en faire autant","translations":{"en":"And I like to do the same."},"start":29350},{"lyrics":"Nous sommes tous deux victimes","translations":{"en":"We're both victims,"},"start":31404},{"lyrics":"De ce doux jeu d'amants","translations":{"en":"Of this sweet lover's game."},"start":33668},{"lyrics":"Je ferais l'effort","translations":{"en":"I would make the effort;"},"start":35758},{"lyrics":"Je te connais par coeur","translations":{"en":"I know you by heart."},"start":37616},{"lyrics":"Il suffit que je t'ignore","translations":{"en":"All I have to do is ignore you,"},"start":40182},{"lyrics":"Pour que tu reviennes en pleurs","translations":{"en":"For you to come back in tears."},"start":42155},{"lyrics":"Je m'occupe de toi","translations":{"en":"I keep myself busy with you,"},"start":44268},{"lyrics":"Tu repars, c'est ça","translations":{"en":"You leave again, whatever."},"start":46532},{"lyrics":"Toujours le même schéma","translations":{"en":"Always the same plan"},"start":48610},{"lyrics":"Et j'anticipe à chaque fois","translations":{"en":"And I see it coming every time"},"start":50863},{"lyrics":"Fou et tellement évident","translations":{"en":"Crazy and so evident,"},"start":53208},{"lyrics":"Que je ne trouve plus de sens","translations":{"en":"That I can't find my way anymore."},"start":55716},{"lyrics":"A ce jeu excitant","translations":{"en":"This exciting game,"},"start":57980},{"lyrics":"Si bon mais si lassant","translations":{"en":"So good but so boring."},"start":60313},{"lyrics":"Tu aimes me manipuler","translations":{"en":"You like to manipulate me,"},"start":62484},{"lyrics":"Et j'aime en faire autant","translations":{"en":"And I like to do the same."},"start":64667},{"lyrics":"Nous sommes tous deux victimes","translations":{"en":"We're both victims,"},"start":66815},{"lyrics":"De ce doux jeu d'amants","translations":{"en":"Of this sweet lover's game."},"start":69090},{"lyrics":"Passion, émotion et correction d'équation","translations":{"en":"Passion, emotion and the right equation."},"start":71285},{"lyrics":"J'agite la solution mais j'ai toujours la même sensation","translations":{"en":"I know the solution but I always have the same feeling."},"start":75662},{"lyrics":"C'est tellement évident","translations":{"en":"It's so obvious,"},"start":79644},{"lyrics":"Que je ne trouve plus de sens","translations":{"en":"That I can't find my way anymore."},"start":81908},{"lyrics":"A ce jeu excitant, si bon mais si lassant","translations":{"en":"This exciting game, so good but so boring"},"start":84033},{"lyrics":"Je ne veux pas d'un amour sans faille","translations":{"en":"I don't want a love without problems,"},"start":87899},{"lyrics":"Trop parfait tu ne m'intéresses pas","translations":{"en":"Too perfect that you don't interest me."},"start":91196},{"lyrics":"Folle de toi surtout quand tu pars","translations":{"en":"I'm crazy about you, especially when you leave."},"start":93437},{"lyrics":"Fou de moi, j'y vais de ce pas","translations":{"en":"It's crazy of me, to not go there."},"start":95515},{"lyrics":"Je ne veux pas d'un amour sans faille","translations":{"en":"I don't want a love without problems,"},"start":97605},{"lyrics":"Trop parfait tu ne m'intéresses pas","translations":{"en":"Too perfect that you don't interest me."},"start":100089},{"lyrics":"Folle de toi surtout quand tu pars","translations":{"en":"I'm crazy about you, especially when you leave."},"start":102156},{"lyrics":"Fou de moi, j'y vais de ce pas","translations":{"en":"It's crazy of me, to not go there."},"start":104013},{"lyrics":"Fou et tellement évident","translations":{"en":"Crazy and so evident,"},"start":106324},{"lyrics":"Que je ne trouve plus de sens","translations":{"en":"That I can't find my way anymore."},"start":108936},{"lyrics":"A ce jeu excitant","translations":{"en":"This exciting game,"},"start":111165},{"lyrics":"Si bon mais si lassant","translations":{"en":"So good but so boring."},"start":113324},{"lyrics":"Tu aimes me manipuler","translations":{"en":"You like to manipulate me,"},"start":115588},{"lyrics":"Et j'aime en faire autant","translations":{"en":"And I like to do the same."},"start":117876},{"lyrics":"Nous sommes tous deux victimes","translations":{"en":"We're both victims,"},"start":119942},{"lyrics":"De ce doux jeu d'amants","translations":{"en":"Of this sweet lover's game."},"start":122253},{"lyrics":"Je me perds parfois","translations":{"en":"I lose myself sometimes,"},"start":124308},{"lyrics":"Souvent c'est bien fait","translations":{"en":"It's often fine."},"start":126676},{"lyrics":"Et tu caches ta joie","translations":{"en":"And you hide your joy,"},"start":128928},{"lyrics":"Parce que tu m'as eue","translations":{"en":"Because you had me."},"start":131111},{"lyrics":"Comme une proie bête et gentille","translations":{"en":"Like prey, stupid and nice,"},"start":133027},{"lyrics":"Qui ne tire pas de leçon","translations":{"en":"Who doesn't understand the lesson,"},"start":135012},{"lyrics":"Du piège grossier et facile d'un charmant garçon","translations":{"en":"Of the mean trap, and it's easy for a charming boy."},"start":136904},{"lyrics":"Mais c'est vraiment trop facile","translations":{"en":"But it's really too easy"},"start":141572},{"lyrics":"Dès que tu souris tu me fascines","translations":{"en":"As soon as you smile, you fascinate me"},"start":148548},{"lyrics":"Comme un aimant sur un fil de fer tendu et habile","translations":{"en":"Like a magnet on an iron thread, tight and agile"},"start":150568},{"lyrics":"Mais c'est vraiment trop facile","translations":{"en":"But it's really too easy"},"start":154864},{"lyrics":"C'est ma pomme qui te fascine","translations":{"en":"It's my apple that fascinates you. (I feel like \"pomme,\" means vagina here..)"},"start":157337},{"lyrics":"Je tourne le dos pour partir","translations":{"en":"I turn my back to leave"},"start":159531},{"lyrics":"Tu sais qu'elle n'est pas acide","translations":{"en":"You know that it's not acid"},"start":161633},{"lyrics":"Fou et tellement évident","translations":{"en":"Crazy and so evident,"},"start":182158},{"lyrics":"Que je ne trouve plus de sens","translations":{"en":"That I can't find my way anymore."},"start":184631},{"lyrics":"A ce jeu excitant","translations":{"en":"This exciting game,"},"start":186488},{"lyrics":"Si bon mais si lassant","translations":{"en":"So good but so boring."},"start":188694},{"lyrics":"Tu aimes me manipuler","translations":{"en":"You like to manipulate me,"},"start":190680},{"lyrics":"Et j'aime en faire autant","translations":{"en":"And I like to do the same."},"start":193118},{"lyrics":"Nous sommes tous deux victimes","translations":{"en":"We're both victims,"},"start":194894},{"lyrics":"De ce doux jeu d'amants","translations":{"en":"Of this sweet lover's game."},"start":197483}]

ulberge commented 11 years ago

Above is the JSON.stringify version of an array containing all the segments.