Importing An External Subtitle File

Comments on existing version & Suggestions for future versions. If you want a new feature suggest it here. Discussions about beta versions also come in this section.
Post Reply
trekkie
Posts: 25
Joined: 2003-01-24 11:32:56

Importing An External Subtitle File

Post by trekkie »

Hi,

Lots of us use external subtitle file to watch a movie. Usually the subtitle file is downloaded from web-sites.

I would like to suggest a new feature of importing that external file from a web site , it would require a new function:
GetExternalFile(Address:String) ( similar to GetPicture).

The imported file would be linked to a new Subtitle File Link field
( similar to a suggested new file Link field ) and can be stored in a seperate directory (which can be under the Main AMC directory or not - you may add its setting in the preferences ) .

This will also allow for a New Area for script writers .
Scripts can be written to search subtitles on the net ( There are many sites in different languages ) and get the desired file ,thus automating a chore which many of us do manually.


Thanks
antp
Site Admin
Posts: 9675
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

If the downloaded file is a text file, it is already possible with GetPage, TStringList, and few other functions/constants.
For a zip file for example, I would also have to add a possibility to expand the zip file.
trekkie
Posts: 25
Joined: 2003-01-24 11:32:56

Importing An External Subtitle File

Post by trekkie »

Usually the files are either zip or rar files.

I think uncompressing it would be a nice addition :) but not a necessity.

BTW
i tried GetPage for a zip/rar file ,not working :( .It seems the files are
somehow truncated
antp
Site Admin
Posts: 9675
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

GetPage handles the downloaded file as a text string, so it won't work at all with non-text files (zip, images, etc.)
Post Reply