what's wrong with my naming convention?
#16
Well, that's worthelss because it would require me to manually rename files every day. The whole idea is seemless integration. Automation. I'll wait for the developers to fix it.
Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#17
Howabout a check for spaces in the File Name before replacing all periods with spaces?
Code:
if ( ! FileName.Contains(" ") ) {
    doRemovePeriodsFromFilename(FileName);
}

Would that work?
Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#18
I'm trying to get around

Code:
if ( ! FileName.Contains("Tosh") ) {
    doRemovePeriodsFromFilename(FileName);
}

or
Code:
if ( SearchString.Equals("Tosh 0") ) {
    SearchString.equals("Tosh.0");
}

If you open the door for just one Title, then you open the door for the rest. However, in this case, maybe it would work because there are very few shows with a period in the name.
Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#19
Neither of those would be suitable. The whole point of replacing periods with spaces is because folk use periods in place of spaces in their filenames.

The true fix is querying once with the replacement, and then if no results (or perhaps if no decent results) requery without replacement.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#20
^^ yeah, that was my first thought, but then like I said in 17.. if there is a space in the filename then there should be no reason to remove periods right?

Code:
if ( ! FileName.Contains(" ") ) {
    doRemovePeriodsFromFilename(FileName);
}

btw... do you write Cheers, Jonathan on each post or is there a macro somewhere I can set?
Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#21
Sure, but that wouldn't fix your issue. And I think that's what we already do, but I may be wrong about that (IIRC in the past we had issues with Mr. Foo).

And yes, I do manually write

Cheers,
Jonathan

after every post, but it's not a concious decision :p

Cheers,
Jonathan

(See I did it again!)
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#22
Why would not removing periods if there are spaces in the title not fix the problem?

Code:
Tosh.0 S01E02 (Web Redemption Miss South Carolina).mpg

It seems to me, if there are spaces in the title, then there should be no periods needed to be removed.

Cheers,
Adam
Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#23
I missed this earlier, but XBMC already does that - in the case of a show we're looking up on the foldername, which has no spaces.

Thus, the only real option here is to look at retrying after certain things aren't cleaned out of the filename.

EDIT: here's a ticket: http://trac.xbmc.org/ticket/9778

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#24
Shouldn't removal of periods be performed directly after the regex recognition though? I mean, you should determine if the file requires period removal by looking at the entire file name right?

I was saying Title earlier, but I meant file.

I really appreciate the quick response on this one. Ticket opened, fix released...
Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply
#25
Cool! It's working in the SVN compiled on the 11th! Yay! Thank you!


It's weird because I thought for sure that mythicalLibrarian was doing Tosh without NFO files a long time ago when I set up the mythicalLibrarian wiki page. You can see it on the second picture on the right on this page. http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Use mythicalLibrarian to make a library out of your MythTV files. Leave the recording to MythTV and use XBMC as your library.
Installation and Instructions:http://wiki.xbmc.org/index.php?title=MythicalLibrarian
Technical Support:http://forum.xbmc.org/showthread.php?tid=65644
[url=http://forum.xda-developers.com/showthread.php?tid=1081892][/url]
Reply

Logout Mark Read Team Forum Stats Members Help
what's wrong with my naming convention?0