Coder Social home page Coder Social logo

mythboxee's Introduction

MythBoxee
----------
Repository: http://erikkristensen.com/boxee/


Requirements
-------------
MythTV 0.23.1 or 0.23.0 (if you use 0.23.0 you'll need to modify the MythStatic.py protocol version from 23056 to 56)


Installation
------------- 
1. Start Boxee
2. Browse to the Apps section in Boxee
3. Select "Repositories" in the left hand side at the bottom.
4. Add Repository, use the url http://erikkristensen.com/boxee
5. Follow the onscreen instructions.
6. Sit back and enjoy watching your recordings from MythTV on your Boxee frontend.


Update Instructions
--------------------
1. Start Boxee
2. Browse to Apps
3. Select MythBoxee Beta
4. Select Remove from Apps
5. Exit Boxee
6. Clear Boxee cache folders
--- UserData\cache\*
--- UserData\profiles\<USERNAME>\cache\*
7. Start Boxee
8. Browse to Apps
9. Browse to MythBoxee Repository
10. Select MythBoxee Beta
11. Select Add to My Apps
12. Run the App


General Troubleshooting
-----------------------
Submit all logs to http://mythboxee.pastebin.com/, if you don't want to do that post them [email protected], and include the link and/or subject link (link if possible) in the issue you are either updating or creating.


Clearing the Cache of Boxee
---------------------------
Delete the files in the following directories:
 - UserData\cache\*
 - UserData\profiles\<USERNAME>\cache\*


Clearing Existing Settings of MythBoxee
---------------------------------------
Delete the corresponding version folder from UserData\profiles\<USERNAME>\apps
Version 4.x     - com.erikkristensen.mythboxee4
Version Nightly - com.erikkristensen.mythboxee0
Version 3.x     - com.erikkristensen.mythboxee


Downloading Older Versions
--------------------------
All releases current and old are currently available at http://erikkristensen.com/boxee/download/


mythboxee's People

Contributors

ekristen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mythboxee's Issues

Background Threading

Current in the works, but finish background threading to enable the app to update its local cache of information in the background. This will improve the speed of the user interface and also allow the UI to not have to rely on the update to finish before the user can start looking through the content.

Additional recordings of the same show do no appear on refresh

When a new recording of a show that already exists in the MythBoxee cache is found on the backend, it will not update in MythBoxee until one of two things happens

1: A show that does not already exist in the cache (by title) is recorded
2: The app cache is deleted

This stems from line 251 of mythboxee.py. Instead of making the fingerprint only by title, it should use more information (either include the subtitle, or switch to something guaranteed to be unique, like recordid).

I propose changing this line to be
rectitle = rec.title.encode('utf-8') + str(rec.recordid)

I have made this change to my local copy and it solves the issue.

Boxee Box now requires signed applications

After updated to the latest firmware of the Boxee box (1.0.4.17443). The mythboxee will not load. Attempts to pull from the repository also fail with an error. It appears that all non-native apps require that they be signed.

From http://blog.boxee.tv/2011/02/14/netflix-on-the-boxee-box/

Included in this release is a new Application signing process was introduced with this version. If you are hosting your own Applications Repository, or developing applications on the Boxee Box, make sure to sign up at http://www.boxee.tv/developer, and generate the required keys.

If you are a Boxee Box user who is having an issue with an App in an external repository, please contact the developers and inform them of this change.

Escape TheTVDB Url

In the code where MythBoxee goes out to retrieve data from thetvdb, and it passes the name of a show as part of the URL request, consider adding a call to urllib.quote() around the show name to escape characters properly in the URL. One of my favorites is Law & Order, and without the ampersand escaped, it doesn't come back with the correct banner. Adding the above method solved it for me.

Configuration and settings won't stick?

Hi!

The last time I used mythboxee, I could enter the backend information without any issue.

Now, this information won't stick and it seems mythboxee cannot connect to the mythtv backend.

The backend is running and I have the right IP for it. (I can access it via a different computer)
I deleted the directory:

//[email protected]./Users/frontrow/Library/Application%20Support/BOXEE/userdata/apps/com.erikkristensen.mythboxee4

and started from a fresh install from the Boxee GUI for app installation from your repo.

MythTV 0.24 support

Please provide support for the upcoming MythTV 0.24. MythBoxee presently fails with this:
2010-11-07 19:07:21.000 Python Database Connection: Database schema mismatch: we speak 1254 but database speaks 1264

Foreign language listings in mythtv

Hi! I thought it would be a good idea to create a real "ticket" for the problem that was described previously:

It seems if the mythtv database contains recording names with foreign accents (é,è,à) etc mythboxee stalls.

Not refreshing on start

I've noticed an issue for roughly a week now. After starting Mythboxee, the previous group of recording will load (as is the expecting behavior). However, it will no longer refresh with new entries. If I exit Mythboxee while waiting for the refresh, my Boxee will hang. If I enter a group of recordings that existed before (and is not empty), then it will fetch new entries in that group. If the group is now empty, it will hang.

Scriptresult: Error

MythBoxee seems to be able to connect to the MythTV backend but part way through the script it throws this error.

00:33:19 T:49436 M:1804828672 ERROR: Scriptresult: Error
00:33:19 T:49436 M:1804828672 NOTICE: Traceback (most recent call last):
00:33:19 T:49436 M:1804828672 NOTICE: File "", line 3, in ?
00:33:19 T:49436 M:1804828672 NOTICE: File "C:\Users\Matthew\AppData\Roaming\BOXEE\userdata\apps\com.erikkristensen.mythboxee4\mythboxee.py", line 66, in init
00:33:19 T:49436 M:1804816384 NOTICE: self.GetRecordings()
00:33:19 T:49436 M:1804816384 NOTICE: File "C:\Users\Matthew\AppData\Roaming\BOXEE\userdata\apps\com.erikkristensen.mythboxee4\mythboxee.py", line 175, in GetRecordings
00:33:19 T:49436 M:1804791808 NOTICE: single = [recording.title.encode('utf-8'), recording.subtitle.encode('utf-8'), str(recording.description), str(recording.chanid), str(recording.airdate), str(recording.starttime), str(recording.endtime), recording.getRecorded().watched, x]
00:33:19 T:49436 M:1804791808 NOTICE: AttributeError
00:33:19 T:49436 M:1804791808 NOTICE: :
00:33:19 T:49436 M:1804791808 NOTICE: 'NoneType' object has no attribute 'encode'
00:33:19 T:49436 M:1804791808 INFO: XBPyPersistentThread::Process, iteration started (python)

I am running MythBoxee 4.23.2 beta and MythTV 0.23.1 with fixes through Mythbuntu.

Here is the full log:
http://pastebin.com/av8be9Qn

Add About Page

Add an about page with version information, links to the website, issues page, source code, and documentation.

Add MythTV Status

Added the ability to see the status of MythTV like that of the MythWeb status page.

Interface Error

For unknown reasons on Windows systems only at this point the mysql library I am using throws an InterfaceError.

Known versions to be affected at this are:

  • Windows XP SP3
  • Windows 7 x64

If you are experiencing this error, please add a comment with the following information of your system:

  1. Windows Version Plus Service Pack and 32 v 64 bit
  2. Version of MythBoxee you are running.
  3. Your boxee.log (this can be emailed to me personally, the MythBoxee group, or put into a pastebin someplace of your choice)
  4. Version of MythTV (mythbackend --version)

'ascii' codec can't encode character u'\xf1' in position 141

Since I haven't had any luck with Vista I tried out the latest 4.23.3 beta on my Ubuntu system.
Some good news I have gathered from this is I don't seem to be having the mysql connection error, I guess that is just a problem with Windows systems...

I seem to be having a problem with a character not encoding properly. I tried changing this recording.title.encode('utf-8') to str(recording.title) but no luck.

Here are both logs.
str(recording.title) http://pastebin.com/ukmAMva1
recording.title.encode('utf-8') http://pastebin.com/CXTPwQp0

Loading Shade Stays

After leaving the app running for an extended period of time the Loading Shade doesn't disappear.

Cause is unknown at this time, and no support logs to identify the issue. This is a place holder for troubleshooting.

Support for Movie Titles

Add support for movie titles that could be recorded with MythTV.

There is already a python library checked into the repository for this.

Failed to connect to database (same as others?)

Hi, I just found this project and am very excited about seeing this working for Boxee! I'd like to ask for some help with troubleshooting a failed database connection.

Boxee 0.9.20.12594: WinXP 32bit home 2002 at SP3
MythBackend configured with mythconverg database
MythTV: 0.20.2-168.fc6

Yes I know it's old, but I haven't found a new version of myth for Fedora 6. Is this the cause of the problem here?

Snippet from Boxee Log:
NOTICE: >>> MythBoxee: def(init): Start =========================================================
NOTICE: >>> MythBoxee: def(init): Version: 4.0.1.beta
NOTICE: >>> MythBoxee: def(init): Python Version: (2, 4, 5, 'final', 0)
NOTICE: >>> MythBoxee: def(init): Attempting Database Connection ...
NOTICE: >>> MythBoxee: def(init): Error: Failed to connect to database at 'mythconverg'@'mediaserver'for user 'mythtv' with password 'xxxxxx'.
NOTICE: >>> MythBoxee: def(init): End ===========================================================

So, what I've done:

  1. setup the mythtv backend to allow remote frontends using a non localhost IP
  2. checked the mysql permissions with:
    mysql> grant all on mythconverg to mythtv@"192.168.2.%" identified by "";
    Query OK, 0 rows affected (0.03 sec)
    mysql> flush privileges;
    Query OK, 0 rows affected (0.02 sec)
  3. tested a "telnet" TCP 3306 connection to the mythtv system which returns this:
    5.0.27'1u{+_!%2,☻mP'p~K<+^{qB
  4. checked that myth/mysql remote connections work using windows sqlclient
    Remote command "select user from mysql.user limit 0" returns this error:
    ER_TABLEACCESSDENIED_ERROR(114...

Does mythboxee need access to the user table?

Any help would be appreciated. Thanks!
-- S8C

Error on 4.23.2.beta

I'm getting the "Backend speaks version 23056, we speak version 56" error in this version as well.

Here is part of my log:

19:27:41 T:8476 M:715411456 NOTICE: >>> MythBoxee: def(init): Start =========================================================
19:27:41 T:8476 M:715411456 NOTICE: >>> MythBoxee: def(init): Version: 4.23.2.beta
19:27:41 T:8476 M:715411456 NOTICE: >>> MythBoxee: def(init): Python Version: (2, 4, 5, 'final', 0)
19:27:41 T:8476 M:715395072 NOTICE: >>> MythBoxee: def(init): Attempting Database Connection ...
19:27:41 T:8476 M:715341824 NOTICE: >>> MythBoxee: def(init): Database Connection Successful
19:27:41 T:8476 M:715300864 NOTICE: 2010-10-04 19:27:41.000 Python Backend Connection: Backend has version 23056, and we speak 56
19:27:41 T:8476 M:715309056 ERROR: Scriptresult: Error
19:27:41 T:8476 M:715309056 NOTICE: Traceback (most recent call last):
19:27:41 T:8476 M:715309056 NOTICE: File "", line 3, in ?
19:27:41 T:8476 M:715309056 NOTICE: File "C:\Users\Eric\AppData\Roaming\BOXEE\userdata\apps\com.erikkristensen.mythboxee4\mythboxee.py", line 65, in init
19:27:41 T:8476 M:715304960 NOTICE: self.be = mythtv.MythBE(db=self.db)
19:27:41 T:8476 M:715304960 NOTICE: File "C:\Users\Eric\AppData\Roaming\BOXEE\userdata\apps\com.erikkristensen.mythboxee4\mythtv\MythBase.py", line 1352, in init
19:27:41 T:8476 M:714883072 NOTICE: self.be = MythBEConn(backend, type, db)
19:27:41 T:8476 M:714883072 NOTICE: File "C:\Users\Eric\AppData\Roaming\BOXEE\userdata\apps\com.erikkristensen.mythboxee4\mythtv\MythBase.py", line 1240, in init
19:27:42 T:8476 M:714825728 NOTICE: self.check_version()
19:27:42 T:8476 M:714825728 NOTICE: File "C:\Users\Eric\AppData\Roaming\BOXEE\userdata\apps\com.erikkristensen.mythboxee4\mythtv\MythBase.py", line 1271, in check_version
19:27:42 T:8476 M:715968512 NOTICE: int(res[1]), PROTO_VERSION)
19:27:42 T:8476 M:715968512 NOTICE: mythtv.MythBase
19:27:42 T:8476 M:715968512 NOTICE: .
19:27:42 T:8476 M:715968512 NOTICE: MythBEError
19:27:42 T:8476 M:715968512 NOTICE: :
19:27:42 T:8476 M:715968512 NOTICE: Backend speaks version 23056, we speak version 56

White (or black) screen, no audio

I've set up MythBoxee (nightly build) to access my MythTV 0.23.1 (MythDora) backend. I'm using the XML stream method. I can't use SMB because I have two storage groups. When I try to play a TV episode on a Windows 7 system, I get only a pure white screen and no sound. On my Ubuntu system, I get a black screen. I can play other content in Boxee. This only happens in Mythboxee. Is there any other information I can provide to help resolve this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.