installing vitunes

48 views
Skip to first unread message
Message has been deleted

anuarlezama

unread,
Jul 11, 2011, 10:43:13 AM7/11/11
to vitunes-users
I am running Mac OS X 10.6.8 and pretty much I have all the
requirements listed at the website but I can't make the vitunes work,
I can't even start help on vitunes
Thanks

Daniel Choi

unread,
Jul 11, 2011, 10:48:41 AM7/11/11
to vitunes-users

To help me figure out the problem, please tell me what steps you went
through to install ViTunes and what the Terminal printed out at each
step.

anuarlezama

unread,
Jul 11, 2011, 11:04:35 AM7/11/11
to vitunes-users
First thing I installed Ruby,
I tried installing it through ports, but vmail needs ruby 19.0, so I
installed ruby 19.0 following these instructions:
http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-mac

when typing ruby -v this is what I get

ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.8.0]

Next I got Vim installed through mac ports, I installed vim @7.3.237
and vim-app @7.3.237
vim -v
version 7.3.237

Last, I did the sudo gem install vitunes, I launch vitunes on
terminal, a screen opens and I try to use help via "?" I get the
following

Welcome to ViTunes

Press ? for help
--------------------------------------------------------------------------------
-
-
-
-
-
-
-
:call <SID>help()<CR>


E81: Using <SID> not in a script context //after pressing enter

Daniel Choi

unread,
Jul 11, 2011, 11:10:13 AM7/11/11
to vitunes-users

Try creating a text file named `.vimrc` in your home directory. It can
be blank. Then try starting vitunes again.

You can create this file from the command line like this:

cd ~
touch .vimrc

anuarlezama

unread,
Jul 11, 2011, 11:21:20 AM7/11/11
to vitunes-users
help is working!,
question, was installing rmv a good choice or doesn´t matter?
Now I am running vitunes, If I press the space bar, the iTunes play/
pauses songs, if i press "." I get the name of my current song, I am
trying the Navigations commands but nothing happens.

Daniel Choi

unread,
Jul 11, 2011, 11:38:16 AM7/11/11
to vitune...@googlegroups.com, dhc...@gmail.com
Great to hear that. RVM is a good choice.

Try the navigation commands with \ [backslash]instead of a , [comma]

Let me know if that works.

On Mon, Jul 11, 2011 at 11:21 AM, anuarlezama <anuar...@gmail.com> wrote:

> from: anuarlezama <anuar...@gmail.com>
> date: Mon, Jul 11 08:21 AM -07:00 2011
> to: vitunes-users <vitune...@googlegroups.com>
> reply-to: vitune...@googlegroups.com
> subject: Re: installing vitunes
>
> help is working!,
> question, was installing rmv a good choice or doesnt matter?

anuarlezama

unread,
Jul 11, 2011, 11:41:35 AM7/11/11
to vitunes-users
backslash doesn't work, / [slash] is somehow responding, but I am
stuck with a blank page just saying welcome to vitunes and the type ?
for help...can´t see any track or search any music...


On Jul 11, 5:38 pm, Daniel Choi <dhc...@gmail.com> wrote:
> Great to hear that. RVM is a good choice.
>
> Try the navigation commands with \ [backslash]instead of a , [comma]
>
> Let me know if that works.
>
>
>
>
>
>
>
> On Mon, Jul 11, 2011 at 11:21 AM, anuarlezama <anuarlez...@gmail.com> wrote:
> > from: anuarlezama <anuarlez...@gmail.com>

Daniel Choi

unread,
Jul 11, 2011, 11:44:34 AM7/11/11
to vitune...@googlegroups.com, dhc...@gmail.com
Restart Vim and Vitunes. Then type :map and then press ENTER

Send me a copy of list of key mappings that you see.

On Mon, Jul 11, 2011 at 11:41 AM, anuarlezama <anuar...@gmail.com> wrote:

> from: anuarlezama <anuar...@gmail.com>
> date: Mon, Jul 11 08:41 AM -07:00 2011


> to: vitunes-users <vitune...@googlegroups.com>
> reply-to: vitune...@googlegroups.com
> subject: Re: installing vitunes
>

> backslash doesn't work, / [slash] is somehow responding, but I am
> stuck with a blank page just saying welcome to vitunes and the type ?

> for help...cant see any track or search any music...


>
>
> On Jul 11, 5:38pm, Daniel Choi <dhc...@gmail.com> wrote:
>> Great to hear that. RVM is a good choice.
>>
>> Try the navigation commands with \ [backslash]instead of a , [comma]
>>
>> Let me know if that works.
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Jul 11, 2011 at 11:21 AM, anuarlezama <anuarlez...@gmail.com> wrote:
>> > from: anuarlezama <anuarlez...@gmail.com>
>> > date: Mon, Jul 11 08:21 AM -07:00 2011
>> > to: vitunes-users <vitune...@googlegroups.com>
>> > reply-to: vitune...@googlegroups.com
>> > subject: Re: installing vitunes
>>
>> > help is working!,
>> > question, was installing rmv a good choice or doesnt matter?
>> > Now I am running vitunes, If I press the space bar, the iTunes play/
>> > pauses songs, if i press "." I get the name of my current song, I am
>> > trying the Navigations commands but nothing happens.

-- Sent from Vmail http://danielchoi.com/software

anuarlezama

unread,
Jul 11, 2011, 11:54:41 AM7/11/11
to vitunes-users
vitunes
-----------

<CR> *@:call <SNR>14_playTrack()<CR>
<Space> *@:call <SNR>14_itunesControl("playpause")<CR>
+ *@:call <SNR>14_changeVolume("volumeUp")<CR>
- *@:call <SNR>14_changeVolume("volumeDown")<CR>
. *@:call <SNR>14_currentTrackAndPlaylist()<CR>
<< *@:call <SNR>14_itunesControl("backTrack")<CR>
< *@:call <SNR>14_prevTrack()<CR>
= *@:call <SNR>14_changeVolume("volumeUp")<CR>
>> *@:call <SNR>14_itunesControl("nextTrack")<CR>
> *@:call <SNR>14_nextTrack()<CR>
? *@:call <SNR>14_help()<CR>
\z *@:call <SNR>14_musicStore()<CR>
\i *@:close<CR>
\P *@:call <SNR>14_gotoCurrentPlaylist()<CR>
\c *@:call <SNR>14_openAddToPlaylistDropDown()<CR>
\A *@:call <SNR>14_openAlbumDropdown()<CR>
\g *@:call <SNR>14_openGenreDropdown()<CR>
\a *@:call <SNR>14_openArtistDropdown()<CR>
\p *@:call <SNR>14_openPlaylistDropdown()<CR>
\s *@:call <SNR>14_openQueryWindow()<CR>
n \I * :call ViTunes()<CR>:only<CR>
n \i * :call ViTunes()<CR>
n gx <Plug>NetrwBrowseX
n <Plug>NetrwBrowseX * :call netrw#NetrwBrowseX(expand("<cWORD>"),
0)<CR>
v <BS> "-d
v <D-x> "*d
v <D-c> "*y
v <D-v> "-d"*P
n <D-v> "*P



vim
---------

n \I * :call ViTunes()<CR>:only<CR>
n \i * :call ViTunes()<CR>
n gx <Plug>NetrwBrowseX
n <Plug>NetrwBrowseX * :call netrw#NetrwBrowseX(expand("<cWORD>"),
0)<CR>
v <BS> "-d
v <D-x> "*d
v <D-c> "*y
v <D-v> "-d"*P
n <D-v> "*P

Daniel Choi

unread,
Jul 11, 2011, 12:25:26 PM7/11/11
to vitune...@googlegroups.com, dhc...@gmail.com
OK it looks like your leader key is a backslash

So when you're in Vitunes, \p should show your playlists and \a should
show artists, etc.

Are you sure these don't work? Try pressing <Esc> before you try them.


On Mon, Jul 11, 2011 at 11:54 AM, anuarlezama <anuar...@gmail.com> wrote:

> from: anuarlezama <anuar...@gmail.com>
> date: Mon, Jul 11 08:54 AM -07:00 2011


> to: vitunes-users <vitune...@googlegroups.com>
> reply-to: vitune...@googlegroups.com
> subject: Re: installing vitunes
>


--
Sent from vmail. http://danielchoi.com/software/vmail.html

anuarlezama

unread,
Jul 11, 2011, 12:38:06 PM7/11/11
to vitunes-users
I also noticed that but I cant type a backslash, I can do a ":\a" but
not the "\a", I can type the "/a", but does nothing, I tried esc
first, nothing.


On Jul 11, 6:25 pm, Daniel Choi <dhc...@gmail.com> wrote:

Daniel Choi

unread,
Jul 11, 2011, 12:48:35 PM7/11/11
to vitune...@googlegroups.com, dhc...@gmail.com
First off, don't use /

You shouldn't see the backslash or the a when you type \a

When Vim has two modes: Normal and Insert. When you're in Insert mode,
you'll see INSERT in the lower left of the Vim screen.

You need to type \a in normal mode. If you're in insert mode, get back
into normal mode by pressing ESC

Try typing \a in normal mode and see if anything on the screen changes.


On Mon, Jul 11, 2011 at 12:38 PM, anuarlezama <anuar...@gmail.com> wrote:

> from: anuarlezama <anuar...@gmail.com>
> date: Mon, Jul 11 09:38 AM -07:00 2011


> to: vitunes-users <vitune...@googlegroups.com>
> reply-to: vitune...@googlegroups.com
> subject: Re: installing vitunes
>

Daniel Choi

unread,
Jul 11, 2011, 12:50:19 PM7/11/11
to Daniel Choi, vitune...@googlegroups.com, dhc...@gmail.com
Here are exact steps:

1. start ViTunes with the command `vitunes`
2. type `\a`
3. see what happens

On Mon, Jul 11, 2011 at 12:48 PM, Daniel Choi <dhc...@gmail.com> wrote:

> from: Daniel Choi <dhc...@gmail.com>
> date: Mon, Jul 11 12:48 PM -04:00 2011
> to: vitune...@googlegroups.com
> cc: dhc...@gmail.com
> subject: Re: installing vitunes

anuarlezama

unread,
Jul 11, 2011, 1:06:37 PM7/11/11
to vitunes-users
I cannot use backslash, everytime I type it the error sound plays and
then if I continue typing a this apperas:
E21: Cannot make changes, 'modifiable' is off
I haven´t changed anything in Vim, so I guess Normal mode should be
the mode I am using



On Jul 11, 6:50 pm, Daniel Choi <dhc...@gmail.com> wrote:
> Here are exact steps:
>
> 1. start ViTunes with the command `vitunes`
> 2. type `\a`
> 3. see what happens
>
>
>
>
>
>
>
>
>
> On Mon, Jul 11, 2011 at 12:48 PM, Daniel Choi <dhc...@gmail.com> wrote:
> > from: Daniel Choi <dhc...@gmail.com>
> > date: Mon, Jul 11 12:48 PM -04:00 2011
> > to: vitune...@googlegroups.com
> > cc: dhc...@gmail.com
> > subject: Re: installing vitunes
>
> > First off, don't use /
>
> > You shouldn't see the backslash or the a when you type \a
>
> > When Vim has two modes: Normal and Insert. When you're in Insert mode,
> > you'll see INSERT in the lower left of the Vim screen.
>
> > You need to type \a in normal mode. If you're in insert mode, get back
> > into normal mode by pressing ESC
>
> > Try typing \a in normal mode and see if anything on the screen changes.
>

Daniel Choi

unread,
Jul 11, 2011, 1:12:28 PM7/11/11
to vitunes-users

OK try doing this after step 1

type

:set modifiable

and press enter.

Then try \a

anuarlezama

unread,
Jul 11, 2011, 1:13:56 PM7/11/11
to vitunes-users
Let me go step by step...
I have two terminal windows, one with vitunes and one with vim...
Do I need to do something with the vim window? do I have to open it
everytime I want to use vitunes?

Then I select the vitunes window and try to do a \[backslash], error
sound
All of these work
SPACEBAR play/pause
>> next track in iTunes current playlist
<< previous track in iTunes current playlist
. show current track and playlist, if any


On Jul 11, 6:50 pm, Daniel Choi <dhc...@gmail.com> wrote:
> Here are exact steps:
>
> 1. start ViTunes with the command `vitunes`
> 2. type `\a`
> 3. see what happens
>
>
>
>
>
>
>
>
>
> On Mon, Jul 11, 2011 at 12:48 PM, Daniel Choi <dhc...@gmail.com> wrote:
> > from: Daniel Choi <dhc...@gmail.com>
> > date: Mon, Jul 11 12:48 PM -04:00 2011
> > to: vitune...@googlegroups.com
> > cc: dhc...@gmail.com
> > subject: Re: installing vitunes
>
> > First off, don't use /
>
> > You shouldn't see the backslash or the a when you type \a
>
> > When Vim has two modes: Normal and Insert. When you're in Insert mode,
> > you'll see INSERT in the lower left of the Vim screen.
>
> > You need to type \a in normal mode. If you're in insert mode, get back
> > into normal mode by pressing ESC
>
> > Try typing \a in normal mode and see if anything on the screen changes.
>

anuarlezama

unread,
Jul 11, 2011, 1:16:40 PM7/11/11
to vitunes-users
your suggestion :set modifiable is working...

Daniel Choi

unread,
Jul 11, 2011, 1:20:25 PM7/11/11
to vitunes-users

It's weird that you had to :set modifiable to get this working

You don't have to open a Vim window to start ViTunes.

Try starting ViTunes with the command `vitunes` instead of typing
`vim`. That should
open Vim to ViTunes in a single window.

anuarlezama

unread,
Jul 11, 2011, 1:24:45 PM7/11/11
to vitunes-users
I think the set thing does the trick, but I have to do it everytime I
open vitunes, can I set that on vim?

On Jul 11, 7:13 pm, anuarlezama <anuarlez...@gmail.com> wrote:

anuarlezama

unread,
Jul 11, 2011, 1:32:51 PM7/11/11
to vitunes-users
Apparently now it works great, I restarted everything and now it works
without typing the :set modifiable

anuarlezama

unread,
Jul 11, 2011, 1:36:53 PM7/11/11
to vitunes-users
yep I think this is it! Thank You Very Much for your patience!
one last question, when looking for an artist "\a" is there a way to
scroll down or you only have the option to type the name of the
artist?

Daniel Choi

unread,
Jul 11, 2011, 1:54:16 PM7/11/11
to vitune...@googlegroups.com, dhc...@gmail.com
Try putting this line in your .vimrc file you created in your home
directory:

set modifiable

See if that works.


On Mon, Jul 11, 2011 at 01:24 PM, anuarlezama <anuar...@gmail.com> wrote:

> from: anuarlezama <anuar...@gmail.com>
> date: Mon, Jul 11 10:24 AM -07:00 2011


> to: vitunes-users <vitune...@googlegroups.com>
> reply-to: vitune...@googlegroups.com
> subject: Re: installing vitunes
>

> I think the set thing does the trick, but I have to do it everytime I
> open vitunes, can I set that on vim?
>

> On Jul 11, 7:13pm, anuarlezama <anuarlez...@gmail.com> wrote:
>> Let me go step by step...
>> I have two terminal windows, one with vitunes and one with vim...
>> Do I need to do something with the vim window? do I have to open it
>> everytime I want to use vitunes?
>>
>> Then I select the vitunes window and try to do a \[backslash], error
>> sound
>> All of these work
>> SPACEBAR play/pause
>> >> next track in iTunes current playlist
>> << previous track in iTunes current playlist
>> . show current track and playlist, if any
>>

Daniel Choi

unread,
Jul 11, 2011, 1:57:59 PM7/11/11
to vitune...@googlegroups.com, dhc...@gmail.com
OK I'm glad it's working


To jump to artist:

1. press \a
2. start typing the artist name. Just 2 or 3 characters. Case sensitive.
3. You'll see the list shorten.
4. Press CTRL-n until you highlight the right artist in the list
5. Press ENTER

On Mon, Jul 11, 2011 at 01:36 PM, anuarlezama <anuar...@gmail.com> wrote:

> from: anuarlezama <anuar...@gmail.com>
> date: Mon, Jul 11 10:36 AM -07:00 2011


> to: vitunes-users <vitune...@googlegroups.com>
> reply-to: vitune...@googlegroups.com
> subject: Re: installing vitunes
>

> yep I think this is it! Thank You Very Much for your patience!
> one last question, when looking for an artist "\a" is there a way to
> scroll down or you only have the option to type the name of the
> artist?
>
>
>
> On Jul 11, 7:32pm, anuarlezama <anuarlez...@gmail.com> wrote:
>> Apparently now it works great, I restarted everything and now it works
>> without typing the :set modifiable
>>

>> On Jul 11, 7:24pm, anuarlezama <anuarlez...@gmail.com> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > I think the set thing does the trick, but I have to do it everytime I
>> > open vitunes, can I set that on vim?
>>

>> > On Jul 11, 7:13pm, anuarlezama <anuarlez...@gmail.com> wrote:
>>
>> > > Let me go step by step...
>> > > I have two terminal windows, one with vitunes and one with vim...
>> > > Do I need to do something with the vim window? do I have to open it
>> > > everytime I want to use vitunes?
>>
>> > > Then I select the vitunes window and try to do a \[backslash], error
>> > > sound
>> > > All of these work
>> > > SPACEBAR play/pause
>> > > >> next track in iTunes current playlist
>> > > << previous track in iTunes current playlist
>> > > . show current track and playlist, if any
>>

anuarlezama

unread,
Jul 11, 2011, 2:12:48 PM7/11/11
to vitunes-users
perfect, I just saw that in the help, thank again, great job! love
your vitunes!
Reply all
Reply to author
Forward
0 new messages