Kodi Community Forum
Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (/forumdisplay.php?fid=116)
+--- Thread: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC (/showthread.php?tid=113136)



- gugahoi - 2011-12-28 02:52

Mar2zz Wrote:I understand. But how do I revert my pushes?
I want to revert my transmission commit (someone else made a working version Tongue )
I want to revert my commandline commit and push it to a selfmade branch.

I believe you can cherry pick your commits for pull requests. If you want to pull into the experimental branch you can as well but I would consider it to be a nightly. It will have more features usually but not all of them will necessarily make it into master.

http://stackoverflow.com/questions/5995391/how-to-revert-my-app-to-a-specific-commit-i-made-to-github

I was also going to ask wether it would be possible in your script to add a question like:

"Would you like to use nightly builds?"

and if yes you pull from the "experimental" branch otherwise just do a regular pull. What do you think?


- gugahoi - 2011-12-28 02:57

_Mikie_ Wrote:@gugahoi

Thanks! Please just double check the module it isn't loading images for me. Might just be me but it was working before I upgraded..

mrkipling Wrote:If I may chime in on behalf of gugahoi (as I was reading this thread just as you posted):

Try logging in to Sickbeard and then reloading Maraschino, I've experienced this problem before and that fixes it.

If you have AUTH defined in your settings.py file (i.e. you're using basic username/password authentication to sort-of secure Maraschino) then it adds your Sickbeard username and password to the URLs of the images, so you might want to try doing this if you haven't already.

If none of this works then I'm out of ideas, so over to gugahoi Smile

Thanks MrK but I believe this is not the problem he is experiencing (I could be wrong tho). First thing I think could sove the problem is clearing the cache. I changed the way it fetches images, as it used to link through SB url whereas now it uses the API and an internal maraschino link. Let me know in case that does not work.


- steve1977 - 2011-12-28 08:19

Sounds fantastic. Now that things play out that well, it may be worth to think about a Android and IOS app to make us of all the awesomeness of Maraschino. This way you could even monetize some of your hard work. I am sure that there would be a huge excitement around this. Alternative solutions are far not as advanced compared to what you have achieved. Thoughts?


- thezoggy - 2011-12-28 08:23

gugahoi Wrote:Thanks MrK but I believe this is not the problem he is experiencing (I could be wrong tho). First thing I think could sove the problem is clearing the cache. I changed the way it fetches images, as it used to link through SB url whereas now it uses the API and an internal maraschino link. Let me know in case that does not work.

note that the api for the images didnt exist for binary 491 users.. so unless everyone is using source.. i wouldn't make the change just yet. *(why we didnt update the chrome extension yet)


- _Mikie_ - 2011-12-28 08:43

gugahoi Wrote:Thanks MrK but I believe this is not the problem he is experiencing (I could be wrong tho). First thing I think could sove the problem is clearing the cache. I changed the way it fetches images, as it used to link through SB url whereas now it uses the API and an internal maraschino link. Let me know in case that does not work.

thezoggy Wrote:note that the api for the images didnt exist for binary 491 users.. so unless everyone is using source.. i wouldn't make the change just yet. *(why we didnt update the chrome extension yet)

Still using windows binary for sickbeard, I've switched everything else to source just haven't gotten around to do sickbeard so I'll do that and let you know the outcome. Thanks for sorting it out Smile


- Mar2zz - 2011-12-28 09:59

gugahoi Wrote:I believe you can cherry pick your commits for pull requests. If you want to pull into the experimental branch you can as well but I would consider it to be a nightly. It will have more features usually but not all of them will necessarily make it into master.

http://stackoverflow.com/questions/5995391/how-to-revert-my-app-to-a-specific-commit-i-made-to-github

I was also going to ask wether it would be possible in your script to add a question like:

"Would you like to use nightly builds?"

and if yes you pull from the "experimental" branch otherwise just do a regular pull. What do you think?

Can do that, but with a regular pull I need to install a lot of dependency's. I will do, but I really hope mr. Kipling should pick up the internal libs. Makes life a lot easier.

Done:
Code:
mars@laptop:~$ ./LaSi/LaSi.sh

Lazy admin Scripted installers ------------------------
                    ___           ___                  
                   /\  \         /\__\                
                  /::\  \       /:/ _/_       ___      
                 /:/\:\  \     /:/ /\  \     /\__\    
  ___     ___   /:/ /::\  \   /:/ /::\  \   /:/__/    
/\  \   /\__\ /:/_/:/\:\__\ /:/_/:/\:\__\ /::\  \    
\:\  \ /:/  / \:\/:/  \/__/ \:\/:/ /:/  / \/\:\  \__  
  \:\  /:/  /   \::/__/       \::/ /:/  /     \:\/\__\
   \:\/:/  /     \:\  \        \/_/:/  /       \::/  /
    \::/  /       \:\__\         /:/  /        /:/  /  
     \/__/         \/__/         \/__/         \/__/  

------------------------------------------------ Mar2zz
Make a choice to see info or install these apps...
1. Beets                  6. SickBeard
2. CouchPotato            7. Spotweb
3. Headphones             8. Subliminal
4. Maraschino             9. Tranmission
5. Sabnzbdplus           10. XBMC (desktop)

Tip: Type LaSi.sh --help for more install options!

Q. Quit
4


*###############################################################*
*###################### MARASCHINO #############################*
#                                                               #
# Maraschino is a webpage that overviews a XBMC-mediacenter     #
# and serverapplications like Sabnzbd, Sickbeard and others.    #
#                                                               #
# Some of it's features are:                                    #
#   - Customizable applications module with:                    #
#   - recently added media                                      #
#   - Currently playing bar                                     #
#   - Sabnzbd module                                            #
#   - SickBeard coming episodes                                 #
#   - Trakt.tv recommendations                                  #
#   - Diskspace info                                            #
#                                                               #
*###############################################################*
#                                                               #
# Maraschino is written by Mr. Kipling and others               #
#                                                               #
# Visit http://www.maraschinoproject.com/                       #
*###############################################################*

Options:
1. Install Maraschino
2. Set cronjob for Maraschino

B. Back to menu
Q. Quit
1

Are you sure you want to continue and install Maraschino?
[yes/no]: y


Checking for newest packages...
--2011-12-28 09:17:51--  http://dl.dropbox.com/u/18712538//LaSi_Repo/maraschino.deb
Herleiden van dl.dropbox.com... 50.16.214.200, 107.20.134.222, 107.20.132.92, ...
Verbinding maken met dl.dropbox.com|50.16.214.200|:80... verbonden.
HTTP-verzoek is verzonden; wachten op antwoord... 200 OK
Lengte: 3738 (3,7K) [application/x-debian-package]
Wordt opgeslagen als: ‘/tmp/maraschino.deb’

100%[======================================>] 3.738       --.-K/s   in 0,006s  

2011-12-28 09:17:52 (587 KB/s) - '‘/tmp/maraschino.deb’' opgeslagen [3738/3738]

Choose a branch to install
1. Master
2. Experimental
: 1

Python-setuptools will now install the following packages:
flask flask-sqlalchemy cherrypy jsonrpclib ...
Selecteren van voorheen niet geselecteerd pakket maraschino.
(Database inlezen ... 221025 files and directories currently installed.)
Uitpakken van maraschino (uit /tmp/maraschino.deb) ...
Instellen van maraschino (2011.12.28) ...
Cloning into /opt/maraschino...
remote: Counting objects: 4142, done.
remote: Compressing objects: 100% (2010/2010), done.
remote: Total 4142 (delta 2163), reused 4008 (delta 2032)
Receiving objects: 100% (4142/4142), 20.93 MiB | 506 KiB/s, done.
Resolving deltas: 100% (2163/2163), done.
Adding system startup for /etc/init.d/maraschino ...
* Maraschino: daemon not enabled, aborting. See /etc/default/maraschino
Processing triggers for ureadahead ...
Changed daemon settings...
* Starting Maraschino                                                   [ OK ]

Done! Installed Maraschino.
Maraschino is by default located @ http://laptop:7000


Press a key to continue



- m0v1em4n - 2011-12-28 10:42

Hi Guys,

This app looks great

does anyone know if this works on the Ipad 2 browser?
Also I think JDownloader has a web interface xbmc plugin available, could a module be integrated?


- Shaolin - 2011-12-28 10:47

m0v1em4n Wrote:Hi Guys,

This app looks great

does anyone know if this works on the Ipad 2 browser?
Also I think JDownloader has a web interface xbmc plugin available, could a module be integrated?
Yup, it works on iPad 2 safari. I'm currently using it on iPad 2 in fact


- m0v1em4n - 2011-12-28 11:13

thanks Shaolin,


- _Mikie_ - 2011-12-28 11:35

Jdownloader module is on the list but there are other things to come before that.


- gugahoi - 2011-12-28 14:02

Mar2zz Wrote:Can do that, but with a regular pull I need to install a lot of dependency's. I will do, but I really hope mr. Kipling should pick up the internal libs. Makes life a lot easier.

Done:
Code:
mars@laptop:~$ ./LaSi/LaSi.sh

Lazy admin Scripted installers ------------------------
                    ___           ___                  
                   /\  \         /\__\                
                  /::\  \       /:/ _/_       ___      
                 /:/\:\  \     /:/ /\  \     /\__\    
  ___     ___   /:/ /::\  \   /:/ /::\  \   /:/__/    
/\  \   /\__\ /:/_/:/\:\__\ /:/_/:/\:\__\ /::\  \    
\:\  \ /:/  / \:\/:/  \/__/ \:\/:/ /:/  / \/\:\  \__  
  \:\  /:/  /   \::/__/       \::/ /:/  /     \:\/\__\
   \:\/:/  /     \:\  \        \/_/:/  /       \::/  /
    \::/  /       \:\__\         /:/  /        /:/  /  
     \/__/         \/__/         \/__/         \/__/  

------------------------------------------------ Mar2zz
Make a choice to see info or install these apps...
1. Beets                  6. SickBeard
2. CouchPotato            7. Spotweb
3. Headphones             8. Subliminal
4. Maraschino             9. Tranmission
5. Sabnzbdplus           10. XBMC (desktop)

Tip: Type LaSi.sh --help for more install options!

Q. Quit
4


*###############################################################*
*###################### MARASCHINO #############################*
#                                                               #
# Maraschino is a webpage that overviews a XBMC-mediacenter     #
# and serverapplications like Sabnzbd, Sickbeard and others.    #
#                                                               #
# Some of it's features are:                                    #
#   - Customizable applications module with:                    #
#   - recently added media                                      #
#   - Currently playing bar                                     #
#   - Sabnzbd module                                            #
#   - SickBeard coming episodes                                 #
#   - Trakt.tv recommendations                                  #
#   - Diskspace info                                            #
#                                                               #
*###############################################################*
#                                                               #
# Maraschino is written by Mr. Kipling and others               #
#                                                               #
# Visit http://www.maraschinoproject.com/                       #
*###############################################################*

Options:
1. Install Maraschino
2. Set cronjob for Maraschino

B. Back to menu
Q. Quit
1

Are you sure you want to continue and install Maraschino?
[yes/no]: y


Checking for newest packages...
--2011-12-28 09:17:51--  http://dl.dropbox.com/u/18712538//LaSi_Repo/maraschino.deb
Herleiden van dl.dropbox.com... 50.16.214.200, 107.20.134.222, 107.20.132.92, ...
Verbinding maken met dl.dropbox.com|50.16.214.200|:80... verbonden.
HTTP-verzoek is verzonden; wachten op antwoord... 200 OK
Lengte: 3738 (3,7K) [application/x-debian-package]
Wordt opgeslagen als: ‘/tmp/maraschino.deb’

100%[======================================>] 3.738       --.-K/s   in 0,006s  

2011-12-28 09:17:52 (587 KB/s) - '‘/tmp/maraschino.deb’' opgeslagen [3738/3738]

Choose a branch to install
1. Master
2. Experimental
: 1

Python-setuptools will now install the following packages:
flask flask-sqlalchemy cherrypy jsonrpclib ...
Selecteren van voorheen niet geselecteerd pakket maraschino.
(Database inlezen ... 221025 files and directories currently installed.)
Uitpakken van maraschino (uit /tmp/maraschino.deb) ...
Instellen van maraschino (2011.12.28) ...
Cloning into /opt/maraschino...
remote: Counting objects: 4142, done.
remote: Compressing objects: 100% (2010/2010), done.
remote: Total 4142 (delta 2163), reused 4008 (delta 2032)
Receiving objects: 100% (4142/4142), 20.93 MiB | 506 KiB/s, done.
Resolving deltas: 100% (2163/2163), done.
Adding system startup for /etc/init.d/maraschino ...
* Maraschino: daemon not enabled, aborting. See /etc/default/maraschino
Processing triggers for ureadahead ...
Changed daemon settings...
* Starting Maraschino                                                   [ OK ]

Done! Installed Maraschino.
Maraschino is by default located @ http://laptop:7000


Press a key to continue

Brilliant!!!!!


- gugahoi - 2011-12-28 16:15

_Mikie_ Wrote:Also Can we add the ability to pause a show from the module?

Turns out this is not yet available on the API. I will ask for it over on IRC, but just in case @zoggy sees this, would be nice to be able to edit a show's status from the API (show.setstatus ??).

I have added an options menu now with the ability to delete, refresh or update a show on SB.


- _Mikie_ - 2011-12-28 16:23

With so many updates we really need an auto updater!

@gugahoi Thanks.


- Shaolin - 2011-12-28 16:28

_Mikie_ Wrote:With so many updates we really need an auto updater!

@gugahoi Thanks.
That's also in the ever increasing "to do list" lol


- Ringerl - 2011-12-28 17:22

@mrkipling: Great project - one thing I realized is that all paths are absolute so no chance running it from anything other than the www-root. Any special reason for that?