2013-05-17 ( 1.0.0-alpha3 )
New features:
* Basic terminal emulation ( input handling, color support, cursor control ) etc.
The terminal has 2 gesture modes ( scroll, cursor ) and additional soft-input methods for keys like ctrl, escape etc.
Scroll-mode:
Normal scrolling, auto-scrolling and fast-scrolling (right-edge), double tap on top/bottom to jump.
Cursor-mode:
Edges of the screen will send d-pad (up/down/left/right) keys ( multiple pointers/fingers to control speed of repetition ).
Swipe up/down for page-up, page-down and swipe left/right for home and end keys.
Currently the emulator has no utf-8 support and some other features might be missing.
* The ability to start a terminal/process directly.
* The ability to create aliases directly to a profile.
Enabling an alias will add a shortcut in the launcher directly to the selected profile.
Currently 3 aliases can be set (terminal, su, sh). Sadly android is pretty limited in this area and it only allows enabled/disabling of components so there is no way to change titles, but i guess these 3 are most common. Be aware that you might need to re-start your launcher/phone before changes are visible ( this also depends on the launcher active ).
* Updated icon.
Notice:
Because of major changes happening during the alpha-state it is required to do a reinstall instead of an upgrade ( because of possible database/preference changes ).
2013-04-12 ( 1.0.0-alpha2 )
- Cleanup of list items in the history tab ( date/time added ).
- Basic history view which shows the history transcript and allows to email it.
- Ability to create desktop shortcuts from library items added ( contextual actionbar of an item ).
- If a input dialog (gscript-input) is dismissed it now shows a notification that there is a input request pending and clicking it will bring the user straight back to the dialog.
2013-04-10 ( 1.0.0-alpha1 )
Gscript is currently in an alpha state so features might be missing or broken.
The current progress:
Basics of the new library interface.
Scripts are no longer stored within gscript but instead access is now handled through libraries.
Basically the library decides how to browse through files and get their content and the only thing
that is stored within gscript are the additional item attributes and conditions.
Currently this is limited to a LocalStorage library type, but other options might come later on.
Basic process / history management.
Processes now run in a background service and can be accessed through the 'active'-tab in gscript or
by clicking on their notification (if enabled).
Custom shell profiles ( editable in settings )
Instead of a fixed option for sh / su you can now create Shell Profiles which allow changing of the actual
command including color schemes and additional extras like path appending etc.
Launching scripts directly from most file managers ( if they handle files the way they should... Astro works for me )
Launching scripts from anywhere else (terminal, adb etc) using gscript-exec ( found in /data/data/org.gscript/bin )
First start on the dialog framework to allow graphical user input from shell using gscript-input, which should also work outside gscript.
Very minimal console view ( output only and no input methods yet )
What is WIP:
A lot...
A decent console view which will allow user input
History tab only shows the files that have been executed but no way to see the output, time etc
Additional features to the library interface to edit scripts etc
Additional features to the dialog framework ( to allow file selection etc, numeric input )
Additional item conditions like schedules ( now only has a boot condition )
Desktop shortcuts / widget
Backwards compatibility to android 2.2 ( now 2.3 )
More...
Who should install this?
Users who want to help make this better and can live with the fact that things might not be 100% finished
How to start?
Install
Within Gscript click the + sign in the action bar to add a new library.
Select Local Storage
Give the Library a name
And set the path to a folder you want as the root view ( It does not create the folder so make sure it exists ).
Browse the folder from within Gscript and click an item to execute or long click an item to set attributes/condtions ( shell, boot etc )
In settings new Shell profiles can be created or deleted and a default can be set.
The command-line of a shell profile can have %path% in it. If this is the case it will replace this with the final executable script.
If it does not have a %path% argument the script will be send as input.
The binaries gscript-exec, gscript-input can be found in /data/data/org.gscript/bin ( if everything went right and it is a supported ABI )
Usage
gscript-exec filename
gscript-input types
will list available input types
gscript-input [type]
will list the expected arguments
Sample script which uses gscript-input
Code:
# items are ; seperated key:value pairs
# keys with a * prefix are pre-selected
# in case of radiobuttons only the first
# selected item will actually get selected
RESULT=$(gscript-input \
list \
"Choose" \
"Select multiple" \
"0:The first option;
*1:The second option;
*2:The third option;
*3:The last option;")
gscript-input \
toast \
"Selected items: $RESULT"
echo "Selected: $RESULT"
SELECTED=$(gscript-input \
list \
"Choose" \
"Select single" \
"0:The first option;
*1:The second option;
2:The third option;
3:The last option;" \
radio)
if [ $? -eq 1 ]; then
gscript-input \
toast \
"You selected $SELECTED"
fi
echo "Selected: $SELECTED"
NAME=$(gscript-input \
text-entry \
"Name" \
"Please enter your name")
if [ $? -eq 1 ]; then
gscript-input \
dialog-info \
"Welcome" \
"Welcome back $NAME"
echo "$NAME"
fi
gscript-input \
dialog-message \
"Finished" \
"Finished processing script.. do you want to exit now?" \
yesno
if [ $? -eq 1 ]; then
gscript-input \
toast \
"Goodbye $NAME"
exit
fi
* In case of issues please be clear and give as many details as possible.
* During the alpha-state i will keep multiple versions available for download ( so be sure to check version numbers ).
* During the alpha-state it is required to do a re-install instead of an upgrade ( because of possible breaking changes ).
Fantastic, you got my full support ^^;
Very cool. I was going to make something similar to this for mounting\unmounting debian but I don't need to now.
Already uploaded the source... ill create an apk as soon as I have the time.
Link to source repository
Ok ive created an apk.. Ill update the first post with the zip-file attached.
Please be aware that its still beta and that executing scripts without knowing what they do could harm your system!
I just use it to execute "reboot", "tether start/stop", but you can use it to just execute any shell script either as normal shell or as su.
Let me know if it works and if its usefull for anyone.. thanks.
Exactly what I was trying to find time to write!
Great idea.
Thanks!
awesome
perfect for backing up ALL apps thanks
I must be missing something. I put in the script to launch Debian but it dosent appear to launch. Its just a simple command-
cd /sdcard/debian
su
modprobe ext2
su ./bootdeb
Any suggestions?
you shouldnt need the su commands as you are executing it as su... havent tested multilines a lot other then a few simple calls, but maybe thats where it goes wrong.
Can you try making one .sh file and execute that from within the script field?
That actually how i intended it... that way you can easy backup your larger scripts without having to rely on the database used in my app.
So i just use the commands "tether start" and "tether stop" and leave the actual scripts intact.
Or try it without the su commands and do something like this:
/sdcard/debian/modprobe ext2
/sdcard/debian/bootdeb
Let me know if it works else ill look further into it.
Any chance of adding support for shortcuts to run these commands on the desktop?
Already was thinking about that feature..
I'll try to add an option "Create shortcut" that will create a desktop shortcut to run the selected script.
Ok ive been thinking a bit last night and ill add the following features:
Load from file ( from sdcard .sh files )
Create shortcut ( will create a shortcut to the specified script on the home screen )
Save to file ( will save specified script to sdcard )
Ill also change some things in how things are executed to make it more stable ( im going to save the selected script into a temporary .sh file and execute that one ).
Ok ive made some changes:
* Added ability to create a shortcut to a script from the home screen ( long press home screen -> shortcut -> gscript and then select the script you want to create a shortcut of )
* Added ability to save the selected script to sdcard as .sh file
* Changed the way scripts are executed. The script is now first saved to /sdcard/gscript_tmp.sh and then executed using either sh or su.
Todo:
Load .sh files from sd.
Ill update the first post with a new zip and the latest changes.
New zip file in the first post... and also added some screenshots so people know what it does.
New code is also committed to the source repository.
Let me know if all is working ok.
rogro82 said:
Hi all,
Ive created a small application, for people like me who dont like typing the same thing over and over. I use it for things like tethering and reboot.
Its basically a small database in which you can save your scripts and run them easily from within Android ( either with normal shell or su ).
Ive decided to make it open source ( project can be found on google code, a link is listed below ), so people don't have to be afraid something else is executed as root.
[/URL]
Click to expand...
Click to collapse
Damn you beat me to it! I've been working on this exact same thing but I've not had much free time lately (I have a two month old at home). I think the only thing that I'd planned that I'm not sure if you've integrated is the abaility to import scripts, so a *nix guru could write a script and share it with others, and for other applications to call a script via this application. Still AWSOME!
Damn you beat me to it! I've been working on this exact same thing but I've not had much free time lately (I have a two month old at home). I think the only thing that I'd planned that I'm not sure if you've integrated is the abaility to import scripts, so a *nix guru could write a script and share it with others, and for other applications to call a script via this application. Still AWSOME!
Click to expand...
Click to collapse
Todo:
Load .sh files from sd.
Click to expand...
Click to collapse
Ill add that feature tonight or tomorrow but its coming soon... the shortcut feature took most of my time so didnt had time to complete loading ( although I already started some work on it )
About the calling script from within other applications. I dont know if people would like having other apps running script and as other apps dont know what script a user has its almost impossible to create a solid solution. So yes it is possible, but if its actually workable is another thing.
Glad you like it!
package file
Can someone just upload the package file so we can load this from our android devices?
oops sorry
When I downloaded gscript.zip on my iMac it unpacked it as a folder. Stupid Mac...
Anyway here is the link to the .apk file for people on their androids....
Thanks for posting a link for people to use straight from there mobile. Ill add it to the first post.
Added the ability to load .sh files from the sdcard.
Just put your .sh file in the root of the sdcard and add or edit a script and select "Load file". You will now see the file. Click it and the content of the file will be used as the script.
This way you can easily create .sh files on your pc or share them and eventually execute them as shortcuts
Update is in the first post... About to upload the source to the repository
Over the weekend I played a old version of Oregon Trail (1992) on my laptop. It is a fun game that is much shorter than I remembered.
I wanted to see if I could get it to work on my EVO, and thought I would post how I did is so other people could try if they wanted.
First, you will need to download the game. It is considered abandonware now and is avaliable on several sites. I downloaded it HERE. Note that this is not an APK, it is the MS-DOS version. Extract the files onto your SD into a folder called "oregon". Easy enough.
Next go HERE to download Android DosBox. I downloaded the WVGA version as it matched my screen resolution. The instructions at that site show to use ADB to push the APK and the config file to your phone. I just copied both to my SD card, then used a file manager to open the APK and install it. Either way will work. The dosbox.conf file must be on the root of the SD card.
Now you may have noticed that it says on the Android DosBox website that there is no virtual keyboard support. This presented a challenge, but if you have a phone with no keyboard look in the market for WiFi Keyboard. Once you set it as your keyboard it will give you a site that you can go to on your computer that will allow you to type. You can also access the page from another phone and use that to type.
No we are ready. On your phone open aDosBox. The config file you put on the SD already is already programed to mount the SD card as the "S" drive and put you into that folder. So to run the program you need to type 2 commands. First type in "cd\oregon" and hit enter. Do not type the quotes. This will move you to the oregon trail folder you made, and the screen should now say "S:\Oregon\>". Now type "oregon" and the game will load.
Notice the screen while playing will not act like a normal touch screen. You have to pretend it is a touchpad like on a laptop. Slice your finger to move the mouse cursor over buttons you want to press, then tap to click. You can do the sliding and tapping on any part of the screen.
There were then a couple things I wanted to change. I wanted aDosBox to automatically open the game when I ran it, I didn't want to have to type any commands. To do this mount the SD card and use notebook to edit the dosbox.conf file that you put on the root of your SD card. It will be one long line. The last bit of this file after the [autoexec] tag is just like a .BAT file, it allows you to execute commands automatically. Right now it should say:
Code:
mount s /sdcard
s:
The mount command creates a virtual drive that DOS can see. The “s” is the letter that will represent the drive, and /sdcard means that the files on your sd card can be accessed there. The s: is a command that makes that drive the one you are using. We want it to open run the commands I told you above automatically, so press enter after the s: and type this:
Code:
Cd\oregon\
Oregon
While you have this file open you may want to change how fast the game runs. This is a trade off. If you make it run faster animations will skip more, but new screens will load MUCH faster. Look in the code for the “cycles=2100”. This is the number you want to change. I recommend 5000 for fast loading, and OK animations.
Save this file, and unmount the SD card. Now when you open the aDosBox app it will load right into Oregon Trail.
Lastly, The Wifi Keyboard is a bit wonky in the game. If numbers are not working or it will only type CAPS then hold shift while you type the next letter. Then delete that letter and re type. I found that worked.
I thought that I would share this so other people could try it. I think it would be better with more mouse orientated games like “Where in the USA is Carmen Sandiago.” I hope at least someone likes this.
Also, try and beat 9328 as a high score!
Nice guide. Tried to run duke3d but i got a not enough memory error
cewan created the awesome Spotify Controller application. I really like it and I am obviously not the only one.
Of course this made me even more sad that there is no matching server for OS X; there is a package that you can download but it's only Windows and Linux.
So, I took cewan's server, reverse engineered some of it and come up with this version that works on my Mac.
I could certainly have done it a bit better but not without de/recompiling his Java code so I decided to play with its "facade" scripts instead.
It's very much Alpha quality and I don't expect it to 100% match the current Linux & Windows servers, but I am able to play/pause, fast forward/backward, display song information and add songs from Spotify.
My script builds on top of what Cewan posted here.
It should be compatible with Linux, Windows and OS X.
Get it here (SpotifyController.zip)
Notes:
1. To configure, open a terminal window and run install_osx
2. To run the server, run SpotifyController.sh
I hope to turn it into a more "MAC-like" service in the future.
The installation process for this server seems very straightforward but I absolutely cannot get it to work. This is what I keep getting when I run install_osx:
Code:
Installing Spotify Controller Server...
This installation file has been created for OS X. If you are not using that distribution, installation might not work, but it should be pretty straightforward to modify the script to work for your distribution.
This program requires Spotify and Java. This program will now check if Spotify is installed. Press enter to continue...
sh: spotify_install_osx.sh: No such file or directory
Spotify installed.
Proceeding with installation. Creating application shortcut...
cp: resources/KillSpotifyController: No such file or directory
cp: resources/SpotifyController.desktop: No such file or directory
cp: resources/SpotifyController STOP.desktop: No such file or directory
cp: resources/SpotifyController.desktop: No such file or directory
cp: resources/SpotifyController STOP.desktop: No such file or directory
Remapping commands to make OSX commands default
Program is now installed. We will now perform some tests to make sure your installation works correctly. First of all, please start Spotify manually and start playing a song.
Press "Enter" when you have started a song on Spotify:
Trying to pause the song...
/Applications/SpotifyController/install_osx: line 61: commands/spotifyPlayPause_osx: No such file or directory
Did the music stop (press 'y' if it did)?
n
Seems that we have a problem controlling Spotify. Make sure you have Spotify (for Linux, not under Wine) installed, running and playing a song. Also make sure that you have "dbus" installed. This script will now exit. When you have solved the requirements, rerun the installation script.
logout
I'm sure I'm missing something obvious. Any help is appreciated. Thanks.
Sorry, just saw your post :/
It looks like '.' (current directory) may not be in your path.
Are you running install_osx from the terminal?
If so, try running it again after typing:
Code:
export PATH=.:$PATH
No worries. Thanks for replying. I had a feeling something was wrong with the path and I was able to get the server installed. However, I couldn't get the server to launch. It's been a while since I last tried this so I'll give it another try when I get home from work.
Sent from my ADR6300 using XDA App
Ok, to answer your question, yes, I am running it from the Terminal. Here's what is returned when I add your snippet of code:
Code:
Last login: Tue Sep 13 01:03:52 on ttys001
my-computer:~ my_computer$ export PATH=.:$PATH /Users/my_computer/Downloads/SpotifyController/install_osx
-bash: export: `/Users/my_computer/Downloads/SpotifyController/install_osx': not a valid identifier
The only way I could get it to work was to open install_osx in TextEdit and specify the exact location of spotify_install_osx.sh and the other items that are located in the resources. That seems to let me install it, but here's the result:
Code:
Last login: Tue Sep 13 00:57:00 on ttys001
my-computer:~ my_computer$ /Applications/SpotifyController/install_osx ; exit;
Installing Spotify Controller Server...
This installation file has been created for OS X. If you are not using that distribution, installation might not work, but it should be pretty straightforward to modify the script to work for your distribution.
This program requires Spotify and Java. This program will now check if Spotify is installed. Press enter to continue...
Please install Spotify
Spotify installed.
Proceeding with installation. Creating application shortcut...
Remapping commands to make OSX commands default
Program is now installed. We will now perform some tests to make sure your installation works correctly. First of all, please start Spotify manually and start playing a song.
Press "Enter" when you have started a song on Spotify:
Trying to pause the song...
2011-09-13 01:01:13.243 osascript[40158:903] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
Did the music stop (press 'y' if it did)?
y
Trying to play the song...
2011-09-13 01:01:17.285 osascript[40168:903] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
Did the music start (press 'y' if it did)?
y
Trying to skip the song...
2011-09-13 01:01:28.859 osascript[40184:903] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
Did Spotify move to the next song (press 'y' if it did)?
y
Program is now installed. Simply run "Spotify Controller" from your desktop, or type "SpotifyController" to start the server. Make sure you have Spotify up and running with songs in the play queue.
To automatically start Spotify Controller Server when computer boots, add the application to System -> Preferences -> Startup Applications.
Don't forget to install the Spotify Controller app from Android Market.
If you experience any problems, see the file "TROUBLESHOOTING".
Happy Listening!
logout
[Process completed]
After what appears to be a successful install, I get the following when I launch SpotifyController.desktop.
Code:
Last login: Tue Sep 13 01:05:41 on ttys000
/Users/my_computer/Desktop/SpotifyController.desktop ; exit;
my-computer:~ my_computer$ /Users/my_computer/Desktop/SpotifyController.desktop ; exit;
env: xdg-open: No such file or directory
logout
[Process completed]
I'm sure what tinkering I've done has rendered the install useless. Any help is appreciated. I'd love to get this up and running as I paid for Macify but it hardly has any functionality. Thanks!
Rather than the desktop shortcut, can you try to run, in terminal, in the directory you installed from:
Code:
SpotifyController.sh
Cheers,
-Chris.
I did try running it from the terminal in the directory I installed it from. If I remember correctly, I received an "insufficient privileges" error which I thought odd because my account has administrative privileges. I'd have to get back to you with the exact error message when I get home. My job gets in the way of the important stuff.
Thanks again for all the help and suggestions. I really do appreciate it.
Sent from my ADR6300 using XDA App
Does this need a Premium account?
Unable to get Android app to connect
Install of server went ok. Browsing on the same machine to: localhost:1258/SpotifyControllerServlet/SpotifyControllerServlet
Shows me the current track playing. However, the app cannot find the server - even if I manually enter the ip address (192.168.1.2). Both devices are connected to the same wifi...
Can you help?
Brian
Fixed this - the network in the office must have blocked the specific ports required. I can now connect the app using my home network.
HOWEVER, the app is now asking me to upgrade to Spotify Premium or sync music to my phone... I was under the impression this app was to "remote control" my Mac/Spotify i.e. changes tracks without being next to the Mac. I do not wish to play/stream music to my phone.
Have I missed something?
Brian
So I was finally able to launch the server (None of the files were in the right place so I had to change paths, etc.) and connect to it using the app on my Droid Incredible. Spotify Controller was unable to detect the server automatically so I had to specify the server IP manually. After I did that I was connected in a jiff. However, I'm unable to control Spotify from Spotify Controller. All it states is "Nothing is playing..." If I click on "Select song/playlist" both Songs and Playlists are empty. The app states "There are no items..." and I'm under the impression that Playlists should be populated with all of my Spotify playlists and that Songs should list all the songs in my Spotify library.
Anyways, I don't know if this will be of any help, but here's the output when I run spotifycontroller.sh in Terminal:
Code:
2011-10-04 22:12:28.803:INFO::Deployment monitor /Applications/SpotifyController/server/webapps at interval 1
2011-10-04 22:12:28.806:INFO::Deployable added: /Applications/SpotifyController/server/webapps/SpotifyControllerServlet.war
2011-10-04 22:12:28.857:INFO::Extract jar:file:/Applications/SpotifyController/server/webapps/SpotifyControllerServlet.war!/ to /private/var/folders/zb/zbitUE7+E2qHl0QMJkvwTU+++TI/-Tmp-/jetty-0.0.0.0-1260-SpotifyControllerServlet.war-_SpotifyControllerServlet-any-/webapp
2011-10-04 22:12:29.279:INFO::started o.e.j.w.WebAppContext{/SpotifyControllerServlet,file:/private/var/folders/zb/zbitUE7+E2qHl0QMJkvwTU+++TI/-Tmp-/jetty-0.0.0.0-1260-SpotifyControllerServlet.war-_SpotifyControllerServlet-any-/webapp/},/Applications/SpotifyController/server/webapps/SpotifyControllerServlet.war
0 [main] INFO com.cewan.spotify.SpotifyControllerServlet - init
52 [main] INFO com.cewan.spotify.ServerThread - found broadcast: 10.37.129.255
52 [main] INFO com.cewan.spotify.ServerThread - found ipString: 10.37.129.2
53 [main] INFO com.cewan.spotify.ServerThread - found broadcast: 10.211.55.255
53 [main] INFO com.cewan.spotify.ServerThread - found ipString: 10.211.55.2
53 [main] INFO com.cewan.spotify.ServerThread - found broadcast: 192.168.0.255
53 [main] INFO com.cewan.spotify.ServerThread - found ipString: 192.168.0.12
2011-10-04 22:12:29.471:INFO::Deployment monitor /Applications/SpotifyController/server/contexts at interval 1
2011-10-04 22:12:29.472:INFO::Deployable added: /Applications/SpotifyController/server/contexts/move-context.xml
2011-10-04 22:12:29.481:INFO::started o.e.j.s.h.MovedContextHandler{/oldContextPath,null}
2011-10-04 22:12:29.482:INFO::Deployable added: /Applications/SpotifyController/server/contexts/resources.xml
2011-10-04 22:12:29.493:INFO::started o.e.j.s.h.ContextHandler{/resources,file:/Applications/SpotifyController/server/resources/}
2011-10-04 22:12:29.523:INFO::Started [email protected]:1260
Any thoughts?
HOWEVER, the app is now asking me to upgrade to Spotify Premium or sync music to my phone...
Click to expand...
Click to collapse
This is pure speculation on my part since I'm (very obviously) unable to run the app successfully on my phone, but if you're not a premium subscriber, the Spotify app (the one made by Spotify) will only allow you to sync your music on a wi-fi network. You can't access their online library. In order to access the Spotify library (play songs, etc.), you need to be a premium subscriber.
It appears that Spotify Controller has a nifty feature that allows you to add music from Spotify through the official Spotify app. My guess is that this feature of Spotify Controller requires that you have access to the Spotify library, and you will only have access to the library through the official app if you're a premium subscriber. Otherwise Spotify Controller is just a remote.
cyansmoker said:
It's very much Alpha quality and I don't expect it to 100% match the current Linux & Windows servers, but I am able to play/pause, fast forward/backward, display song information and add songs from Spotify.
...
I hope to turn it into a more "MAC-like" service in the future.
Click to expand...
Click to collapse
Works on 10.7.2 pretty much as stated above (w/ Spotify Premium), thanks! Any plans of taking this further? Songs and playlists now show up in the remote UI only after adding them with 'Add from Spotify' and for this you need a Premium account, I suppose. Songs from these lists can then be played/paused/skipped, but only as long as the list is still played in the OSX Spotify client (green speaker).
Changing list in OSX Spotify will correctly affect what song is shown in Android, but changing list in the Android remote (to a list that has been added as above) will only change the OSX Spotify display to show this lists songs. The active list from which songs are played will not change.
Starting the Android client and then choosing a list that has been added as above (without starting the OSX Spotify beforehand) will start OSX Spotify, but will not make the list active, i.e. no songs will play before one from the list has been started from the OSX Spotify.
Haven't tested the Win/Linux versions though, so I don't really know if this should work on OSX or not.
I think there's a lot of people looking for a stable and feature-rich Spotify remote for Android. I certainly am and would very much appreciate any development.
This is what I did in Terminal, no problems connecting after this:
$ cd Downloads/SpotifyController
$ sudo ./install_osx
$ chmod u+x SpotifyController.sh
$ ./SpotifyController.sh
[CTRL-c to quit]
Btw, I think the .desktop-files are for Linux, shouldn't be used in OSX.
jerrycan said:
This is what I did in Terminal, no problems connecting after this:
$ cd Downloads/SpotifyController
$ sudo ./install_osx
$ chmod u+x SpotifyController.sh
$ ./SpotifyController.sh
[CTRL-c to quit]
Btw, I think the .desktop-files are for Linux, shouldn't be used in OSX.
Click to expand...
Click to collapse
This worked for me. Using Spotify Unlimited.
This actually works quite well for me. Thanks! The android client does give a warning, that it's recommended to update the server install, and that not all features in the client are available at the moment. Are there plans to integrate this experimental support for mac into the project?
nicxz said:
This actually works quite well for me. Thanks! The android client does give a warning, that it's recommended to update the server install, and that not all features in the client are available at the moment. Are there plans to integrate this experimental support for mac into the project?
Click to expand...
Click to collapse
Though this topic is quite old, i'd like to push it. Simply coz there is now nice-working remote for android-mac out there.
I can now control the song playing (skip, play/pause, volume) but still do not have access to my playlists and stuff...
Anyone any idea?
sophisticated_one said:
Though this topic is quite old, i'd like to push it. Simply coz there is now nice-working remote for android-mac out there.
I can now control the song playing (skip, play/pause, volume) but still do not have access to my playlists and stuff...
Anyone any idea?
Click to expand...
Click to collapse
Hi,
I have installed this server and it works quite well. Allthough is not finished, I wonder if you have any plans make some more improvements =)
I would love to help! hehe..
Regards,
Alberto
Oh I had completely forgotten about this app.
Let me check if I can find where I put the source code for starters...
cyansmoker said:
Oh I had completely forgotten about this app.
Let me check if I can find where I put the source code for starters...
Click to expand...
Click to collapse
just wondering if you had the original file from the nexus.zteo website, link isnt working for me, website is down i think. the file download worked from there, but not the one you posted, for mac at least, THANKS!!!!
It's working wonderfully, except for that the app opens the Spotify Web Player when I want it to open the Spotify application. Any ideas on how I could manage this?
(Android app, Macbook Pro retina.)
Thanx!
Not working..any help will be appreciated.. OS X Version 10.9.1 & Samsung Galaxy S3
Last login: Sat Jan 18 09:34:48 on ttys001
DebasishGhoshal:~ pranabmandal$ /Other\ folder/Downloads/SpotifyController/install ; exit;
Installing Spotify Controller Server...
This installation file has been created for Ubuntu. If you are not using that distribution, installation might not work, but it should be pretty straightforward to modify the script to work for your distribution.
This program requires Spotify and Java. This program will now check if they are installed. Press enter to continue...
Password:
sh: spotify_install.sh: No such file or directory
Spotify installed.
Do you want to install Java (default-jre)? Press y or n.
y
Installing Java...
sudo: apt-get: command not found
Installation of dependencies finished.
Proceeding with installation. Creating application shortcut...
cp: resources/KillSpotifyController: No such file or directory
cp: resources/icon.png: No such file or directory
cp: resources/icon_stop.png: No such file or directory
cp: resources/SpotifyController.desktop: No such file or directory
cp: resources/SpotifyController STOP.desktop: No such file or directory
cp: directory /usr/share/applications does not exist
cp: directory /usr/share/applications does not exist
Program is now installed. We will now perform some tests to make sure your installation works correctly. First of all, please start Spotify manually and start playing a song.
Press "Enter" when you have started a song on Spotify:
Trying to pause the song...
/Other folder/Downloads/SpotifyController/install: line 63: commands/spotifyPlayPause: No such file or directory
Did the music stop (press 'y' if it did)?
n
Seems that we have a problem controlling Spotify. Make sure you have Spotify (for Linux, not under Wine) installed, running and playing a song. Also make sure that you have "dbus" installed. This script will now exit. When you have solved the requirements, rerun the installation script.
logout
[Process completed]
Quick tip to enable file sharing on Windows 8 RT:
1. Open the desktop mode
2. Open Explorer
3. Right click on "Computer" and choose "Manage"
4. Expand "Services and Applications"
5. Select "Services"
6. Find the "Server" service and double click it to open.
7. Change the Startup type to "Automatic" or "Automatic (Delayed Start)
8. Click "OK"
9. Right click on the Server service and choose "Start"
You can then make shares as if on a normal Windows 8 PC. This also seems to give Libraries the option to share as well.
Ben
Skip the first 5 steps: just type "services.msc" into Start, and hit Enter.
You can also use the Shared Folders snap-in to Management Console (I can't remember the exact msc filename right now) to share folders beyond what the GUI permits.
GoodDayToDie said:
Skip the first 5 steps: just type "services.msc" into Start, and hit Enter.
You can also use the Shared Folders snap-in to Management Console (I can't remember the exact msc filename right now) to share folders beyond what the GUI permits.
Click to expand...
Click to collapse
Tried to make it as easy as possible!! :laugh: