LinuxMCE Forums
General => Developers => Topic started by: golgoj4 on October 30, 2010, 04:33:09 pm
-
Hello All,
If your interested in compiling or just checking out the code (warning - im very new to c++) it can be found @ http://gitorious.org/linuxmce-autotagger. Whenever i push it to the server, it should be able to compile and run. There is also a binary called 'autotagger' that should be ready to go stand alone.
Beta version 1.1
-Takes 2 different command line arguments:
-The path in quotes "/home/public/data/videos/test/"
-The file number of the directory. This can be located in mediaFilesSync in the webadmin. Whenever you mouse over a link to a file, it shows you the file number (as its part of the link)
Test if you have a chance on a smaller media set (or large if your brave). In my testing the biggest impact is sustained db activity over %50 while running over larger lists of files. And this is the reason its specifically NOT recursive. So wherever you direct it, files should be there and not in a subdir.
Thanks for taking the time to read and test. Hopefully this can be integrated in the near future so our media will get tagged automagically.
-golgoj4
-
Metadata can be stored either internally, in the same file as the data, or externally, in a separate file. Metadata that is embedded with content is called embedded metadata. A data repository typically stores the metadata detached from the data.
?
-
spam... :/
-
problem has been solved.
-
http://gitorious.org/linuxmce-autotagger/linuxmce-autotagger
Any brave souls are welcome to test it out.
By default it finds /home/public/videos and looks there for files.
You can direct it to another directory by entering the path , but as this is testing i recommend a small set of files.
On to updateMedia...
-golgoj4
-
If I point it at a specific directory I get this:
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger /home/public/data/videos/test
connection made!
Media Autotagger v1.1
./autotagger: symbol lookup error: ./autotagger: undefined symbol: _ZN9QListData11detach_growEPii
If I run it with no parameters I get the following output, autotagger immediately exits:
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger
connection made!
Media Autotagger v1.1
This is default scan directory: /home/public/data/videos
Got File List for Directory, Going to Work
DB Closed!
dcerouter_1013980:~/linuxmce-autotagger#
Any thoughts?
J.
-
If I point it at a specific directory I get this:
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger /home/public/data/videos/test
connection made!
Media Autotagger v1.1
./autotagger: symbol lookup error: ./autotagger: undefined symbol: _ZN9QListData11detach_growEPii
If I run it with no parameters I get the following output, autotagger immediately exits:
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger
connection made!
Media Autotagger v1.1
This is default scan directory: /home/public/data/videos
Got File List for Directory, Going to Work
DB Closed!
dcerouter_1013980:~/linuxmce-autotagger#
Any thoughts?
J.
in my late night brilliance, i failed to test it with all path types. I just noticed it chokes on certain kinds. Trying to enter my own custom path errors out on some (specifically with spaces)...do'h! Do you have any videos in /home/public/data/videos? It may immediatly exit because it doesn't find any there.
-golgoj4
-
updated it, fixed the issue. When passing command line arguments, they need to be quoted i.e. "/home/public/data/videos/Hard Drive 1 [47]/tV/BSG"
Sorry for the mistake before
-golgoj4
-
In /home/public/data/videos is the automatic LinuxMCE symlink to my Windows Share and a directory named 'test' that I've stuffed some movies and tv shows into.
If it gets to the windows share it'll find thousands of files to churn on but I don't think it followed the symlink to the windows share.
I get the exact same results with the updated version.
J.
-
In /home/public/data/videos is the automatic LinuxMCE symlink to my Windows Share and a directory named 'test' that I've stuffed some movies and tv shows into.
If it gets to the windows share it'll find thousands of files to churn on but I don't think it followed the symlink to the windows share.
I get the exact same results with the updated version.
J.
Its set to not follow symlinks because in case of lots of files, it can eat a lot of cpu while it churns through them. I know this is going to sound silly, but did you enclose the directory in quotes? "/home/public/data/videos/test"
Thanks for your time and patience in testing my 1st c++ program.
-golgoj4
-
Hey golgo,
Yes I did enclose them in quotes. There appeared to be no difference either way (unless there is a space of course). I updated to your latest git version with a 'git pull' just a few minutes ago and tried again.
With no arguments it is happy but quits immediately without going into any sub-directories (there are 2, one real and one is an lmce symlink to my NAS share), and it is correct in that there are 0 actual media files in this directory.
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger
connection made!
Media Autotagger v1.1
"/home/public/data/videos"
This is default scan directory: /home/public/data/videos
"/home/public/data/videos"
0
()
Got File List for Directory, Going to Work
DB Closed!
If I add a trailing '/' to any directory location it is 'Not Found in DB', if I do not include the trailing '/' it is happy but doesn't process any files (see above). This is the case for any directory name I provide it.
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger "/home/public/data/videos/"
connection made!
Media Autotagger v1.1
"/home/public/data/videos/"
User Path Entered: /home/public/data/videos/
/home/public/data/videos/ - Was Not Found in DB
If I point to any folder other than "/home/public/data/videos" it errors with the undefined symbol but has identified that there are 2 files in the test directory.
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger "/home/public/data/videos/test"
connection made!
Media Autotagger v1.1
"/home/public/data/videos/test"
User Path Entered: /home/public/data/videos/test
"/home/public/data/videos/test"
2
./autotagger: symbol lookup error: ./autotagger: undefined symbol: _ZN9QListData11detach_growEPii
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger "/home/public/data/videos/Windows Share-Public [32]/TV/Castle S01Part1"
connection made!
Media Autotagger v1.1
"/home/public/data/videos/Windows Share-Public [32]/TV/Castle S01Part1"
User Path Entered: /home/public/data/videos/Windows Share-Public [32]/TV/Castle S01Part1
"/home/public/data/videos/Windows Share-Public [32]/TV/Castle S01Part1"
10
./autotagger: symbol lookup error: ./autotagger: undefined symbol: _ZN9QListData11detach_growEPii
Anyways, those are my results so far. Let me know if you want me to try anything specific.
Hmm:
dcerouter_1013980:~/linuxmce-autotagger# ldd autotagger
linux-gate.so.1 => (0xb7797000)
...
I don't seem to have this lib. Likely the symbol problem. I'll have to try to locate it.
J.
-
It appears im doing something very wrong. I noticed that in that cases where it locks onto the proper directory its going dead immediately.
Did you build and run it locally with the qt sdk?
-golgoj4
-
I have been using the binary in git so far. The library is not an issue, apparently it's a special library file of some sort that doesn't have an actual file. Hmm, if I get time I'll try to build it.
J.
-
I have been using the binary in git so far. The library is not an issue, apparently it's a special library file of some sort that doesn't have an actual file. Hmm, if I get time I'll try to build it.
J.
Nah no need to, i was just wondering because someone else had a completly different error. Ill need to check further to see what im doing wrong.
-
if any experienced dev's want to jump in here...im curious as to how i should plan to deploy this? statically linked? dynamic? Im throwing these words around but I barely know what they mean. The one currently compiled is a 'shared' version i believe. Im trying to make a static version to help with testing. Is this a bad idea for any reason.
-golgoj4
-
There should be no need to build a static bin, as LinuxMCE machines have the libraries already needed.
-Thom
-
There should be no need to build a static bin, as LinuxMCE machines have the libraries already needed.
-Thom
Thanks! Ill stop barking up that tree and figure out what else is going on. thats causing these issues.
-Golgoj4
-
Hmmm, not sure what im doing wrong. Bongowongo also reported a problem with running it similar to phenigma's. The only thing i can think of is trying to see what libraries it uses and then compare them to what a standard linuxmce installation has. I did have to install some mysql dev packages to get the mysql aspect of the program working.
linux-gate.so.1 => (0xb77ae000)
libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0xb7597000)
libQtSql.so.4 => /opt/qtsdk-2010.05/qt/lib/libQtSql.so.4 (0xb7555000)
libQtXml.so.4 => /opt/qtsdk-2010.05/qt/lib/libQtXml.so.4 (0xb7509000)
libQtGui.so.4 => /opt/qtsdk-2010.05/qt/lib/libQtGui.so.4 (0xb69c3000)
libQtNetwork.so.4 => /opt/qtsdk-2010.05/qt/lib/libQtNetwork.so.4 (0xb6886000)
libQtCore.so.4 => /opt/qtsdk-2010.05/qt/lib/libQtCore.so.4 (0xb65a8000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb658f000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb64a0000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb647a000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb646b000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb630d000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb62db000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb62c2000)
libz.so.1 => /usr/lib/libz.so.1 (0xb62ab000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb62a5000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb629c000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb61e5000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb616f000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb6165000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb614d000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6143000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6116000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb6107000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb6018000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb6013000)
/lib/ld-linux.so.2 (0xb7794000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb5fe9000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb5fc2000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb5fbf000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb5fbb000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb5fa2000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb5f9d000)
So im guessing the stuff in 'opt' is whats screwing it up for others and i need to figure out where the share paths are?
--golgoj4
-
The libraries all look good, nothing showing as missing.
dcerouter_1013980:~/linuxmce-autotagger# ldd autotagger
linux-gate.so.1 => (0xb7865000)
libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15 (0xb764d000)
libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0xb7611000)
libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb75cc000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6cc9000)
libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb6bc8000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb699a000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb6981000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6893000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb686c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb685d000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb66ff000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb66cd000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb66b4000)
libz.so.1 => /usr/lib/libz.so.1 (0xb669e000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb6685000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb665f000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb6656000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb663e000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6587000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb657c000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6572000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb656b000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb64f5000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb64c8000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb64b9000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb63c9000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb63c3000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb63ba000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb63b6000)
/lib/ld-linux.so.2 (0xb784b000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb6365000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb633a000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6313000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb6310000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb630d000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb62f4000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb62ee000)
-
After much investigation, accusations, and drinking, i _think_ its because i left it in debug mode. so as soon as i piece my qt install back together, i shall try again.
golgoj4
-
ok, robo johnny 5 is alive and spitting out code again. ;D I set it to release so it should remove the debug libraries. Let me know if it works.
-golgoj4
-
Hmm, this is different, not good, but different... I am not an expert by it looks like you may be trying to free a pointer that didn't actually get allocated/assigned. Be sure you set any un-instantiated pointers to NULL when you declare them and then test that the pointer is !=NULL before freeing it. If not set to NULL, at declaration, a pointer will point to a random location in memory, attempting to free that pointer will usually have disastrous consequences.
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger.bin "/home/public/data/videos/test"
connection made!
Media Autotagger v1.1
*** glibc detected *** ./autotagger.bin: free(): invalid pointer: 0xb7796668 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb6883454]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb68854b6]
/usr/lib/libQtCore.so.4(_Z5qFreePv+0x1d)[0xb6afff2d]
/usr/lib/libQtCore.so.4(_ZN7QString4freeEPNS_4DataE+0x40)[0xb6b49b40]
./autotagger.bin[0x805080a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb682a685]
./autotagger.bin[0x804bf91]
======= Memory map: ========
08048000-08074000 r-xp 00000000 08:01 7457614 /root/linuxmce-autotagger/autotagger.bin
08074000-08075000 r--p 0002b000 08:01 7457614 /root/linuxmce-autotagger/autotagger.bin
08075000-08076000 rw-p 0002c000 08:01 7457614 /root/linuxmce-autotagger/autotagger.bin
09ec1000-09f13000 rw-p 09ec1000 00:00 0 [heap]
b58c4000-b58ce000 r-xp 00000000 08:01 5063901 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b58ce000-b58cf000 r--p 00009000 08:01 5063901 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b58cf000-b58d0000 rw-p 0000a000 08:01 5063901 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b58d0000-b58d1000 ---p b58d0000 00:00 0
b58d1000-b60d1000 rw-p b58d1000 00:00 0
b60d1000-b60e6000 r-xp 00000000 08:01 5063895 /lib/tls/i686/cmov/libnsl-2.8.90.so
b60e6000-b60e7000 r--p 00014000 08:01 5063895 /lib/tls/i686/cmov/libnsl-2.8.90.so
b60e7000-b60e8000 rw-p 00015000 08:01 5063895 /lib/tls/i686/cmov/libnsl-2.8.90.so
b60e8000-b60ea000 rw-p b60e8000 00:00 0
b60ea000-b60f3000 r-xp 00000000 08:01 5063888 /lib/tls/i686/cmov/libcrypt-2.8.90.so
b60f3000-b60f4000 r--p 00008000 08:01 5063888 /lib/tls/i686/cmov/libcrypt-2.8.90.so
b60f4000-b60f5000 rw-p 00009000 08:01 5063888 /lib/tls/i686/cmov/libcrypt-2.8.90.so
b60f5000-b611c000 rw-p b60f5000 00:00 0
b611c000-b62bd000 r-xp 00000000 08:01 3877279 /usr/lib/libmysqlclient_r.so.15.0.0
b62bd000-b62c0000 r--p 001a0000 08:01 3877279 /usr/lib/libmysqlclient_r.so.15.0.0
b62c0000-b6300000 rw-p 001a3000 08:01 3877279 /usr/lib/libmysqlclient_r.so.15.0.0
b6300000-b6302000 rw-p b6300000 00:00 0
b6318000-b6326000 r-xp 00000000 08:01 3965431 /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
b6326000-b6327000 r--p 0000d000 08:01 3965431 /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
b6327000-b6328000 rw-p 0000e000 08:01 3965431 /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
b6328000-b632a000 r-xp 00000000 08:01 745710 /usr/lib/gconv/UTF-16.so
b632a000-b632b000 r--p 00001000 08:01 745710 /usr/lib/gconv/UTF-16.so
b632b000-b632c000 rw-p 00002000 08:01 745710 /usr/lib/gconv/UTF-16.so
b632c000-b636b000 r--p 00000000 08:01 3916455 /usr/lib/locale/en_CA.utf8/LC_CTYPE
b636b000-b644c000 r--p 00000000 08:01 3916696 /usr/lib/locale/en_CA.utf8/LC_COLLATE
b644c000-b644f000 rw-p b644c000 00:00 0
b644f000-b6453000 r-xp 00000000 08:01 3876384 /usr/lib/libXdmcp.so.6.0.0
b6453000-b6454000 rw-p 00003000 08:01 3876384 /usr/lib/libXdmcp.so.6.0.0
b6454000-b646b000 r-xp 00000000 08:01 3877617 /usr/lib/libxcb.so.1.0.0
b646b000-b646c000 r--p 00016000 08:01 3877617 /usr/lib/libxcb.so.1.0.0
b646c000-b646d000 rw-p 00017000 08:01 3877617 /usr/lib/libxcb.so.1.0.0
b646d000-b646e000 r-xp 00000000 08:01 3877613 /usr/lib/libxcb-xlib.so.0.0.0
b646e000-b646f000 r--p 00000000 08:01 3877613 /usr/lib/libxcb-xlib.so.0.0.0
b646f000-b6470000 rw-p 00001000 08:01 3877613 /usr/lib/libxcb-xlib.so.0.0.0
b6470000-b6471000 rw-p b6470000 00:00 0
b6471000-b6473000 r-xp 00000000 08:01 3876373 /usr/lib/libXau.so.6.0.0
b6473000-b6474000 rw-p 00001000 08:01 3876373 /usr/lib/libXau.so.6.0.0
b6474000-b6498000 r-xp 00000000 08:01 3876640 /usr/lib/libexpat.so.1.5.2
b6498000-b649a000 r--p 00023000 08:01 3876640 /usr/lib/libexpat.so.1.5.2
b649a000-b649b000 rw-p 00025000 08:01 3876640 /usr/lib/libexpat.so.1.5.2
b649b000-b64c3000 r-xp 00000000 08:01 5030001 /lib/libpcre.so.3.12.1
b64c3000-b64c4000 r--p 00027000 08:01 5030001 /lib/libpcre.so.3.12.1
b64c4000-b64c5000 rw-p 00028000 08:01 5030001 /lib/libpcre.so.3.12.1
b64c5000-b6512000 r-xp 00000000 08:01 3876412 /usr/lib/libXt.so.6.0.0
b6512000-b6516000 rw-p 0004c000 08:01 3876412 /usr/lib/libXt.so.6.0.0
b6516000-b6518000 r-xp 00000000 08:01 5063890 /lib/tls/i686/cmov/libdl-2.8.90.so
b6518000-b6519000 r--p 00001000 08:01 5063890 /lib/tls/i686/cmov/libdl-2.8.90.so
b6519000-b651a000 rw-p 00002000 08:01 5063890 /lib/tls/i686/cmov/libdl-2.8.90.so
b651a000-b651b000 rw-p b651a000 00:00 0
b651b000-b6522000 r-xp 00000000 08:01 5063914 /lib/tls/i686/cmov/librt-2.8.90.so
b6522000-b6523000 r--p 00007000 08:01 5063914 /lib/tls/i686/cmov/librt-2.8.90.so
b6523000-b6524000 rw-p 00008000 08:01 5063914 /lib/tls/i686/cmov/librt-2.8.90.so
b6524000-b6528000 r-xp 00000000 08:01 3876803 /usr/lib/libgthread-2.0.so.0.1800.2
b6528000-b6529000 r--p 00003000 08:01 3876803 /usr/lib/libgthread-2.0.so.0.1800.2
b6529000-b652a000 rw-p 00004000 08:01 3876803 /usr/lib/libgthread-2.0.so.0.1800.2
b652a000-b6615000 r-xp 00000000 08:01 3876368 /usr/lib/libX11.so.6.2.0
b6615000-b6616000 r--p 000ea000 08:01 3876368 /usr/lib/libX11.so.6.2.0
b6616000-b6618000 rw-p 000eb000 08:01 3876368 /usr/lib/libX11.so.6.2.0
b6618000-b6619000 rw-p b6618000 00:00 0
b6619000-b6626000 r-xp 00000000 08:01 3876386 /usr/lib/libXext.so.6.4.0
b6626000-b6628000 rw-p 0000c000 08:01 3876386 /usr/lib/libXext.so.6.4.0
b6628000-b6653000 r-xp 00000000 08:01 3876664 /usr/lib/libfontconfig.so.1.3.0
b6653000-b6654000 r--p 0002a000 08:01 3876664 /usr/lib/libfontconfig.so.1.3.0
b6654000-b6655000 rw-p 0002b000 08:01 3876664 /usr/lib/libfontconfig.so.1.3.0
b6655000-b6656000 rw-p b6655000 00:00 0
b6656000-b66c7000 r-xp 00000000 08:01 3876674 /usr/lib/libfreetype.so.6.3.18
b66c7000-b66cb000 r--p 00070000 08:01 3876674 /usr/lib/libfreetype.so.6.3.18
b66cb000-b66cc000 rw-p 00074000 08:01 3876674 /usr/lib/libfreetype.so.6.3.18
b66cc000-b66d1000 r-xp 00000000 08:01 3876406 /usr/lib/libXrandr.so.2.1.0
b66d1000-b66d2000 r--p 00005000 08:01 3876406 /usr/lib/libXrandr.so.2.1.0
b66d2000-b66d3000 rw-p 00006000 08:01 3876406 /usr/lib/libXrandr.so.2.1.0
b66d3000-b66db000 r-xp 00000000 08:01 3876408 /usr/lib/libXrender.so.1.3.0
b66db000-b66dc000 r--p 00007000 08:01 3876408 /usr/lib/libXrender.so.1.3.0
b66dc000-b66dd000 rw-p 00008000 08:01 3876408 /usr/lib/libXrender.so.1.3.0
b66dd000-b66e5000 r-xp 00000000 08:01 3876394 /usr/lib/libXi.so.6.0.0
b66e5000-b66e6000 r--p 00007000 08:01 3876394 /usr/lib/libXi.so.6.0.0
b66e6000-b66e7000 rw-p 00008000 08:01 3876394 /usr/lib/libXi.so.6.0.0
b66e7000-b679c000 r-xp 00000000 08:01 3876711 /usr/lib/libglib-2.0.so.0.1800.2
b679c000-b679d000 r--p 000b4000 08:01 3876711 /usr/lib/libglib-2.0.so.0.1800.2
b679d000-b679e000 rw-p 000b5000 08:01 3876711 /usr/lib/libglib-2.0.so.0.1800.2
b679e000-b67b2000 r-xp 00000000 08:01 3877633 /usr/lib/libz.so.1.2.3.3
b67b2000-b67b4000 rw-p 00013000 08:01 3877633 /usr/lib/libz.so.1.2.3.3
b67b4000-b67b5000 rw-p b67b4000 00:00 0
b67b5000-b67ca000 r-xp 00000000 08:01 3876293 /usr/lib/libICE.so.6.3.0
b67ca000-b67cb000 rw-p 00014000 08:01 3876293 /usr/lib/libICE.so.6.3.0
b67cb000-b67cd000 rw-p b67cb000 00:00 0
b67cd000-b67d4000 r-xp 00000000 08:01 3876364 /usr/lib/libSM.so.6.0.0
b67d4000-b67d5000 r--p 00006000 08:01 3876364 /usr/lib/libSM.so.6.0.0
b67d5000-b67d6000 rw-p 00007000 08:01 3876364 /usr/lib/libSM.so.6.0.0
b67d6000-b67fa000 r-xp 00000000 08:01 3877390 /usr/lib/libpng12.so.0.27.0
b67fa000-b67fb000 r--p 00023000 08:01 3877390 /usr/lib/libpng12.so.0.27.0
b67fb000-b67fc000 rw-p 00024000 08:01 3877390 /usr/lib/libpng12.so.0.27.0
b67fc000-b6812000 r-xp 00000000 08:01 3876497 /usr/lib/libaudio.so.2.4
b6812000-b6813000 r--p 00015000 08:01 3876497 /usr/lib/libaudio.so.2.4
b6813000-b6814000 rw-p 00016000 08:01 3876497 /usr/lib/libaudio.so.2.4
b6814000-b696c000 r-xp 00000000 08:01 5063884 /lib/tls/i686/cmov/libc-2.8.90.so
b696c000-b696e000 r--p 00158000 08:01 5063884 /lib/tls/i686/cmov/libc-2.8.90.so
b696e000-b696f000 rw-p 0015a000 08:01 5063884 /lib/tls/i686/cmov/libc-2.8.90.so
b696f000-b6972000 rw-p b696f000 00:00 0
b6972000-b697f000 r-xp 00000000 08:01 5029950 /lib/libgcc_s.so.1
b697f000-b6980000 r--p 0000c000 08:01 5029950 /lib/libgcc_s.so.1
b6980000-b6981000 rw-p 0000d000 08:01 5029950 /lib/libgcc_s.so.1
b6981000-b6982000 rw-p b6981000 00:00 0
b6982000-b69a6000 r-xp 00000000 08:01 5063892 /lib/tls/i686/cmov/libm-2.8.90.so
b69a6000-b69a7000 r--p 00023000 08:01 5063892 /lib/tls/i686/cmov/libm-2.8.90.so
b69a7000-b69a8000 rw-p 00024000 08:01 5063892 /lib/tls/i686/cmov/libm-2.8.90.so
b69a8000-b6a8b000 r-xp 00000000 08:01 3877509 /usr/lib/libstdc++.so.6.0.10
b6a8b000-b6a8f000 r--p 000e3000 08:01 3877509 /usr/lib/libstdc++.so.6.0.10
b6a8f000-b6a90000 rw-p 000e7000 08:01 3877509 /usr/lib/libstdc++.so.6.0.10
b6a90000-b6a96000 rw-p b6a90000 00:00 0
b6a96000-b6aab000 r-xp 00000000 08:01 5063910 /lib/tls/i686/cmov/libpthread-2.8.90.so
b6aab000-b6aac000 r--p 00014000 08:01 5063910 /lib/tls/i686/cmov/libpthread-2.8.90.so
b6aac000-b6aad000 rw-p 00015000 08:01 5063910 /lib/tls/i686/cmov/libpthread-2.8.90.so
b6aad000-b6aaf000 rw-p b6aad000 00:00 0
b6aaf000-b6cd4000 r-xp 00000000 08:01 3876318 /usr/lib/libQtCore.so.4.4.3
b6cd4000-b6cda000 r--p 00224000 08:01 3876318 /usr/lib/libQtCore.so.4.4.3
b6cda000-b6cdc000 rw-p 0022a000 08:01 3876318 /usr/lib/libQtCore.so.4.4.3
b6cdc000-b6cdd000 rw-p b6cdc000 00:00 0
b6cdd000-b6dd9000 r-xp 00000000 08:01 3876336 /usr/lib/libQtNetwork.so.4.4.3
b6dd9000-b6ddc000 r--p 000fb000 08:01 3876336 /usr/lib/libQtNetwork.so.4.4.3
b6ddc000-b6ddd000 rw-p 000fe000 08:01 3876336 /usr/lib/libQtNetwork.so.4.4.3
b6ddd000-b6dde000 rw-p b6ddd000 00:00 0
b6dde000-b76bb000 r-xp 00000000 08:01 3876330 /usr/lib/libQtGui.so.4.4.3
b76bb000-b76d8000 r--p 008dd000 08:01 3876330 /usr/lib/libQtGui.so.4.4.3
b76d8000-b76df000 rw-p 008fa000 08:01 3876330 /usr/lib/libQtGui.so.4.4.3
b76df000-b76e2000 rw-p b76df000 00:00 0
b76e2000-b7724000 r-xp 00000000 08:01 3876357 /usr/lib/libQtXml.so.4.4.3
b7724000-b7725000 r--p 00041000 08:01 3876357 /usr/lib/libQtXml.so.4.4.3
b7725000-b7726000 rw-p 00042000 08:01 3876357 /usr/lib/libQtXml.so.4.4.3
b7726000-b7760000 r-xp 00000000 08:01 3876345 /usr/lib/libQtSql.so.4.4.3
b7760000-b7761000 r--p 00039000 08:01 3876345 /usr/lib/libQtSql.so.4.4.3
b7761000-b7762000 rw-p 0003a000 08:01 3876345 /usr/lib/libQtSql.so.4.4.3
b7766000-b7767000 rw-p b7766000 00:00 0
b7767000-b7768000 r--p 00000000 08:01 3916460 /usr/lib/locale/en_CA.utf8/LC_NUMERIC
b7768000-b7769000 r--p 00000000 08:01 3916313 /usr/lib/locale/en_CA.utf8/LC_TIME
b7769000-b776a000 r--p 00000000 08:01 3916307 /usr/lib/locale/en_CA.utf8/LC_MONETARY
b776a000-b776b000 r--p 00000000 08:01 3916311 /usr/lib/locale/en_CA.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b776b000-b776c000 r--p 00000000 08:01 3916439 /usr/lib/locale/en_CA.utf8/LC_PAPER
b776c000-b776d000 r--p 00000000 08:01 3916459 /usr/lib/locale/en_CA.utf8/LC_NAME
b776d000-b776e000 r--p 00000000 08:01 3916306 /usr/lib/locale/en_CA.utf8/LC_ADDRESS
b776e000-b776f000 r--p 00000000 08:01 3916704 /usr/lib/locale/en_CA.utf8/LC_TELEPHONE
b776f000-b7770000 r--p 00000000 08:01 3916457 /usr/lib/locale/en_CA.utf8/LC_MEASUREMENT
b7770000-b7777000 r--s 00000000 08:01 745715 /usr/lib/gconv/gconv-modules.cache
b7777000-b7778000 r--p 00000000 08:01 3916309 /usr/lib/locale/en_CA.utf8/LC_IDENTIFICATION
b7778000-b777a000 rw-p b7778000 00:00 0
b777a000-b7794000 r-xp 00000000 08:01 5029907 /lib/ld-2.8.90.so
b7794000-b7795000 r-xp b7794000 00:00 0 [vdso]
b7795000-b7796000 r--p 0001a000 08:01 5029907 /lib/ld-2.8.90.so
b7796000-b7797000 rw-p 0001b000 08:01 5029907 /lib/ld-2.8.90.so
bfb89000-bfb9e000 rw-p bffeb000 00:00 0 [stack]
Aborted (core dumped)
dcerouter_1013980:~/linuxmce-autotagger#
J.
-
ok, ive gone through and looked. There were a couple declarations that were as you said :-\ Corrected those and also fixed a mistake in there for zapping trailing slashes. Thx for that coley.
Also, how could i try and reproduce these errors on my end. I hate no pushing out something functional and would prefer to only bug you guys with a working prototype (which i thought it was)
-Golgoj4
-
Hey golgoj4,
Thought i'd give this a go too. Just d/loaded and I get the same error as listed at the start of this thread (no arguments).
Does the URL (http://gitorious.org/linuxmce-autotagger/linuxmce-autotagger) have the updated code?
Output:
@dcerouter:/home/public/data/linuxmce-autotagger$ sudo ./autotagger
connection made!
Media Autotagger v1.1
"/home/public/data/videos"
This is default scan directory: /home/public/data/videos
"/home/public/data/videos"
19
./autotagger: symbol lookup error: ./autotagger: undefined symbol: _ZN9QListData11detach_growEPii
It got the number of files correct (19) :)
Cheers,
WR
-
I figured you were trying to nuke the trailing slash but wanted to be sure, have you pushed the update to gitorious?.
-Coley.
-
I figured you were trying to nuke the trailing slash but wanted to be sure, have you pushed the update to gitorious?.
-Coley.
Yep its been pushed along with some (tested) updated to the image grabbing parts to add additional images like backdrops.
-golgoj4
Wombiroller, thanks for taking the time. I still have yet to determine what it is as i cant seem to reproduce it here. I've made another update, hopefully this gets worked out soon. Wasnt expecting to be on this part of testing so long.
-golgoj4
-
5 minutes later, i come across a google post pointing out that its likely a shared library problem. and sure enough when i run ldd ./autotagger the LD_LIBRARY paths point to the libraries that come with the sdk in /opt/ and not usr/lib. so ill figure that out hopefully and we can be up and running(?)
added some code that i believe should include usr/lib. Let me know :)
-golgoj4.
-
No worries, thanks for coding! ;) Let me know when you want more testing.. Could be a very handy tool once done.
p.s - Not sure if you wanted me to retest as well, but just in case i did (just got another copy) - but same error.
-
So while i figure out how to make this use the libs from /usr/lib, youll need the sdk to compile and run it. Supposedly one can build the shared lib version manually, and ive tried to no success as it always dies when trying to link certain qt libs.
-golgoj4
-
Annnnnnnd feel free to try again. Finally got the libraries to link against the proper ones. Lets see how this goes. Slowly I learn all the stuff dev's have to go through. man!
golgoj4
-
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger.bin "/home/public/data/videos/test"
connection made!
Media Autotagger v1.1
User Path Entered: /home/public/data/videos/test
./autotagger.bin: symbol lookup error: ./autotagger.bin: undefined symbol: _ZN9QListData11detach_growEPii
Fresh git pull. Still have the symbol error.
J.
-
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger.bin "/home/public/data/videos/test"
connection made!
Media Autotagger v1.1
User Path Entered: /home/public/data/videos/test
./autotagger.bin: symbol lookup error: ./autotagger.bin: undefined symbol: _ZN9QListData11detach_growEPii
Fresh git pull. Still have the symbol error.
J.
Yeah because i made a dumbass update with out checking my work. I just fixed it. I suspect if you ldd what you got there the qtlibs point to /opt/. I Just figured out how to set it specifically to the shared version but I need to explicitly set it to that every time i open up qt creator (which i didnt know). Literally caught and fixed it 5 min before this post.
And sorry for being so sloppy about this. still trying to develop my own internal process.
-golgoj4
-
Fresh git pull a minute ago and I've got action...
Found the items in my test folder, tagged them and grabbed graphics. These were movies. I'm going to try some television and movie folders later on to see what happens.
J.
-
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger.bin /home/public/data/videos/Windows\ Share-Public\ \[32\]/TV/Castle\ S01Part1/
connection made!
Media Autotagger v1.1
User Path Entered: /home/public/data/videos/Windows Share-Public [32]/TV/Castle S01Part1
No Subdirectories
Found 10 File(s) and 0 SubDirectories
============================| New File |==============================
.....................Scanned:Castle 01x02 - Nanny McDead.avi
....................PK_File: 44693
------------------Identifying Data-----------------
-------Movie Filter Hits:: |
-------Tv Filter Hits:: 0
------------------TVDB.com Filter--------------
Name=Castle
Guessed Season: 1...Guessed Episode Number: 1
initiating request
got response, reading.
Extended Data for: Castle--Season:1|| Episode: 1
Wrote Data for:Castle
procesing zip files
Deleted xml Zip File
1
Opened Banners File, setting content....Now Searching for images...Found the Episode!
|====Attributes===|
Show: Castle, Season: 1, Episode Number: 1
Episode: Tower Of London And Dover Castle |-----| Director:
Regular Performers: ||
Guest Stars:
Synopsis:
IMDB: tt0407372 == Rating:
Program ID:|| Show ID: 1477761
Genre(s):
Tv Network: Channel 4
Dvd Info========
Dvd seaon:, Dvd Episode: , Dvd Chapter:
Dvd Disc ID:
|======End========|
-----------------------------Mysql Interaction-------------------
Done! New AttributeID = 34198|| Now for file...Done! New AttributeID = 34199|| Now for file...Done! New AttributeID = 34200|| Now for file...Done! New AttributeID = 34201|| Now for file...Done! New AttributeID = 34202|| Now for file...Done! New AttributeID = 34203|| Now for file...Done! New AttributeID = 34204|| Now for file...Done! New AttributeID = 34205|| Now for file.......done!
Getting Pic for file
file picture processing
No Image here, stopping pre-insert!
Attribute of Picture will be saved: http://www.thetvdb.com/banners/graphical/82607-g.jpg
Getting Pic
---picture processing
wrote picture file data.inserted into picture_table..insert id:23962
Copied to /mediapics...23962.jpg
Thumb created..
inserted into picture_Attribute..
Segmentation fault (core dumped)
Some issues with IDing the episode (gets picked up as 1 instead of 2) and a seg fault...
J.
-
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger.bin /home/public/data/videos/Windows\ Share-Public\ \[32\]/TV/Castle\ S01Part1/
connection made!
Media Autotagger v1.1
User Path Entered: /home/public/data/videos/Windows Share-Public [32]/TV/Castle S01Part1
No Subdirectories
Found 10 File(s) and 0 SubDirectories
============================| New File |==============================
.....................Scanned:Castle 01x02 - Nanny McDead.avi
....................PK_File: 44693
------------------Identifying Data-----------------
-------Movie Filter Hits:: |
-------Tv Filter Hits:: 0
------------------TVDB.com Filter--------------
Name=Castle
Guessed Season: 1...Guessed Episode Number: 1
initiating request
got response, reading.
Extended Data for: Castle--Season:1|| Episode: 1
Wrote Data for:Castle
procesing zip files
Deleted xml Zip File
1
Opened Banners File, setting content....Now Searching for images...Found the Episode!
|====Attributes===|
Show: Castle, Season: 1, Episode Number: 1
Episode: Tower Of London And Dover Castle |-----| Director:
Regular Performers: ||
Guest Stars:
Synopsis:
IMDB: tt0407372 == Rating:
Program ID:|| Show ID: 1477761
Genre(s):
Tv Network: Channel 4
Dvd Info========
Dvd seaon:, Dvd Episode: , Dvd Chapter:
Dvd Disc ID:
|======End========|
-----------------------------Mysql Interaction-------------------
Done! New AttributeID = 34198|| Now for file...Done! New AttributeID = 34199|| Now for file...Done! New AttributeID = 34200|| Now for file...Done! New AttributeID = 34201|| Now for file...Done! New AttributeID = 34202|| Now for file...Done! New AttributeID = 34203|| Now for file...Done! New AttributeID = 34204|| Now for file...Done! New AttributeID = 34205|| Now for file.......done!
Getting Pic for file
file picture processing
No Image here, stopping pre-insert!
Attribute of Picture will be saved: http://www.thetvdb.com/banners/graphical/82607-g.jpg
Getting Pic
---picture processing
wrote picture file data.inserted into picture_table..insert id:23962
Copied to /mediapics...23962.jpg
Thumb created..
inserted into picture_Attribute..
Segmentation fault (core dumped)
Some issues with IDing the episode (gets picked up as 1 instead of 2) and a seg fault...
J.
Thank You for posting the output, im going to investigate this right away.
-golgoj4
-
Ive made another update to correct both issues as well as another bug is a struct blah blah blah. The segfault was more than likely due to bad error checking on my part with null images for tv shows. The Episode detection issue was related to having a typo in the regex that is as long as my arm ;)
Thanks again and let me know where to send the beer.
-Golgoj4
-
Alright, this time it scanned through each of the episodes but has guessed the episode # to be #1 for each of the 10 episodes in that folder. The graphic it grabbed for 'Castle' was of a castle and not associated with the show. :) I can post (or pastebin) output if you'd like.
current filenames:
Castle 01x01 - Flowers for Your Grave.avi
...
Castle 01x10 - A Death in the Family.avi
It worked great on these type of episode names:
Chuck.S02E12.Chuck.Versus.the.Third.Dimension.HDTV.avi
Buffy - 6x07 - Once More With Feeling.avi
J.
-
Alright, this time it scanned through each of the episodes but has guessed the episode # to be #1 for each of the 10 episodes in that folder. The graphic it grabbed for 'Castle' was of a castle and not associated with the show. :) I can post (or pastebin) output if you'd like.
current filenames:
Castle 01x01 - Flowers for Your Grave.avi
...
Castle 01x10 - A Death in the Family.avi
It worked great on these type of episode names:
Chuck.S02E12.Chuck.Versus.the.Third.Dimension.HDTV.avi
Buffy - 6x07 - Once More With Feeling.avi
J.
Thanks for letting me know so soon! On it being the wrong series, this is commonly a problem with tv series that share the same name but are produced years apart. I would imagine people will run into the same problem with V or Battlestar Galactica and I would really like some input on this quandry.
Possible solutions are:
A. Make it use the most recent series under that name
B. If it finds too many, skip
C. Append the year (2009) in this case to the title.
Option C isnt a good an option because it removes the 'auto' part from the tagging. So i shall have to think about it. Though this is the current work around to this problem.
As far as the detection, i just need to get my regexp right.
-Golgoj4
-
Your welcome. I've run about 1500 movies through it and it has found about 90% of them. The remaining movies probably just need to be re-named a little. I've seen a few mis-matches but adding a year to the file's name may fix them up. Really great so far!
J.
-
Your welcome. I've run about 1500 movies through it and it has found about 90% of them. The remaining movies probably just need to be re-named a little. I've seen a few mis-matches but adding a year to the file's name may fix them up. Really great so far!
J.
Thanks :)
Im still trying to improve the detection part though.
-golgoj4
-
golgoj4, you're a star. Works a treat for me too! have not tried it out on most of my media because it was already tagged, but with the exception of my documentaries folder (which didn't match of the 100 or so files for obvious reasons) I seem to get about a 90% success rate the rest. No more errors. Is there anything specific you want me to test on?
-
golgoj4, you're a star. Works a treat for me too! have not tried it out on most of my media because it was already tagged, but with the exception of my documentaries folder (which didn't match of the 100 or so files for obvious reasons) I seem to get about a 90% success rate the rest. No more errors. Is there anything specific you want me to test on?
Thanks for the vote of confidence :)
At the moment im tweaking some of the innner workings like
-Discovered a bug that doesn't delete the xml zip files properly
-Detecting if files are in a folder with the name of the show.
-Improving some db calls, adding more error checking
-Fix the zip download function
so a couple things left to finish before i try to daemonize it.
I would however like you to check something for me. On any UI1 orbiter, check the sort filters and see if you have one called 'program'. This should now sort tv shows based on tv program. Some awesome person added it, making wading through tv shows a lot easier. Some note on this:
-It doesnt seem to show under UI2
-Because it didn't exist before, most tv shows will not show up under this filter yet. The reason for this is because information was put in the best available slot to provide the most information on screen. So now, that we have a 'program' I can utilize attrubuteType 12 (program) as a useful field. Long story short, it wont hurt to re-run this auto-tagging script over the existing directories
-Going to be looking at some sort of web-admin addition to 'clean' files en masse, allowing for faster tag cleanup in the case of a lot of mis-identifications. Also, the code in the webadmin needs to be changed to reflect the new addition of sort options.
Im sure there is stuff im missing but I wanted to let you know whats on the list of things to do right away.
-golgoj4
-
You're doing a fine job! As wombiroller asked: is there anything specific you would like tested? I'll probably drop & re-create my pluto_media database in the near future to do some other testing so I'll give it a good workout then as well.
J.
-
You're doing a fine job! As wombiroller asked: is there anything specific you would like tested? I'll probably drop & re-create my pluto_media database in the near future to do some other testing so I'll give it a good workout then as well.
J.
Thanks :)
No at the moment. One of the major things I left off of the list was how to detect old series vs new ones. The only thing i can come up with requires user interaction, and thats not really viable. Dare i say a pop-up on screen that asks the user? Not sure yet but im turning this over and over in my head.
Also, if you have a ui1 orbiter i would love to know if the 'program' sort option is there for you and if you have ui2 anywhere, does it exists there too. Right now i only seem to have it on my ui1 orbiters.
-Golgoj4
-
I would however like you to check something for me. On any UI1 orbiter, check the sort filters and see if you have one called 'program'. This should now sort tv shows based on tv program. Some awesome person added it, making wading through tv shows a lot easier. Some note on this:
Hmmm I tried full orbiter regens, but I only have:
Recently Used
Filename
Title
Performer
Genre
Director
I have updated from the Update 2010-10-13 23333 but not the Update 2010-11-01 23388 as I have not got around to fixing the source.list yet.
How long has the program sort been there for?
-
I would however like you to check something for me. On any UI1 orbiter, check the sort filters and see if you have one called 'program'. This should now sort tv shows based on tv program. Some awesome person added it, making wading through tv shows a lot easier. Some note on this:
Hmmm I tried full orbiter regens, but I only have:
Recently Used
Filename
Title
Performer
Genre
Director
I have updated from the Update 2010-10-13 23333 but not the Update 2010-11-01 23388 as I have not got around to fixing the source.list yet.
How long has the program sort been there for?
Very recent. Maybe its a result of all my pleading in the forums ;)
. New build. Still cant reliably identify new tv shows with the year appended. If any regular expression pros want to jump in, im all ears.
-golgoj4
-
I just did the latest update... Still no Program filter ???
-
I just did the latest update... Still no Program filter ???
Guessing you did a full reload and regen as well? Also, small update that hopefully improves old and new series (of the same name) differences. Also added in the ability to tag a single file (because who wants to have to rescan the entire directory for 1 file?) Also fixed the .zip file download function and added in a timer so that at least a day passes before it request fresh xml data.
Also i'd like some opinions on my planned integration approach. Which now that I have a prototype is to
-daemonize it so that it runs independent of update media so update media doesn't become coupled in some manner to network availability.
-add code to call it from update media where conditions are met, i.e. media type is 5 and optionally NOT subtype home videos for example. this would allow users to utilize existing linuxmce functionality to exclude certain files the user specifies so linuxmce doesn't overwrite those tags. This also makes locating and tagging the proper file more accurate as we utilize a file that we know linuxmce has a file number for.
-???
-enjoy
Thoughts?
down the line i imagine the same code or some slight variant could be utilized for providing on screen tagging. but thats down the line.
-golgoj4
-
golgoj4
When deciding whether to run your autotagger as a daemon or standalone or even hook it into updateMedia you'll need to watch permissions on /var/tmp. If the web interface tries to tag tv series it creates directories with user:group of www-data. If autotagger is run subsequently to the web interface it fails creating files in the <seriesID> directory due to incorrect user and group permissions. Unless of course its run as root :)
-Coley.
-
golgoj4
When deciding whether to run your autotagger as a daemon or standalone or even hook it into updateMedia you'll need to watch permissions on /var/tmp. If the web interface tries to tag tv series it creates directories with user:group of www-data. If autotagger is run subsequently to the web interface it fails creating files in the <seriesID> directory due to incorrect user and group permissions. Unless of course its run as root :)
-Coley.
Thank you for pointing that out! It had not even crossed my mind.
-Golgoj4