Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gtk2 players, ipod use flag and generic mp3 player support
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 943
Location: we the north

PostPosted: Fri Jan 12, 2007 4:52 pm    Post subject: gtk2 players, ipod use flag and generic mp3 player support Reply with quote

various gtk players come with an ipod use flag. I am wondering what this use flag actually does.

I don't have an ipod but i have a portable mp3 player (sort of generic). does enabling this use flag (say in rhythmbox, banshee or listen) unable me to add remove songs directly to my mp3 player? will it work with a generic (non ipod) mp3 player?


Last edited by juniper on Wed Jan 24, 2007 10:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Fri Jan 12, 2007 5:02 pm    Post subject: Reply with quote

most generic mp3 players "non ipod" are or can be mounted as a drive like any other, there for you should be able to delete or add files to it just as you would your hard disk. so no the ipod USE would not be of any help to you at all.
_________________
- Failure is not an option. It's bundled with your software.


Last edited by Dan on Fri Jan 12, 2007 6:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Fri Jan 12, 2007 5:07 pm    Post subject: Reply with quote

Hi juniper,

for rhythmbox, the ipod useflag does not support track transfer to generic audio players, but there is a bug report with a working patch.
Works for me with an Archos Gmini 400.
I made a rhythmbox CVS ebuild which includes this patch, I can give it to you if you want.
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 943
Location: we the north

PostPosted: Sun Jan 14, 2007 4:41 pm    Post subject: Reply with quote

dcoats wrote:
most generic mp3 players "non ipod" are or can be mounted as a drive like any other, there for you should be able to delete or add files to it just as you would your hard disk. so no the ipod USE would not be of any help to you at all.


thanks, but i did know this.

chrbecke wrote:

I made a rhythmbox CVS ebuild which includes this patch, I can give it to you if you want.


yes, this is what i am looking for, if you could post the ebuild that would be great.
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Sun Jan 14, 2007 6:34 pm    Post subject: Reply with quote

I made a tarball including the ebuild (now uses subversion instead of CVS, because upstream changed version control systems) and an updated patch (patch from bugzilla.gnome.org didn't apply cleanly to a current checkout).
Back to top
View user's profile Send private message
pathfinder
l33t
l33t


Joined: 19 Jan 2006
Posts: 731
Location: Barcelona, Spain

PostPosted: Mon Jan 15, 2007 11:37 am    Post subject: Reply with quote

hi guys
i m getting mad and losing my temper.
i compiled banshee with ipod use flag and that s allright
i followed the harware wiki ipod of gentoo for the ipod.
i can mount it on /dev/ipod (it a nano 4Go 2nd gen)
means I can see what s inside
but no ay to copy any music.

that s normal as read in forums, I need either banshee, gtkpod, or another amarok like player.Gnome user, I installed banshee
everything should just work. Y una mierda! No way
I can t see anything in banshee s help online, neither menus, anything to see the ipod.
it s recognized as /dev/sdb2 (vfat format) and dmesg output is the correct one...

Would you know what s wrong? what have i to do in banshee? (nothing appears as ipod in the left column)

many thanks, and a happy new year

edit: ipod-sharp and libipoddevice are both installed... but can t get the way to use them... (ipod in a shell just waits for a HAL event and nothing works when i plug the ipod)
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 943
Location: we the north

PostPosted: Wed Jan 24, 2007 5:17 pm    Post subject: Reply with quote

chrbecke wrote:
I made a tarball including the ebuild (now uses subversion instead of CVS, because upstream changed version control systems) and an updated patch (patch from bugzilla.gnome.org didn't apply cleanly to a current checkout).


Hi again. thanks for the ebuild.

just wonderingg what use flag turns on generic mp3 player support?
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 943
Location: we the north

PostPosted: Wed Jan 24, 2007 10:31 pm    Post subject: Reply with quote

just tried your ebuild (the one posted above for rhythmbox), and it doesn't compile.

what about banshee or listen? do they do generic mp3 player support? what about amarok, does it do generic mp3 player support (i know it is not gtk2).
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Tue Feb 06, 2007 10:47 am    Post subject: Reply with quote

juniper,

the patch for track transfer to generic players is now included upstream. If you still want to try rhythmbox, try this ebuild:
Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:

inherit gnome2 subversion flag-o-matic

DESCRIPTION="Music management and playback software for GNOME"
HOMEPAGE="http://www.rhythmbox.org/"
LICENSE="GPL-2"
SRC_URI=""

ESVN_REPO_URI="http://svn.gnome.org/svn/${PN}/trunk"

KEYWORDS="~x86"
IUSE="aac audioscrobbler avahi cdr daap dbus debug doc flac gdb gnome hal howl ipod ipodwriting libnotify
libsexy lirc mad musicbrainz python vorbis"

SLOT="0"

RDEPEND="
        >=x11-libs/gtk+-2.6.0
        >=gnome-base/libgnomeui-2.0
        >=gnome-base/libglade-2.0
        >=gnome-base/gnome-vfs-2.7.4
        >=gnome-extra/gnome-media-2.8
        gnome? ( gnome-base/gnome-keyring )
        cdr? ( >=gnome-extra/nautilus-cd-burner-2.9.0 )
        >=media-video/totem-1.1.5
        musicbrainz? ( >=media-libs/musicbrainz-2.1 )
        daap? ( >=net-libs/libsoup-2.2 )
        audioscrobbler? ( >=net-libs/libsoup-2.2 )
        ipod? ( >=media-libs/libgpod-1.0
                        >=sys-apps/hal-0.5 )
        hal? ( >=sys-apps/hal-0.5 )
        avahi? ( >=net-dns/avahi-0.6 )
        !avahi? ( howl? ( >=net-misc/howl-0.9.8 ) )
        dbus? ( >=sys-apps/dbus-0.35 )
        libsexy? ( >=x11-libs/libsexy-0.1.5 )
        >=media-libs/gstreamer-0.10
        >=media-libs/gst-plugins-base-0.10
        vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10
                                >=media-plugins/gst-plugins-ogg-0.10 )
        mad? ( >=media-plugins/gst-plugins-mad-0.10 )
        flac? ( >=media-plugins/gst-plugins-flac-0.10 )
        aac? ( >=media-plugins/gst-plugins-faad-0.10 )
        libnotify? ( >=x11-libs/libnotify-0.3.2 )
        python? ( >=dev-lang/python-2.4.2
                                >=dev-python/pygtk-2.6 )"

DEPEND="${RDEPEND}
        dev-util/pkgconfig
        >=dev-util/intltool-0.29
        app-text/scrollkeeper
        >=dev-util/gtk-doc-1.0"

# Make sure that debugging smbols are kept with USE="debug"
if use debug ; then
                RESTRICT="${RESTRICT} strip"
fi

pkg_setup ()
{

        # Sanitize CFLAGS for debugging
        if use debug ; then
                einfo "filtering C[XX]FLAGS"
                strip-flags

                if use gdb ; then
                        append-flags "-ggdb"
                fi
        fi

        if ! use avahi && ! use howl; then
                if use daap ; then
                ewarn "Daap support requires either howl or avahi"
                ewarn "to be installed. Please remerge with either"
                ewarn "USE=avahi or USE=howl"
                fi
        fi
        if use howl || use avahi ; then
                G2CONF="${G2CONF} $(use_enable daap)"
        fi

        if use howl ; then
                G2CONF="${G2CONF} --with-mdns=howl"
        fi

        if use avahi ; then
                G2CONF="${G2CONF} --with-mdns=avahi"
        fi

        G2CONF="${G2CONF} \
        --prefix=/usr \
        --host=${CHOST} \
        --mandir=/usr/share/man \
        --infodir=/usr/share/info \
        --datadir=/usr/share \
        --sysconfdir=/etc \
        --localstatedir=/var/lib \
        $(use_with dbus) \
        --enable-tag-writing \
        --enable-track-transfer \
        $(use_enable ipodwriting ipod-writing) \
        $(use_enable audioscrobbler) \
        $(use_enable libnotify) \
        $(use_enable musicbrainz) \
        --enable-mmkeys \
        --disable-schemas-install \
        $(use_enable lirc) \
        $(use_enable doc gtk-doc) \
        $(use_enable python) \
        $(use_with hal) \
        $(use_with ipod) \
        $(use_with gnome gnome-keyring) \
        --with-playback=gstreamer-0-10 \
        $(use_with cdr cd-burning) \
        --with-metadata-helper \
        $(use_with !libsexy internal-libsexy)"

        DOCS="AUTHORS COPYING ChangeLog DOCUMENTERS INSTALL INTERNALS \
                  MAINTAINERS NEWS README README.iPod THANKS TODO"
}

src_unpack ()
{
        subversion_src_unpack
        cd "${S}"

        gnome2_omf_fix
}

rb_src_configure ()
{
        elibtoolize
        GST_REGISTRY="${S}/registry.xml" ./autogen.sh ${G2CONF} || die "autogen.sh failure"
}

src_compile ()
{

        rb_src_configure

        einfo "building with CFLAGS=\"${CFLAGS}\" CXXFLAGS=\"${CXXFLAGS}\""

        # build fails with -j > 1
        emake -j1 || die "compile failure"
}

You don't have to add any USE flag to enable track transfer, it is enabled by default.
If it does not compile, please post the error message you get and I will try to help you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum