Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Xbian and mediaportal
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Xbian and mediaportal
22nd Feb, 2013, 12:07 AM
Post: #1
2twisty Offline
Registered
Posts: 33
Joined: Feb 2013
Reputation: 3
Xbian and mediaportal
I have a mediaportal server. It works. If I connect via xbmc from my Mac or from my ipad, I can watch live TV.

I can't get it working in xbian the plugin is set the same in all 3 environments. Xbian complains that it times out waiting for the timeshift buffer.

What am I doing wrong? Additionally, I suspect this is related to SMB in XBMC on the pi. I can't use the GUI on the pi to connect to windows shares, but I can mount them from a command line.

I got around that issue by mounting my shares in fstab rather than in XBMC.

Ideas?
Find all posts by this user
Quote this message in a reply
22nd Feb, 2013, 12:15 AM
Post: #2
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Xbian and mediaportal
On which XBian version are you?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
22nd Feb, 2013, 12:16 AM
Post: #3
2twisty Offline
Registered
Posts: 33
Joined: Feb 2013
Reputation: 3
RE: Xbian and mediaportal
1.0a5. Got it from an update. I installed a4...

Also, I enabled the plugin that was included with Xbian.
Find all posts by this user
Quote this message in a reply
22nd Feb, 2013, 12:25 AM
Post: #4
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Xbian and mediaportal
can you share your xbmc.log which is located in /home/xbian/.xbmc/temp/ after the error happend? (post it on http://www.pastebin.com and link it here)

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
22nd Feb, 2013, 12:27 AM
Post: #5
2twisty Offline
Registered
Posts: 33
Joined: Feb 2013
Reputation: 3
RE: Xbian and mediaportal
K. I'm away from the machine, and not where I can remote it just now, but I will as soon as possible. Should I clear the log first to keep the size down?
Find all posts by this user
Quote this message in a reply
22nd Feb, 2013, 12:28 AM
Post: #6
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Xbian and mediaportal
the log clears itself on every XBMC startup so not needed

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
22nd Feb, 2013, 12:32 AM
Post: #7
2twisty Offline
Registered
Posts: 33
Joined: Feb 2013
Reputation: 3
RE: Xbian and mediaportal
Ok. I will restart to clear it, then have the wife duplicate the error, hen I'll post it
Find all posts by this user
Quote this message in a reply
22nd Feb, 2013, 01:55 AM
Post: #8
2twisty Offline
Registered
Posts: 33
Joined: Feb 2013
Reputation: 3
RE: Xbian and mediaportal
Ok, rather than paste that entire log into Pastebin, I looked through the log, and I think I found the root of the problem.

Code:
06:31:16 T:2742023232   ERROR: AddOnLog: MediaPortal PVR Client: Failed to open file 'C:\FileRoot\TimeShift\live2-0.ts.tsbuffer' as 'smb://xbian: d4n33l@MEDIA/Files/TimeShift/live2-0.ts.tsbuffer'

Notice that in the SMB connect string there is a space after the colon for the username, before the password. I don't think that's supposed to be there.

I have triple-checked the settings in the plugin, and there is NO space in the password as I've entered it into the GUI. Somehow, that space is getting in there.

Any idea where that information is stored? Is it in an editable XML file? If so,I can look there to see if there is a space and remove it... and then test again.

What do you think?

Also, if this is a bug in the way xbian is handling passwords for all SMB connections, it would explain why I could not connect to other SMB resources from the GUI.

Oh, another thing I can try is to create another user on the Windows server that has no password, so that the blanks don't matter. What about that?
Find all posts by this user
Quote this message in a reply
22nd Feb, 2013, 01:57 AM
Post: #9
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Xbian and mediaportal
Maybe it's better not to post real passwords.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
22nd Feb, 2013, 01:58 AM
Post: #10
2twisty Offline
Registered
Posts: 33
Joined: Feb 2013
Reputation: 3
RE: Xbian and mediaportal
Meh. this machine is not accessible directly from the internet, and I invented that password for that user. I'm not worried about it. I can just change it later, too.

Ah. This appears to be it. I looked in the addon_data/pvr.mediaportal.tvserver/settings.xml file....

the password DOES have a space in front of it.

So.. I guess the question is this: Did *I* somehow get that space in there, despite having retyped the password at least 4 times, or did xbian ADD that space due to some unseen bug?

I'm not at home where I can mess with the actual unit right now, so testing may have to wait until later (besides, the pi is slammed with a HUGE library update (just added a TON of stuff), so I want to wait for that to complete before I test anyway)

Hmmmm.. Curiouser and curiouser....

I am starting to think that this extra space business might not be xbian....

I have been using an iOS app as a remote control so that I could config xbmc from my couch. When I select a password dialog, it pops up the keyboard and allows me to enter the password.

I have not configured either of the other two devices using this, since one was my iPad (i used xbmc's on-screen keyboard) and the other was my macBook (I used the mac's keyboard).

I'll do a little more testing, but I am wondering if THAT could be the cause... Since nobody else has reported this, and it seems unlikely that a bug in xbian that would cause leading spaces in passwords would have gone unnoticed for more than about 20 minutes after the release of 1.0a5.

I'll check my theories when I get home and report back.
Find all posts by this user
Quote this message in a reply
22nd Feb, 2013, 07:21 AM
Post: #11
2twisty Offline
Registered
Posts: 33
Joined: Feb 2013
Reputation: 3
RE: Xbian and mediaportal
OK. It was the spaces. I manually removed it from settings.xml and live tv now works fine.

Still need to test whether the XBMCRemote iOS app caused it, though.
Find all posts by this user
Quote this message in a reply
22nd Feb, 2013, 08:18 AM
Post: #12
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
Xbian and mediaportal
It can be a lil bugged because of api changes

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 14th May, 2025, 11:16 AM Powered By MyBB, © 2002-2025 MyBB Group.