Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
josh4trunks Offline
Member
Posts: 60
Joined: Mar 2010
Reputation: 0
Post: #1901
(2012-08-19 04:49)N3MIS15 Wrote:  
(2012-08-19 04:27)josh4trunks Wrote:  Awesome! my FreeNAS plugin is nearing completion. Used your api to shutdown maraschino and am grabing the values of username, password, port, and webroot from the maraschino database with sqlite.

Only thing that isn't functional is changing the port in the maraschino gui still doesn't seem to do anything. Can anyone confirm that the option in the gui does change the port number after a restart? (This is without using the port commandline flag)
Thanks!!!

I just pushed a commit to master, can you please let me know if this fixes the port setting for you.

Wow very fast! My FreeNAS box is actually at a friends house doing a 745GB file transfer right now. I'll test it on 32 bit FreeBSD machine that I also have maraschino on and get back to you soon.
find quote
josh4trunks Offline
Member
Posts: 60
Joined: Mar 2010
Reputation: 0
Post: #1902
Awesome it worked!!! Wow, I guess I don't need any work arounds then. The FreeNAS community thanks you, I'll post here when someonse gets a video up of the final product.
find quote
gotoman00 Offline
Member
Posts: 91
Joined: Apr 2007
Reputation: 0
Location: Florida
Post: #1903
absolutely love the front end, works great with sb, cp, sab, xbmc for me... my only complaint is the load time to load the artists in xbmc's music library widget, it's rather large but on awxi interface it seems to load significantly faster... was wondering if there was a possibility of speeding up the query somehow?

xbmc frodo | win 7 64-bit | 8gb ddr3 | amd fx 6100 (3.3x6) | zotac fermi gt430 | xbmc.4.life
find quote
robweber Offline
Fan
Posts: 599
Joined: Sep 2009
Reputation: 15
Post: #1904
(2012-08-22 22:19)gotoman00 Wrote:  absolutely love the front end, works great with sb, cp, sab, xbmc for me... my only complaint is the load time to load the artists in xbmc's music library widget, it's rather large but on awxi interface it seems to load significantly faster... was wondering if there was a possibility of speeding up the query somehow?

I've often wondered this as well so I looked into the library module to see if there was an obvious reason why this took so long - there was!

when loading the artist list there is another loop

Code:
for artist in library['artists']:
                artistid = artist['artistid']
                try:
                    xbmc.AudioLibrary.GetArtistDetails(artistid=artistid, properties=['description', 'thumbnail', 'genre'])
                    artist['details'] = "True"
                except:
                    None

this goes through and checks if artist details exist and then sets a flag that controls if the "Info" button shows up or not next to each artist. As you can imagine adding an extra JSON command for each artist in your library takes up quite a bit of extra time when loading the artist list. I removed this and it sped up the load time considerably. This does have the trade-off though of throwing an error if you try to look at artist details for an artist and they don't exist - as the toggle for the info button is now removed. I thought this was a decent trade off for the speed increase. Check out my fork of the maraschino project for the changes I've made.

https://github.com/robweber/maraschino/c...e5f2c9038e
find quote
gotoman00 Offline
Member
Posts: 91
Joined: Apr 2007
Reputation: 0
Location: Florida
Post: #1905
thanks, this sped it up considerably... should be an option for artist info button being enabled in the future

xbmc frodo | win 7 64-bit | 8gb ddr3 | amd fx 6100 (3.3x6) | zotac fermi gt430 | xbmc.4.life
find quote
steve1977 Offline
Posting Freak
Posts: 1,577
Joined: Dec 2006
Reputation: 0
Post: #1906
I recall there were some developers talking about adding a check and update function for SB, CP and headphones as part of Maraschino? I didn't find the posts anymore, but curious whether anyone has been taken this on. Would really love t see this integrated!!!

Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 12 GB DDR3 | 256 GB SSD, 40 TB (1 x 4 TB, 6 x 3TB, 9 x 2 TB)
HTPC 1: Apple Mac Mini (mid-2011) | Intel Core i5 2.5 GHz | 4GB DDR3 | 500 GB
HTPC 2: Apple Mac Mini (mid-2007) | Intel Core 2 Duo 2.0 GHz | 4 GB DDR2 | 16 GB SSD
find quote
gotoman00 Offline
Member
Posts: 91
Joined: Apr 2007
Reputation: 0
Location: Florida
Post: #1907
so after making changes from here:

https://github.com/robweber/maraschino/c...e5f2c9038e

things were working great, until updating... now music is gone from the xbmc library widget entirely. Undecided halp?

xbmc frodo | win 7 64-bit | 8gb ddr3 | amd fx 6100 (3.3x6) | zotac fermi gt430 | xbmc.4.life
(This post was last modified: 2012-08-25 23:54 by gotoman00.)
find quote
robweber Offline
Fan
Posts: 599
Joined: Sep 2009
Reputation: 15
Post: #1908
Unfortunately if you made my changes and attempted an update you're going to need some work to fix things. I guess i didnt mention it but if you modify maraschino locally and then attempt an update it will most likely fail. Your best bet would be to delete the modified files and use git commands to revert them from the main repo. Youd have to add those changes back again.
find quote
N3MIS15 Offline
Fan
Posts: 464
Joined: Jul 2010
Reputation: 12
Location: Melbourne, VIC
Post: #1909
Added robs changes to master, everything should work fine now.

I recently adding a setting to hide music and files, you may need to go into the modules settings view and just click save and they will come back.

[Image: all-fanart.jpg]
(This post was last modified: 2012-08-26 03:42 by N3MIS15.)
find quote
gotoman00 Offline
Member
Posts: 91
Joined: Apr 2007
Reputation: 0
Location: Florida
Post: #1910
thx!

xbmc frodo | win 7 64-bit | 8gb ddr3 | amd fx 6100 (3.3x6) | zotac fermi gt430 | xbmc.4.life
find quote
Post Reply