Programs

Programs

Archives

Upgrade: PHP5 and other stuff

Today we’ve upgraded PHP4 to PHP5. It is caused by bad communication with web server 2 and db server, so we redirect traffic from web2 to other servers.

Packet lost solved

240 packets transmitted, 240 packets received, 0.0% packet loss Yes, it seems so, we solved this problem, big thanks to DanGer. No more 500 errors.

500 Internal Server Error

Solution is pretty simple, every 2 minutes is running script, which check if 500, and if yes, it restarts server.

Movie FPS, sub format, upgrade

On internet exists some funky Polish subtitle formats like TMPlayer (tmp) and MPL2 (mpl), so I’ve added them – now our Polish friends should be possible upload subs in these formats too.

Page should load faster

After some talk with lighttpd guru at irc, we together optimized its configuration. I also removed some ugly SQL querries, some of them are cached in memcache, thumbnails should be loaded faster, sphinx is doing its job…

Improvements for hearing impaired

Now, when searching, you can select, if you want subtitles for Hearing Impaired in advanced settings. Search results and subtitle details are marked with small icon.

New fulltext search

I decided to bring online new fulltext search engine – sphinx. After some days of work, debugging and so on, we can say – it works. I hope now website will be a little faster.

More statistics available

Last time, chatting with Majky, he asked, if he should see some stats about using his Oscar – I said no problem. So I created some more stats.

Downloading subtitles using MPC

MPC means Media Player Classic (download), it is a little old – latest release is dated to 2006-03-20, but that means nothing. It is still one of the best software players floating around. I will show you in this guide how to download perfectly matched subtitles without opening any website using OpenSubtitles.org ISDb protocol.

Signature in downloaded subtitles

Today I’d like to write about added signature in subtitle files. It is common, that other subtitle sites do this and now we do this too.

Download subtitles using ffdshow

After some thoughts I’ve got idea what should be really cool. Cool should be, if some DirectShow filter, codec or whatever should support downloading and uploading subtitles from our server – just like SubDownloader or Oscar do.

Informative mails about comments

Today I had idea – what about new feature – when someone post comment to some subtitles, uploader of those subtitles should receive informative mail about that.

Movie trailers about movies

As you can see, on subtitle detail page is now possible click to “Show trailer” link, but it unfortunately doesn’t work in Opera browser for some unknown reason. Anyway, it is searching for movie trailers, so I hope you will have fun with this small feature.

Request section is again usable

After some months of unusability of request section I decided to create it again almost from scratch. Now it should be better, faster and it has more features.

Implementing better caching technique

After playing a little bit with memcache I had to implement better caching technique. Site was down for some hours, I look what happened…it was an error, which I didn’t see any time before…