boxee :: forums  

Go Back   boxee :: forums > boxee community > announcements

Reply
 
Thread Tools Display Modes
  #41  
Old July 13th, 2010, 03:07 PM
maliqua maliqua is offline
Junior Member
 
Join Date: Jul 2010
Posts: 8
Default I thnk boxee is still trying to identify my collection

Thats probably part of the problem

one day the world will make a media player that doesn't think a few hundred thousand items is too many :P I'll enable logging and such when i get home from work tonight, thanks for the reply
Reply With Quote
  #42  
Old July 22nd, 2010, 01:46 PM
StevenR StevenR is offline
Senior Member
 
Join Date: Oct 2008
Posts: 239
Default

I have found a couple of issues with the latest version of playanything:

1) The folder containing the Mac versions of the libraries has a space in it so it is "OS X" and not "OSX", the skin file references it without the space causing the library to not be loaded. I removed the space in the folder name and it loaded fine.

2) One of my TV show episodes caused an error ("Could not decode to UTF-8 column...") due to the text encoding of a character in the title.
This can be resolved by doing this:
First add this function:
Code:
def convert_string(s):
    try:
        u = s.decode("utf-8")
    except UnicodeDecodeError:
        u = s.decode("cp1252")
    return u
Then add the following immediately after conn = sqlite.connect(database):

Code:
conn.text_factory = convert_string
This tells SQLite to use the custom function to convert the text, this then handles text which is not UTF-8 encoded.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:46 PM.


skin based on greenzero from vBSkins.com

 
Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.