Updated Media Area

Moderator: Series Admin

Updated Media Area

Postby PaulC2K on Sat Apr 11, 2009 12:39 am

Image
[BREAK ARTICLE]

If there are any problems with the area, let me know, I think everything is working smoothly but as with everything im sure theres something i'll have missed :P Its built from scratch, i think only the flash video player isnt my own work (for obvious reasons!) so theres a lot in there, all crammed into 1 page, and it wouldnt suprise me if ive missed something silly along the way.

MPR files need adding, and then i think its all up to date with the files available.
Its also a little empty in terms of votes, until its voted on it doesnt have a default value so there isnt anything in the 'Top Rated' section till people get voting :)


Future updates
Only a couple of things planned, i'll probably relocate the files though that wont be a noticable change, just fits in with future organisation plans. My next task is to make an admin page to make it simple to add new files into the library, currently its a case of uploading the file by ftp, then manually entering the info into 4 db tables, which is fine for now but not ideal. At the same time, making an upload/add file area would make it possible to open it up to registered users so anyone can add files (using either file-by-file or user based approval).
Currently everything except the flash videos are download only, so I may do something for images but its a little messy.
User avatar
PaulC2K
 
Posts: 231
Joined: Mon Sep 15, 2008 7:33 pm
Location: Manchester, England

Re: Updated Media Area

Postby ndf-demon on Fri Apr 24, 2009 6:56 pm

Ok, now i see MPRs, but they are all broken when download it.
ndf-demon
 
Posts: 3
Joined: Fri Apr 24, 2009 4:49 pm

Re: Updated Media Area

Postby PaulC2K on Fri Apr 24, 2009 7:19 pm

Hi,

The issue is fixed now, the script passing the download content to the users browser was getting fed data intended for the browser, and this would occupy say 10kb at the beginning of the file, however because the script knows the size of the file it stops when it hits that target it considers it done, so your missing that last 10kb of file data.

Sorry about that, but thanks for letting me know so it can be resolved :)
User avatar
PaulC2K
 
Posts: 231
Joined: Mon Sep 15, 2008 7:33 pm
Location: Manchester, England

Re: Updated Media Area

Postby ndf-demon on Fri Apr 24, 2009 7:49 pm

Can assume that if files was uploaded by ftp, there was the wrong mode - ascii or binary. Reuploading packed MPRs possibly could solve the problem.
ndf-demon
 
Posts: 3
Joined: Fri Apr 24, 2009 4:49 pm

Re: Updated Media Area

Postby PaulC2K on Fri Apr 24, 2009 8:01 pm

The files on the server are fine, its how they were being passed to the user.
It keeps the file URLs private which helps prevent file leeching, and also means we can log whats popular and what isnt, as specificly for the rounds videos if i can see one format isnt that popular it saves me messing about making it and slowly uploading it :)
User avatar
PaulC2K
 
Posts: 231
Joined: Mon Sep 15, 2008 7:33 pm
Location: Manchester, England

Re: Updated Media Area

Postby ndf-demon on Fri Apr 24, 2009 8:07 pm

Thanks Paul.
ndf-demon
 
Posts: 3
Joined: Fri Apr 24, 2009 4:49 pm


Return to Announcements

Who is online

Users browsing this forum: No registered users and 0 guests

cron