Search found 9 matches

Go to advanced search

by Yougli
Tue Dec 02, 2008 3:46 pm
Forum: Developing
Topic: RSS based auto download tool?
Replies: 5
Views: 7851

Of course, I could work with filenames, but they tend to be less accurate than hashes, as they can be modified by users. I usually change the naming of my favorite series episodes to add the episode title, for instance. If there is no RSS with hashes, another solution would be to query the XML-RPC A...
by Yougli
Tue Dec 02, 2008 12:18 pm
Forum: Developing
Topic: ComputeMovieHash in C#
Replies: 12
Views: 20647

The code works fine for both files :)
by Yougli
Mon Dec 01, 2008 5:31 pm
Forum: Developing
Topic: RSS based auto download tool?
Replies: 5
Views: 7851

This is the kind of app I would need too, and I would like to work on. Is there any RSS feed that could be used for this purpose?
A feed that would also give the hashes of the movies/series?
by Yougli
Mon Dec 01, 2008 5:07 pm
Forum: Developing
Topic: ComputeMovieHash in C#
Replies: 12
Views: 20647

Update:
I removed the overflow check in the project compiler settings, and it works fine now with the code submitted in the wiki :p
by Yougli
Fri Nov 28, 2008 5:15 am
Forum: Developing
Topic: ComputeMovieHash in C#
Replies: 12
Views: 20647

Thank you for pointing I forgot the add operator. I tried what you told me, but I'm still getting an overflow exception at the same line, at 13th iteration this time. Code: private static byte[] ComputeMovieHash(Stream input) { ulong lhash, streamsize; streamsize = (ulong) input.Length; lhash = stre...
by Yougli
Thu Nov 27, 2008 3:44 pm
Forum: Developing
Topic: ComputeMovieHash in C#
Replies: 12
Views: 20647

Ok, I tried declaring my variables using ulong instead of long, and the application doesn't throw an exception anymore. But the hash I get is incorrect according to the wiki. I get 55f61777884dc435 instead of 8e245d9679d31e12. The code: private static byte[] ComputeMovieHash(Stream input) { ulong lh...
by Yougli
Wed Nov 26, 2008 2:28 pm
Forum: Developing
Topic: ComputeMovieHash in C#
Replies: 12
Views: 20647

I know exactly where the exception occurs, I added a comment in the code in my first post.
Sorry if it wasn't clear...

The error occurs at:

Code: Select all

lhash += BitConverter.ToInt64(buffer, 0);
in the first while loop, at the 3rd iteration for the test avi 'breakdance.avi'
by Yougli
Tue Nov 25, 2008 4:47 pm
Forum: Developing
Topic: ComputeMovieHash in C#
Replies: 12
Views: 20647

ComputeMovieHash in C#

Hi, I'm using the code provided in the wiki to compute the hash of a movie. But I'm getting an overflow exception when executing the code. Any idea please? private static byte[] ComputeMovieHash(Stream input) { long lhash, streamsize; streamsize = input.Length; lhash = streamsize; long i = 0; byte[]...
by Yougli
Sun Feb 17, 2008 10:12 am
Forum: Programs using OS
Topic: Bugs and suggestions for SD
Replies: 17
Views: 18889

Has this bug been fixed?
I've uploaded a bunch of subtitles (Dead like me french, Metalocalypse) and they all appear as uploaded by Anonymous while I was logged as Yougli in SubDownloader...

Go to advanced search