torrent type identification

Suggestions and discussion of future versions
Post Reply
ledzgio
Member
Member
Posts: 29
Joined: Tue Oct 20, 2009 9:24 pm

torrent type identification

Post by ledzgio »

Hi to all,

i need to find out the type of the torrent, if it is a video, audio, application, image, etc.

Which is the best way to identify the torrent? is there a way to get thi information from the tracker or directly from the torrent or just identifying it by it's extension (mp3, avi, txt, etc.)?

thanks very much
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: torrent type identification

Post by Cas »

i suggest you evaluate what are you trying to achieve because off the top of my head the following mix of file types can easily be included in a torrent:
  • music: audio, text, playlist, video, images
    film: video, text and images
    audiobook: audio, text, images
my thought are that using labels plugin will solve most of your sorting issues and really requires little manual effort
ledzgio
Member
Member
Posts: 29
Joined: Tue Oct 20, 2009 9:24 pm

Re: torrent type identification

Post by ledzgio »

I'm trying to find out some main categories in order to move downloaded torrents to different directories depending on the torrent type (audio, video, etc., analyzing the contained files with it).

I think i can use mimetypes module to achive my goal.

I guess we can consider 5 main categories:

- video
- audio
- data (iso, archives, binary files)
- documents (audiobook, pdf files, office documents, etc.)
- uncategorized (for those torrents that aren't within the previous categories)

What do you think about?

thanks for your suggestions
Post Reply