Re: [Freevo-users] A problem with imdb and the movie 300

2007-07-31 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Bloch wrote:
> Ok, and one more thing.
> If I call the file { 300 (2006).avi }
> and then trying within freevo to search for imdb info, it still can't
> find nothing.
> 
> although as we can see if I do:
> 
> freevo imdb -s "300 (2006).avi"
> from the command line, it works.
> so I guess it's a bug with freevo itself?
> 
> On 7/31/07, *Evan Hisey* < [EMAIL PROTECTED] >
> wrote:
> 
> Mark-
>   That looks like a glitch in the way 300 was put in to the imdb
> database.
> Evan
> 
> On 7/31/07, Mark Bloch <[EMAIL PROTECTED]
> > wrote:
> > I can't seem to get imdb info about 300.
> > I have the most recent version of fxdimdb.py.
> > in order to see what happens try:
> > freevo imdb -s 300
> >
> > btw; if you try:
> >
> > freevo imdb -s "300 (2006)"
> >
> > every thing seems to be fine.
> >
> > any thoughts about the subject?

A quick kook at the code and my guess is that the problem is with the
default settings for IMDB_REMOVE_FROM_NAME which may need changing from
the default. Which will strip leading numbers from the name and in this
case leave you with an empty string.

You can set these in local_conf.py:

# list of regexp to be ignored on a disc label
IMDB_REMOVE_FROM_LABEL = ('season[\._ -][0-9]+', 'disc[\._ -][0-9]+',

'd[\._ -][0-9]+', 'german')

# list of regexp to be ignored on a filename
IMDB_REMOVE_FROM_NAME = ['^[0-9_]+']

# list of words to ignore when searching based on a filename
IMDB_REMOVE_FROM_SEARCHSTRING = ('the', 'a')

The idea is to strip the date from TV_RECORDFILE_MASK by default it is:
'%%m-%%d %%H.%%M %(progname)s - %(title)s' but the default
IMDB_REMOVE_FROM_NAME looks a bit wrong for the mask.

You can change it in you local_conf.py to:
IMDB_REMOVE_FROM_NAME = ['']

Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGr6AANi6l+Xvys44RAkklAJsEq+301pGfLAnOadELXHQ+Z+PorQCfUkph
Hne87s1BkPGE9KSFjvXaUiQ=
=WUBL
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] A problem with imdb and the movie 300

2007-07-31 Thread Duncan Webb
Mark Bloch wrote:
> Ok, and one more thing.
> If I call the file { 300 (2006).avi }
> and then trying within freevo to search for imdb info, it still can't
> find nothing.
> 
> although as we can see if I do:
> 
> freevo imdb -s "300 (2006).avi"
> from the command line, it works.
> so I guess it's a bug with freevo itself?

It is a bug :( numbers are being removed from the search list too.

BTW the imdb guess option is what freevo uses for a search.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] A problem with imdb and the movie 300

2007-07-31 Thread Mark Bloch
Ok, and one more thing.
If I call the file { 300 (2006).avi }
and then trying within freevo to search for imdb info, it still can't find
nothing.

although as we can see if I do:

freevo imdb -s "300 (2006).avi"
from the command line, it works.
so I guess it's a bug with freevo itself?

On 7/31/07, Evan Hisey < [EMAIL PROTECTED]> wrote:
>
> Mark-
>   That looks like a glitch in the way 300 was put in to the imdb database.
>
> Evan
>
> On 7/31/07, Mark Bloch <[EMAIL PROTECTED]> wrote:
> > I can't seem to get imdb info about 300.
> > I have the most recent version of fxdimdb.py.
> > in order to see what happens try:
> > freevo imdb -s 300
> >
> > btw; if you try:
> >
> > freevo imdb -s "300 (2006)"
> >
> > every thing seems to be fine.
> >
> > any thoughts about the subject?
> >
> >
> -
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > ___
> > Freevo-users mailing list
> > Freevo-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/freevo-users
> >
> >
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>   http://get.splunk.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] A problem with imdb and the movie 300

2007-07-31 Thread Evan Hisey
Mark-
  That looks like a glitch in the way 300 was put in to the imdb database.
Evan

On 7/31/07, Mark Bloch <[EMAIL PROTECTED]> wrote:
> I can't seem to get imdb info about 300.
> I have the most recent version of fxdimdb.py.
> in order to see what happens try:
> freevo imdb -s 300
>
> btw; if you try:
>
> freevo imdb -s "300 (2006)"
>
> every thing seems to be fine.
>
> any thoughts about the subject?
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] A problem with imdb and the movie 300

2007-07-31 Thread Mark Bloch
I can't seem to get imdb info about 300.
I have the most recent version of fxdimdb.py.
in order to see what happens try:
freevo imdb -s 300

btw; if you try:

freevo imdb -s "300 (2006)"

every thing seems to be fine.

any thoughts about the subject?
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users