Working in MiniSub as standalone app

Jamstash is an HTML5 Mini Player for the Subsonic streaming server

Moderator: moderators

Working in MiniSub as standalone app

Postby amhairghin » Sat Apr 13, 2013 1:31 pm

Hi,

I'm working in MiniSub as standalone app. Is very simply, a window that loads WebKit and load MiniSub inside.

There is any problem with this? Of course the code will be GPL"ed". I think that today I'll a very alpha version ;)

Greetings!
amhairghin
 
Posts: 32
Joined: Sat Apr 13, 2013 1:26 pm

Re: Working in MiniSub as standalone app

Postby amhairghin » Sat Apr 13, 2013 7:15 pm

Hi

Edited and Updated
Updated to use version 4.0 of MiniSub. As beta expect bugs!!!!

http://d.pr/f/UxHA -> Version 0.4 for Mac OS
http://db.tt/2ZjA4Dap -> Version 0.2 for Linux (thanks DJQuano!) Not updated yet :(

The source: https://github.com/ogarcia/Jamstash
Early page: http://jamstash.moire.org/

Note that this is a very early release. Is fully functional, but I have a lot of work to leave it fine...

The source is a TideSDK project (http://www.tidesdk.org/), if you have Windows or Linux you can donwload it, load in TideSDK and make the exe file. I promise make all versions, but in more advanced state. ;)

All help or critics are welcome.

Greetings.
Last edited by amhairghin on Thu May 09, 2013 10:12 pm, edited 3 times in total.
amhairghin
 
Posts: 32
Joined: Sat Apr 13, 2013 1:26 pm

Re: Working in MiniSub as standalone app

Postby amhairghin » Sat Apr 13, 2013 8:04 pm

http://db.tt/8J3FIbK4 -> Linux version (Thanks to DJ-Quano).
amhairghin
 
Posts: 32
Joined: Sat Apr 13, 2013 1:26 pm

Re: Working in MiniSub as standalone app

Postby amhairghin » Sun Apr 14, 2013 6:44 pm

http://d.pr/f/Lcbe -> Version 0.2 for MacOS
amhairghin
 
Posts: 32
Joined: Sat Apr 13, 2013 1:26 pm

Re: Working in MiniSub as standalone app

Postby amhairghin » Sun Apr 14, 2013 10:17 pm

http://db.tt/2ZjA4Dap -> Version 0.2 for Linux (thanks DJQuano!)
amhairghin
 
Posts: 32
Joined: Sat Apr 13, 2013 1:26 pm

Re: Working in MiniSub as standalone app

Postby klm46 » Tue Apr 16, 2013 10:55 am

you guys are amazing!

this is great at all, thanks!
klm46
 
Posts: 12
Joined: Wed Dec 12, 2012 10:02 am

Re: Working in MiniSub as standalone app

Postby klm46 » Tue Apr 16, 2013 11:32 am

sorry for doublepost, but i got an little issue. the "created" output seems to be broken. if using the chrome-app connecting the same server, the output is correct.


https://dl.dropboxusercontent.com/u/414 ... inisub.png
klm46
 
Posts: 12
Joined: Wed Dec 12, 2012 10:02 am

Re: Working in MiniSub as standalone app

Postby amhairghin » Tue Apr 16, 2013 4:25 pm

klm46 wrote:sorry for doublepost, but i got an little issue. the "created" output seems to be broken. if using the chrome-app connecting the same server, the output is correct.


You talk about the NaN-NaN-NaN in created column? I checked the source and the bus is in the Minisub itself. I post a bug about this (https://github.com/tsquillario/MiniSub/issues/97).

Greetings.
amhairghin
 
Posts: 32
Joined: Sat Apr 13, 2013 1:26 pm

Re: Working in MiniSub as standalone app

Postby amhairghin » Wed Apr 17, 2013 10:30 pm

Updated to use version 3.0 of MiniSub. As beta expect bugs!!!!

http://d.pr/f/rACy -> Version 0.3 for Mac OS
amhairghin
 
Posts: 32
Joined: Sat Apr 13, 2013 1:26 pm

Re: Working in MiniSub as standalone app

Postby tsquillario » Wed May 01, 2013 8:48 pm

Interesting...how is this different than using Chrome and creating an "Application Shortcut"? Seems to be very similar.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Working in MiniSub as standalone app

Postby amhairghin » Thu May 02, 2013 12:34 pm

tsquillario wrote:Interesting...how is this different than using Chrome and creating an "Application Shortcut"? Seems to be very similar.


Hi.

The only diference is that if you not use Chrome and you wish all Chrome features then you can use this standalone version. If you see i don't touch your code, only add some functions to work with TideSDK. In MacOS (for example) work fine because i can close the AppWindow and continue listen (with Chrome you can't do this).

Greetings :)
amhairghin
 
Posts: 32
Joined: Sat Apr 13, 2013 1:26 pm

Re: Working in MiniSub as standalone app

Postby tsquillario » Thu May 02, 2013 12:52 pm

amhairghin wrote:
tsquillario wrote:Interesting...how is this different than using Chrome and creating an "Application Shortcut"? Seems to be very similar.


Hi.

The only diference is that if you not use Chrome and you wish all Chrome features then you can use this standalone version. If you see i don't touch your code, only add some functions to work with TideSDK. In MacOS (for example) work fine because i can close the AppWindow and continue listen (with Chrome you can't do this).

Greetings :)

Could you point the AppWindow to http://tsquillario.github.io/Jamstash?

I guess if your server is local then everything is self contained, makes sense for that case.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Working in MiniSub as standalone app

Postby amhairghin » Thu May 09, 2013 8:08 am

tsquillario wrote:Could you point the AppWindow to http://tsquillario.github.io/Jamstash?

I guess if your server is local then everything is self contained, makes sense for that case.


Sorry for taking time to answer, but too work this days...

I can point the AppWindow directly to github, but the idea is that you can use it offline with local server. On the other hand, I have to add some js lines in the index for local window support and configuration.

Talking about this. I have a proposal to you. In my app I store all config values in a config-file because the cookies are destroyed web the app closes. With this method I open the app, read the file, create a cookie and configure the app (because I cannot touch your code). How about if you make a separate store-backend.js to store data? You can implement a save_config() and load_config() functions (for example) and in store-backend make the save cookie. With this it's easy change it to save settings in a file, database, etc. And I can create a portable app to FirefoxOS :)

What do you say?
amhairghin
 
Posts: 32
Joined: Sat Apr 13, 2013 1:26 pm

Re: Working in MiniSub as standalone app

Postby tsquillario » Thu May 09, 2013 1:18 pm

amhairghin wrote:
tsquillario wrote:Could you point the AppWindow to http://tsquillario.github.io/Jamstash?

I guess if your server is local then everything is self contained, makes sense for that case.


Sorry for taking time to answer, but too work this days...

I can point the AppWindow directly to github, but the idea is that you can use it offline with local server. On the other hand, I have to add some js lines in the index for local window support and configuration.

Talking about this. I have a proposal to you. In my app I store all config values in a config-file because the cookies are destroyed web the app closes. With this method I open the app, read the file, create a cookie and configure the app (because I cannot touch your code). How about if you make a separate store-backend.js to store data? You can implement a save_config() and load_config() functions (for example) and in store-backend make the save cookie. With this it's easy change it to save settings in a file, database, etc. And I can create a portable app to FirefoxOS :)

What do you say?

Right now defaults for settings are set from the global.js file https://github.com/tsquillario/Jamstash/blob/gh-pages/js/global.js, then overwritten if a value is set in a cookie.

Couldn't you just edit this file?
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Working in MiniSub as standalone app

Postby amhairghin » Thu May 09, 2013 1:40 pm

tsquillario wrote:Right now defaults for settings are set from the global.js file https://github.com/tsquillario/Jamstash/blob/gh-pages/js/global.js, then overwritten if a value is set in a cookie.

Couldn't you just edit this file?


Mmm, i think that i need modify https://github.com/tsquillario/Jamstash/blob/gh-pages/js/utils.js, concretely the getValue and setValue so use a store_in_file(tm) instead cookie ;)
amhairghin
 
Posts: 32
Joined: Sat Apr 13, 2013 1:26 pm

Next

Return to Jamstash (formerly MiniSub)

Who is online

Users browsing this forum: No registered users and 4 guests