shell-fm

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
Elep.Repu
Level 1
Level 1
Posts: 4
Joined: Fri Jul 31, 2009 6:04 pm

shell-fm

Post by Elep.Repu »

Shell.FM 0.5 Installation


Requirements:
* libmad
* libao (optional)


Installation:

1. Run "make".
2. Run "make install" as root.
3. Read the manual for per-user setup information.

NOTE: The Makefile uses /usr as destdir and $DESTDIR/man as MANDIR by default.
You can override those on the command line. For example, Debian/Ubuntu users
usually have their manuals in /usr/share/man, so they would install shell-fm
like this:

$ make install DESTDIR=/usr MANDIR=/usr/share/man

NOTE: To install a stripped version of shell-fm (about 10K smaller), use
"install-strip" instead of "install":

$ make install-strip

Code: Select all

aji@aji-desktop ~/prog/Linux/src/shell-fm/jkramer-shell-fm-7a4ba409f8776903d6dc54acd12ccd0d242592f8 $ make
make -C source
make[1]: Entering directory `/home/aji/prog/Linux/src/shell-fm/jkramer-shell-fm-7a4ba409f8776903d6dc54acd12ccd0d242592f8/source'
make[1]: `shell-fm' is up to date.
make[1]: Leaving directory `/home/aji/prog/Linux/src/shell-fm/jkramer-shell-fm-7a4ba409f8776903d6dc54acd12ccd0d242592f8/source'
make -C manual
make[1]: Entering directory `/home/aji/prog/Linux/src/shell-fm/jkramer-shell-fm-7a4ba409f8776903d6dc54acd12ccd0d242592f8/manual'
gzip -9 -c shell-fm.1 > shell-fm.1.gz
make[1]: Leaving directory `/home/aji/prog/Linux/src/shell-fm/jkramer-shell-fm-7a4ba409f8776903d6dc54acd12ccd0d242592f8/manual'
aji@aji-desktop ~/prog/Linux/src/shell-fm/jkramer-shell-fm-7a4ba409f8776903d6dc54acd12ccd0d242592f8 $ sudo make install
mkdir -p /usr/bin /usr/man/man1
install source/shell-fm /usr/bin/shell-fm
install manual/shell-fm.1.gz /usr/man/man1
aji@aji-desktop ~/prog/Linux/src/shell-fm/jkramer-shell-fm-7a4ba409f8776903d6dc54acd12ccd0d242592f8 $ shell-fm 
bash: /usr/bin/shell-fm: cannot execute binary file
aji@aji-desktop ~/prog/Linux/src/shell-fm/jkramer-shell-fm-7a4ba409f8776903d6dc54acd12ccd0d242592f8 $ 
I installed libmad0-dev, and libao2, libao2-dev.
So, why isn't this working? "cannot execute binary file"

User avatar
lagagnon
Level 7
Level 7
Posts: 1879
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: shell-fm

Post by lagagnon »

Are the permission on /usr/bin/shell-fm correct?

ls -al /usr/bin/shell-fm

should show that it is executable by users, otherwise: "sudo chmod a+x /usr/bin/shell-fm".

User avatar
DrHu
Level 17
Level 17
Posts: 7524
Joined: Wed Jun 17, 2009 8:20 pm

Re: shell-fm

Post by DrHu »

Elep.Repu wrote:Shell.FM 0.5 Installation ...Requirements: * libmad, * libao (optional)
http://nex.scrapping.cc/shell-fm/
  • GitHub also prepares release packages for you to download.
    You might also want to check if there's a package available for your Linux distribution. However, those packages are maintained by other shell-fm users and I can not guarantee that they're up to date and/or working.
Is that the product you are referring to..
Do you also have an account on last.fm, as the app asks for a login name when started..
http://www.last.fm/forum/34905/_/544949
--I don't have an account, so I can't login, however I also get a scrobbler error (might be as I don't login), could be real error..
  • /usr/bin/shell-fm
    Shell.FM v0.4, (C) 2007 by Jonas Kramer
    Published under the terms of the GNU General Public License (GPL)
    Press ? for help.
    Login: mintuserID
    Password:
    Authentication failed.
    Couldn't open scrobble cache. No such file or directory.
    --why not try the one shell-fm included in the mint ; apt repositories..

    Question
    Why did you decide to use the libmad-dev version, instead of the regular libmad library
    in terminal, check
    • apt search libmad
      p libmad-ocaml - OCaml bindings for the MAD library
      p libmad-ocaml-dev - OCaml bindings for the MAD library
      i libmad0 - MPEG audio decoder library
      p libmad0-dev - MPEG audio decoder development library
    In apt, terminal check
    • apt show shell-fm
      Package: shell-fm
      State: not installed
      Version: 0.4+svn20071125.r282-1
      Priority: extra
      Section: universe/sound
      Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
      Uncompressed Size: 127k
      Depends: libao2 (>= 0.8.8), libc6 (>= 2.6.1-1), libmad0 (>= 0.15.1b)
      Description: console based player for last.fm radio streams

User avatar
Elep.Repu
Level 1
Level 1
Posts: 4
Joined: Fri Jul 31, 2009 6:04 pm

Re: shell-fm

Post by Elep.Repu »

lagagnon wrote:Are the permission on /usr/bin/shell-fm correct?

ls -al /usr/bin/shell-fm

should show that it is executable by users, otherwise: "sudo chmod a+x /usr/bin/shell-fm".
I chmoded it and it's still in the same state.

@DrHu

libmad0-dev is required, I've done the compile before.
I'm compiling because the repo provides a version 2 points off. (I've used it as well.)
I just installed it through apt-get and it works, but recompiling kills it again.
I do have a last.fm account..
(After removing the repo version and remaking):

Code: Select all

$ apt show shell-fm
Package: shell-fm
State: not installed
Version: 0.4+svn20071125.r282-1
Priority: extra
Section: universe/sound
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Uncompressed Size: 127k
Depends: libao2 (>= 0.8.8), libc6 (>= 2.6.1-1), libmad0 (>= 0.15.1b)
Description: console based player for last.fm radio streams
Shell.FM is a lightweight and interactive console based player for last.fm
radio streams (e.g. lastfm://artistnames/someartist) featuring proxy support
and bookmarks saving.

You need an account in order to use this player, so please consider create one
for free before using Shell.FM at http://last.fm.


Post Reply

Return to “Newbie Questions”