mIRC-script to deal with Chii
Moderator: AniDB
mIRC-script to deal with Chii
Hi all,
I've started making a script that uses some of Chii's functions and I hope that there is both some interest by other mIRC-users as well as a few of you who are willing to test the betas
Of course I'd also appreciate help from those capable of mIRC-scripting
The intention is to make dealing with Chii easier, not to replace any upcoming anidb-client - so its functions will remain IRC-related, which means: no offline-browsing of your mylist, no mass-ed2k-link-sending-to-your-ed2k-client like sr.com, etc...
The Advertising-Part - how does it look so far?
(It's no real deal to make standard-GUIs with mIRC after all, but hey, most of it *works* too ^^)
The menu-entries:
Not much, huh?
"Show Stats":
Updating can be run every 30 Minutes max, since Chii anyway doesn't update the data more often...
"Config":
The grey parts on the right still lack functionality... that's on todo
"Downloaded Files" refers to mIRC-Downloads - monitoring ed2k or BT-downloads will be left to the anidb-client.
"Add Multiple files...":
Is that a bug? - no, it's just my paranoia (Just like you couldn't imagine what CB and CCS are ^^)
That one's mainly a dialog to select the files you wish to add to your mylist. You can add them as "watched", which is indicated by a "w" in the first column of the table.
The third column indicates the status which can be:
waiting -> hashing -> hashed -> adding ->
and then eiter:
- added
- double (=already in list)
- UNKNOWN
- CORRUPTED? (=Size match only)
- ERROR (= unknown reply by Chii)
That dialog is resizeable and you can drag&drop files on the table.
"Overview":
...And since i didn't yet implement anything to change the relative position of the table of added files in the previous dialog, here's a window dedicated to showing all the files added using this script. It still lacks a load/save-facility, but that's on todo...
(Also resizeable but no drag&drop)
Interested in Beta, err, ok, currently Alpha-testing or helping with the script?
Even for testing, it'd be good if you're a bit familiar with mIRC-Scripting, just in order to be able to verify that there is no kind of trojan-code inside.
I *do* guarantee you that there is no malicious code, but, after all, why should you trust me?
Just drop me a PM if you'd be willing to test it (and of course send me some debug-data in case of errors) or if you feel like digging through my half-heartedly-commented code ^^
Some Data:
Script-Size so far: 50KB / ~1300 lines (including dialog-tables and stuff)
External files needed:
mdx.dll - for the dialogs
ed2k_hash.exe - did you really think I implemented md4-hashing in mIRC?
movieid.exe - for the useless show-off-feature of displaying the codec-info and bitrates
Overall size: around 300KB
I've started making a script that uses some of Chii's functions and I hope that there is both some interest by other mIRC-users as well as a few of you who are willing to test the betas
Of course I'd also appreciate help from those capable of mIRC-scripting
The intention is to make dealing with Chii easier, not to replace any upcoming anidb-client - so its functions will remain IRC-related, which means: no offline-browsing of your mylist, no mass-ed2k-link-sending-to-your-ed2k-client like sr.com, etc...
The Advertising-Part - how does it look so far?
(It's no real deal to make standard-GUIs with mIRC after all, but hey, most of it *works* too ^^)
The menu-entries:
Not much, huh?
"Show Stats":
Updating can be run every 30 Minutes max, since Chii anyway doesn't update the data more often...
"Config":
The grey parts on the right still lack functionality... that's on todo
"Downloaded Files" refers to mIRC-Downloads - monitoring ed2k or BT-downloads will be left to the anidb-client.
"Add Multiple files...":
Is that a bug? - no, it's just my paranoia (Just like you couldn't imagine what CB and CCS are ^^)
That one's mainly a dialog to select the files you wish to add to your mylist. You can add them as "watched", which is indicated by a "w" in the first column of the table.
The third column indicates the status which can be:
waiting -> hashing -> hashed -> adding ->
and then eiter:
- added
- double (=already in list)
- UNKNOWN
- CORRUPTED? (=Size match only)
- ERROR (= unknown reply by Chii)
That dialog is resizeable and you can drag&drop files on the table.
"Overview":
...And since i didn't yet implement anything to change the relative position of the table of added files in the previous dialog, here's a window dedicated to showing all the files added using this script. It still lacks a load/save-facility, but that's on todo...
(Also resizeable but no drag&drop)
Interested in Beta, err, ok, currently Alpha-testing or helping with the script?
Even for testing, it'd be good if you're a bit familiar with mIRC-Scripting, just in order to be able to verify that there is no kind of trojan-code inside.
I *do* guarantee you that there is no malicious code, but, after all, why should you trust me?
Just drop me a PM if you'd be willing to test it (and of course send me some debug-data in case of errors) or if you feel like digging through my half-heartedly-commented code ^^
Some Data:
Script-Size so far: 50KB / ~1300 lines (including dialog-tables and stuff)
External files needed:
mdx.dll - for the dialogs
ed2k_hash.exe - did you really think I implemented md4-hashing in mIRC?
movieid.exe - for the useless show-off-feature of displaying the codec-info and bitrates
Overall size: around 300KB
first, nice work
second, shouldnt "Updating can be run every 30 Minutes max, since Chii anyway doesn't update the data more often..." be 'min' and not 'max'. i mean, a smaller interval then 30min would mean getting the info more often.
and personally i think even 30min is too much, considering how many people could be using the script at the same time
second, shouldnt "Updating can be run every 30 Minutes max, since Chii anyway doesn't update the data more often..." be 'min' and not 'max'. i mean, a smaller interval then 30min would mean getting the info more often.
and personally i think even 30min is too much, considering how many people could be using the script at the same time
ThanksAnonymous wrote:first, nice work
I'm not sure if I get you right here, but let me explain how it currently works:Anonymous wrote:second, shouldnt "Updating can be run every 30 Minutes max, since Chii anyway doesn't update the data more often..." be 'min' and not 'max'. i mean, a smaller interval then 30min would mean getting the info more often.
- The script can only get the stats from Chii
- Chii updates the stats every 30 minutes, so it makes no sense to query twice within that time
- When you open the stats-overview-window, Chii will be asked for updated values only if there has not been an update in this half hour. If you don't open the window, there will currently be no automated updating.
Here I *am* sure that I don't get you - would you mind explaining that?Anonymous wrote:and personally i think even 30min is too much, considering how many people could be using the script at the same time
well,
so what's the progress on this litte project?
has the new !addfile syntax already been implemented?
did you note, that the reply of an !addfile command can no longer be used to identify a file as possible corrupted?
maybe i'll include a new command like "!ckhash" to allow corruption checking again in the future.
BYe!
EXP
so what's the progress on this litte project?
has the new !addfile syntax already been implemented?
did you note, that the reply of an !addfile command can no longer be used to identify a file as possible corrupted?
maybe i'll include a new command like "!ckhash" to allow corruption checking again in the future.
BYe!
EXP
I got stuck in changing the resize-code to support dividers (so that one can customize the addfile-window better than just by the changing the size)...
That changed !addfile-output is in... that's not really hard to do, since most values are identified by their color-codes and the surrounding text ^^
I'm not sure if there's the need for an additional !ckhash, but I'll post that to a feature-req (once I can )
The most helpful addition for now would be the "update in progress"-notice for !mystats and !top every 30 minutes
That changed !addfile-output is in... that's not really hard to do, since most values are identified by their color-codes and the surrounding text ^^
I'm not sure if there's the need for an additional !ckhash, but I'll post that to a feature-req (once I can )
The most helpful addition for now would be the "update in progress"-notice for !mystats and !top every 30 minutes
If it is of any help: Gspot 2.21 supports exporting (using a template) but I haven't figured out if it also supports command line arguments.
[edit]
Just checked...
works. However, it is not possible to work with wildcards/expressions.
[edit]
Just checked...
Code: Select all
gspot <filename> /x
Thanks for the help - but showing the bitrates was more of a fun-feature than of real use. I gladly leave all the issues of adding files to the actual anidb-clientsalaureijs wrote:If it is of any help: Gspot 2.21 supports exporting (using a template) but I haven't figured out if it also supports command line arguments.
Well, since I already post here, I can aswell give a status-update:
Although the divider-thingy now works, I decided to change the whole handling of messages to Chii, which results in rewriting most of the functions, where - you guessed it already - I got stuck...
Ah, ok - it has probably also something to do with lazyness ^^;