Forum Settings
Forums
New
Aug 8, 2008 4:38 PM
#1

Offline
Apr 2007
68
Please post any problems your having here
Reply Disabled for Non-Club Members
Aug 8, 2008 6:20 PM
#2
Offline
May 2007
670
Not really bugs but more like suggestions:

Distribution archive is in the wrong format, by Unix standard files are not stored in the root of the archive but rather in a subdirectory.

WAITTIME could also be changed to seconds instead of minutes.

Filenames should be referred to absolutely, I ended up getting a "MALListParser.pl command not found" as I didn't install it in a directory that's in the $PATH.

Needs a GUI ;-)
SarixAug 8, 2008 6:40 PM
Aug 9, 2008 4:19 AM
#3

Offline
Apr 2007
68
the helper scripts are referred to like that so I don't need to know where its installed.
I've actually just moved the files in my svn to a sub directory so from now on I'll just tar up that.

gui - not gonna happen. I have thought about doing plugins so that you can write a gui and my script can send data to it or various other things.

WAITTIME I actually wonder if its possible to do something like WAITTIME=1m so you can pick your own.
Aug 9, 2008 5:14 AM
#4
Offline
May 2007
670
smileaf said:
the helper scripts are referred to like that so I don't need to know where its installed.


You can work out the directory that the scripts are located in by checking the filename of the executing script. Dunno what the Bash code to do that is though.
Aug 9, 2008 4:15 PM
#5

Offline
Jun 2007
890
Sometimes people put titles of the episode in the file name, which seems to confuse the perl script and make it not recognize the anime. Though, I cannot think of a good way to overcome this.

To take an example:
[AHQ] Rurouni Kenshin - 66 - Kaoru Ecstatic.ogm

This is not found by the script.

Maybe this file names could somehow get parsed more than once, searching for each word and see if there is any hit on it. Though it will give some other problems. I really dunno, how to solve this?
Aug 9, 2008 7:55 PM
#6
Offline
May 2007
670
Check the filename for a CRC, if one doesn't exist activate a very nice CRC check then search the CRC on AniDB to get the file data. ^_^
Aug 10, 2008 3:28 AM
#7

Offline
Apr 2007
68
that file name should be recognized. unless the title of the ep is confusing it.
something like
Rurouni Kenshin/[AHQ] 66 - Kaoru Ecstatic.ogm
that would make it not work. I think I removed the path information because it confused my script

I actually do have a script that can find out where it is:

So not too bad, could throw it into a function, another option would be to have a config option where you'd tell it where it is installed, this will most likely be used when/if I get plugin support in.

surprisingly I've never seen a CL CRC program, so I've actually written one:
http://smileaf.org/files/crc32sum-0.1.tar.bz2

As well as a script to check the crc of the file and compare it to the one in the filename.
only supports crcs in []s at the end.
Aug 12, 2008 8:29 PM
#8

Offline
Apr 2007
68
While I've not tried a real file named with a episode title in it, I have ran a test which contains one. The result is that it found the correct entry.
I ran a test using your data and it looks like it found 2 entries.
apparently the ova 2 is matching both title and alternate titles which earned it a score 5...
I've disabled alternate title searching if the main title matches which fixed it, and I've also made it do a more exact search to attempt to prevent this in the future.
Nov 27, 2008 5:24 PM
#9

Offline
Jun 2008
194
Got a bug with the path here. The scripts search for the executables one directory higher then they are (i.e. if it is at $HOME/x/y then it searches at $HOME/x only. I run the scripts from console from the directory they are in. The output is:



The program was in /home/seth/Setup/malu.
Circumvented the problem by copying everything one level higher, but that is not really elegant.. Just downloaded the thing through.. maybe I will take a closer look at it later and drop some patching at it.
Dec 2, 2008 11:02 PM
Offline
Dec 2008
3
@skriticos

I had the same problem too. Fixed it by modifying how the malhome is detected.

@ line 63 in malmonitor
#malhome=$(whereami)
malhome=`pwd`

Now, to find out why series matching does not work :/

Dec 12, 2008 7:48 AM

Offline
Apr 2007
68
I've added in a new rule to allow for: ./malmonitor for example.
Dunno why I never thought of that to start with.

xslr: can you give examples?
Dec 12, 2008 11:14 AM
Offline
Dec 2008
3
For example, i start malmonitor and get

<malmonitor-output>
malu $ ./malmonitor
MAL Monitor V0.6 by smileaf
* Using Built-in Episode updating.
Logging in.
* Fetching List
* Parsing List... done

Currently Watching:

No players detected
Unable to match a series to this file. Manual update required.
Gundam_Seed_34.DVD(H264.AAC)[KAA][D306AF66].mkv
Please report this.
</malmonitor-output>


Similar results with other animes too..

<malmonitor-output>malu $ ./malmonitor
MAL Monitor V0.6.1 by smileaf
* Using Built-in Episode updating.
Logging in.
* Fetching List
* Parsing List... done

Currently Watching:

Unable to match a series to this file. Manual update required.
[TV-Japan]_To_Aru_Majutsu_no_Index_-_04_Raw_(MBS_1920x1080_x264_AAC).mkv
Please report this.

Unable to match a series to this file. Manual update required.
[Conclave-Mendoi]_Mobile_Suit_Gundam_00_S2_-_03_[1280x720_H.264_AAC][44481F44].mkv
Please report this.
</malmonitor-output>

So, am i doing it right ?

xslrDec 12, 2008 11:34 AM
Dec 12, 2008 11:52 AM

Offline
Jul 2007
3745
You could try using the windows Mal Updater through wine, and use smileaf's monitor to send the windows one the filename so that it will update automatically.
Dec 12, 2008 8:13 PM
Offline
Dec 2008
3
@kotori
I am having window management issues running malu/windows under wine. Its probably because of wmii, my window manager. Wine is not a long term solution anyway, I would like to have it run native.

@smileaf
I did a little bit more digging. Seems like MALFiletoID.pl is not doing it's job, which results in $idEp being empty.

./MALFiletoID.pl '/home/munu//.mal/list' 'Gundam_Seed_01.DVD(H264.AAC)[KAA][DA3F75D9].mkv'

^^^ returns nothing :(

Let me know if there is anything i can do to help debug ;)
Dec 30, 2008 7:56 AM

Offline
Dec 2008
8
Same thing with [Menclave]_ef_-_a_tale_of_melodies_04_[H264][00DC971F].mkv.

@Kotori: I reported my problem with the windows MAL Updater on your forum a while ago.
Jan 8, 2009 5:31 AM

Offline
Dec 2008
8
Linux MAL Updater misdetects the current playing file if I mplayer is built with --enable-joystick:

Sending MALU#VPLAYER#js0
Jan 23, 2009 8:10 AM

Offline
Apr 2007
68
@Kovensky: no doubt thats because the joystick is another file descriptor, can you send me the output of a: ls -l /proc/[mplayer pid]/fd
need to find which number it is when that option is enabled.

@xslr: you have no entries in your list. thus your not getting any results.
smileafJan 23, 2009 8:22 AM
Dec 28, 2009 3:00 AM
Offline
Oct 2008
7
I got an error with parsing titles when the filepath had spaces in it. Putting quotations around the argument for basename on line 66 fixed this.

Just thought I'd give a heads-up, if this is still being maintained.
Dec 2, 2012 7:59 AM

Offline
Nov 2012
5
Hi, I think I found a bug in the list fetching:
wget -qO- --load-cookies="$COOKIE" "http://myanimelist.net/malappinfo.php?u=$USERNAME" > "${TLIST}"

I'm working on my own application of the same sort called Beholder and encountered same problem. Seems like official API link /malappinfo.php? by default provides only part of the list. In my case it was 47 anime titles out of ~200.

To fix this add status=all&type=anime& between ? and u=.

Fixed line:
wget -qO- --load-cookies="$COOKIE" "http://myanimelist.net/malappinfo.php?status=all&type=anime&u=$USERNAME" > "${TLIST}"
Reply Disabled for Non-Club Members

More topics from this board

» Video Players

smileaf - Aug 11, 2008

17 by Kaga_Kouko »»
Sep 1, 2013 7:00 AM

» How do i install it

YRFdez - Jun 8, 2010

1 by smileaf »»
Aug 17, 2010 9:17 PM

» Release Notes

smileaf - Aug 11, 2008

5 by smileaf »»
Mar 17, 2009 12:47 PM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login