mick7

January 17th, 2014, 02:56 PM

Hi, I'm running Edubuntu 12.04. I have a collection of educational video files whose filenames correspond to their youtube IDs (meaningless strings of characters). It is very difficult for my students to find the right video for the topic they need. I also have a .JSON file that lists the video title with the video's youtube ID, like this:

{

"C-2Ln0pK3kY": "algebra-ii--imaginary-and-complex-numbers",

"01c12NaUQDw": "inverse-of-a-2x2-matrix",

"ZD8THEz18gc": "milankovitch-cycles---precession-and-obliquity",

"5lmHzAHbtzg": "market-capitalization",

...

}

My question is whether there is a way to convert the file names of all the videos from the youtube ID to the title of the videos. For example

C-2Ln0pK3kY.mp4 would become Algebra-ii--imaginary-and-complex-numbers.mp4

There are hundreds of videos and it would be impossible to do by hand. Any help would be appreciated. Thanks in advance for any help you can give!

{

"C-2Ln0pK3kY": "algebra-ii--imaginary-and-complex-numbers",

"01c12NaUQDw": "inverse-of-a-2x2-matrix",

"ZD8THEz18gc": "milankovitch-cycles---precession-and-obliquity",

"5lmHzAHbtzg": "market-capitalization",

...

}

My question is whether there is a way to convert the file names of all the videos from the youtube ID to the title of the videos. For example

C-2Ln0pK3kY.mp4 would become Algebra-ii--imaginary-and-complex-numbers.mp4

There are hundreds of videos and it would be impossible to do by hand. Any help would be appreciated. Thanks in advance for any help you can give!