[Web Interface Addon] XBMC Control Web Page - an open source development project

  Thread Rating:
  • 3 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
VELPO Offline
Junior Member
Posts: 14
Joined: Jan 2012
Reputation: 0
Post: #221
Two fantastic functions. Drag and drop works great, I just can't get the refresh libraries option to work correctly.

EDIT: Refresh Libraries works fine if I manually Update Library through XBMC then Refresh through XBMControl.

Is it possible for "Refresh Libraries" to update the XBMC library? i.e. scan for new music/videos.
(This post was last modified: 2012-01-20 04:42 by VELPO.)
find quote
Kabooga Offline
Senior Member
Posts: 193
Joined: Feb 2009
Reputation: 0
Location: Silicon Valley, CA
Post: #222
Ahh...now I understand what you wanted VELPO. The API does have the capability of telling XBMC to scan for new content.

I will have to add another button for that (not a big deal actually).

The biggest problem for the user is that it would have to be a two step process for XBMControl to reflect the added media.
1) Hit button to have XBMC update its library. Wait until XBMC libraries are updated (could take some time).
2) Hit the 'Refresh Library' button (or F5 to update web page) for XBMControl to update itself.

Otherwise this should be a simple change.

I am an expert at acting like an expert ---- WC Fields.

XBMC Web Control Interface - http://code.google.com/p/xbmcontrol-web/
find quote
VELPO Offline
Junior Member
Posts: 14
Joined: Jan 2012
Reputation: 0
Post: #223
Ya! That was exactly what I was talking about before. Now I don't have to refresh my browser though, simply using Refresh Libraries works great and the extra step button to update the library would be perfection. I have 2TB of music/movies in my library and it takes about 30 seconds to find the new music/movies upon each scan.

Thanks!

Also since the pre-eden releases, shuffle/repeat.all issues.
(This post was last modified: 2012-01-21 07:32 by VELPO.)
find quote
Kabooga Offline
Senior Member
Posts: 193
Joined: Feb 2009
Reputation: 0
Location: Silicon Valley, CA
Post: #224
Newest version webinterface.xrc-0.0.9.zip can be loaded at.
http://code.google.com/p/xbmcontrol-web/downloads/list

Changes:
1) Changed Library refresh button to a menu button with three entries:
a) Refresh XBMControl library (do this after XBMC has refreshed it's libraries).
b) Refresh XBMC's Music Library.
c) Refresh XBMC's Video Library.
2) Fixed Shuffle button to work as XBMC does.
3) Added Repeat button that cycles between modes ('off', 'all', 'single').


Cheers.

I am an expert at acting like an expert ---- WC Fields.

XBMC Web Control Interface - http://code.google.com/p/xbmcontrol-web/
find quote
VELPO Offline
Junior Member
Posts: 14
Joined: Jan 2012
Reputation: 0
Post: #225
You are ridiculous.

That is all.

EDIT: ..and everything works perfectly.

Thank you.
(This post was last modified: 2012-01-25 03:58 by VELPO.)
find quote
VELPO Offline
Junior Member
Posts: 14
Joined: Jan 2012
Reputation: 0
Post: #226
* The ability to load/save playlists.
find quote
Kabooga Offline
Senior Member
Posts: 193
Joined: Feb 2009
Reputation: 0
Location: Silicon Valley, CA
Post: #227
Ridiculous?.....hahaha.

Thank you for your observations and suggestions. My music library is also rather large (~1.5 TB) and XBMControl was written to be usable for extensive music libraries. I think our usage patterns of XBMC may be somewhat alike.

Loading/Saving playlists:
A previous version of XBMControl did have the ability to load/save/manipulate playlists. This was before the Dharma release of XBMC. I removed that functionality for Dharma because the coders of XBMC were revamping the playlist handling (it was a big pain). Maybe it is time to look at that again.

I am an expert at acting like an expert ---- WC Fields.

XBMC Web Control Interface - http://code.google.com/p/xbmcontrol-web/
find quote
Mizaki Offline
Fan
Posts: 664
Joined: Apr 2011
Reputation: 12
Post: #228
I've look around for saving playlists and I didn't find anything useful. So I don't think it's possible but would like to be proven wrong Wink

Loading playlists I use:
Code:
{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "special://profile/playlists/music/", "media": "music"}, "id": 1}
and then Files.GetDirectory. From there is gets fun Wink

[Image: watched-clearlogo.jpg]
AWXi - Ajax web interface. Wiki
find quote
VELPO Offline
Junior Member
Posts: 14
Joined: Jan 2012
Reputation: 0
Post: #229
Yes, I remember the first version of XBMControl that I used had the load playlist feature which I used frequently.

I have always used Windows Media Player to make my playlists, but now with the evolution of XBMControl and the ability to drag/drop/etc, I would love to cut out WMP completely and do EVERYTHING via XBMControl.

No pressure. Smile

Can't thank you enough.
find quote
Kabooga Offline
Senior Member
Posts: 193
Joined: Feb 2009
Reputation: 0
Location: Silicon Valley, CA
Post: #230
Mizaki: Yep. No saving of playlists....grrrr. I got confused with a hacked version of XBMC I did two years ago (using the HTTP API) that could save playlists. Blame the confusion on my old age Confused

VELPO: I put a 0.0.A version in the code repository. It has the playlist loading. Try it out and see if it works (seems to work with a small sampling of playlists here).

I am an expert at acting like an expert ---- WC Fields.

XBMC Web Control Interface - http://code.google.com/p/xbmcontrol-web/
find quote
Post Reply