[Web Interface Addon] AWXi - Ajax Based Web Interface

  Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
newphreak Offline
Member+
Posts: 176
Joined: Oct 2010
Reputation: 0
Location: sofa @ Norway
Post: #11
Ah yeah, nice. I'll follow this thread for now. If i have any good ideas or such i can post them on git. Smile

Samsung ES7005 55" led tv - Denon AVR-3313 - NAD C275BEE - B&W DM683 - B&W HTM61 - B&W 686
Asus EB1501P ION2 - OCZ Vertex 2 64gb ssd - Built in IR Receiver
And a Logitech Harmony Touch to control it all. http://www.OpenELEC.tv
find quote
illiac4 Offline
Fan
Posts: 434
Joined: May 2009
Reputation: 1
Post: #12
Nice.
The only thing that does not show is when you select files, it only shows local share. The shares over SMB are not shown.
find quote
frolick Offline
Junior Member
Posts: 35
Joined: Jun 2011
Reputation: 0
Post: #13
illiac4 Wrote:Nice.
The only thing that does not show is when you select files, it only shows local share. The shares over SMB are not shown.

Taking a quick look, all the shares that I've set up on my ATV2 show up when I click on files. The files view is really just looking at what sources you have defined. It's not designed to browse anything beyond that if that's what you're trying to do.
find quote
Ronny! Offline
Junior Member
Posts: 20
Joined: Apr 2010
Reputation: 0
Location: Netherlands
Post: #14
First of all, thanks for this great job!

I've encountered a problem, when I select files from either the Video or Music submenu I get the error: Failed to get Directory!

My directories are stored as following in my db: smb://USER:PASS@192.168.1.2/video/

Is this the problem?

Hope you can help.

Thanks in advance

(Using version 0.4.1)
(This post was last modified: 2011-10-25 15:59 by Ronny!.)
find quote
Mizaki Offline
Fan
Posts: 662
Joined: Apr 2011
Reputation: 12
Post: #15
@illiac4
Is yours the same as Ronny!? As in, I mount my shares to a letter/directory. Are yours not mounted this way?

This may be the problem. I'll try and replicate it. Probably not until the weekend though, if someone else wants to get in first.

Out of interest, what would you use the files browsing for? I have everything in my library so I never need to use it. Smile

[Image: watched-clearlogo.jpg]
AWXi - Ajax web interface. Wiki
find quote
Ronny! Offline
Junior Member
Posts: 20
Joined: Apr 2010
Reputation: 0
Location: Netherlands
Post: #16
Mizaki Wrote:Out of interest, what would you use the files browsing for? I have everything in my library so I never need to use it. Smile

That's exactly why I need it, I don't have everything in my library. Browsing for a folder is (in my case) much easier than searching in the library for a specific album
find quote
frolick Offline
Junior Member
Posts: 35
Joined: Jun 2011
Reputation: 0
Post: #17
Ronny!,

You said you are running 0.4.1 of our addon but I just wanted to check to make sure that you're using a nightly that's been put out since the 15th of Oct. The files section won't work if you're using an earlier build of XBMC or if you're still on Dharma.

All my shares are formatted like yours but I will play around with different combos when I get home tonight.
(This post was last modified: 2011-10-25 21:13 by frolick.)
find quote
Ronny! Offline
Junior Member
Posts: 20
Joined: Apr 2010
Reputation: 0
Location: Netherlands
Post: #18
That's a good one, I run indeed a nightly (for the ATV2, I don't know if this is any different?). But I don't know if this nightly I'm running is newer than the 15th of Oct. I will update to the newest and test again.

Thanks


I'm now running the latest nightly for the ATV2 (xbmc-20111024-c5758bf-master-atv2.deb).
Still got the same error

On my PC, running the latest nightly on windows 7, it seems to be working okay. So there is something different in the Darwin version..
(This post was last modified: 2011-10-25 20:58 by Ronny!.)
find quote
frolick Offline
Junior Member
Posts: 35
Joined: Jun 2011
Reputation: 0
Post: #19
Ronny! Wrote:That's a good one, I run indeed a nightly (for the ATV2, I don't know if this is any different?). But I don't know if this nightly I'm running is newer than the 15th of Oct. I will update to the newest and test again.

Thanks


I'm now running the latest nightly for the ATV2 (xbmc-20111024-c5758bf-master-atv2.deb).
Still got the same error

On my PC, running the latest nightly on windows 7, it seems to be working okay. So there is something different in the Darwin version..

Well I updated to the latest nightly and checked my sources. My sources are using host names instead of IP addresses. I added a share by IP and it looks like it's failing just like you said.

I messed around with the JSON-RPC call Files.GetDirectory which, when passed a folder, should give back the contents of that folder. Unfortunately it seems like it doesn't work with IP addresses.

I've posted in the JSON-RPC development thread to see if our code is doing something wrong or if it's designed that way. If the call is working as intended, then there's not much we can do.

Is there a reason that you're using IPs instead of host names?

Edit: I lied!
The problem isn't with Files.GetDirectory, it's with Files.GetSources. When I ask for a list of sources, it will give me back something like smb://192.168.1.100/share/ but that won't help me out when I need something like: smb://user: pass@192.168.1.100/share/ in order for Files.GetDirectory to work.
(This post was last modified: 2011-10-26 03:08 by frolick.)
find quote
Ronny! Offline
Junior Member
Posts: 20
Joined: Apr 2010
Reputation: 0
Location: Netherlands
Post: #20
frolick Wrote:Is there a reason that you're using IPs instead of host names?

No there isn't. I can use host names instead. But does this work? Because you also need a username and password..
find quote
Post Reply