Media Sorting Script - Python


I am currently working on remastering old tv shows and the files get all outputed to the same folder.

What I need is a script which is automatically categorizing them by language and sorting them in the correct folder structure.

To automatically categorizie them by language we can use the [login to view URL] which is part of ffmpeg (can be downloaded here: [login to view URL] I also can send just the [login to view URL] if needed),

This is the command for it:

pathtoffprobe\[login to view URL] "pathtomedi\[login to view URL]" -show_entries stream=index:stream_tags=language -select_streams 1 -v 0 -of compact=p=0:nk=1

The files which will show up in the folder have the following different formats. The script should be able to handle all of them correctly.

This is a TV Show Name - S01E01 - Episode name - [login to view URL]

[login to view URL]

The third case is sometimes my media will be inside a folder where the folder has a name like this:

[login to view URL]

and the file inside the folder has a name like this:

[login to view URL]

All media files should automatically be sorted into their tv show name and season folders.

For the example above the final folder structure after getting the language would look something like this:

languagenamehere\This is a TV Show Name\S01\[login to view URL]

Skills: Python, Windows Desktop, Data Processing

See more: script votes automatically different, integrate social media scripts script, media catalog script, sorting images in python, phockup, sort photos python, elodie github, nzbget videosort, organize photos python, python photo management, github python photo organizer, script python extract html tags, install media share script, windows media player script voor wordpress, flex media player script, script match entries different files, sorting script oscommerce, flash customizable media player script, media expression script, script python badoo

About the Employer:
( 29 reviews ) Oldenburg, Germany

Project ID: #22432501

Awarded to:


Hello, I can write a python script to perform the task you are requiring. Please contact me if you are interested in my offer. Cheers, G.

$30 USD in 2 days
(8 Reviews)

3 freelancers are bidding on average $29 for this job


I can do this project for you. I want to ask you a few details in private. Looking forward to working with you!

$35 USD in 4 days
(0 Reviews)

Hello, This is Harry Jacob, a professional and experienced freelancer. I am into the Industry for the last nine years. I have gone through your project and seems doable to me, but it looks like the details are not com More

$23 USD in 7 days
(0 Reviews)