Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/gnupod-tools/gnupod-tools_0.99.8-6_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/gnupod-tools-0.99.8-6ukw8pngk/gnupod-tools_0.99.8-6_all.buildinfo Get source package info: gnupod-tools=0.99.8-6 Source URL: http://snapshot.notset.fr/mr/package/gnupod-tools/0.99.8-6/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11 automake=1:1.16.1-4 autopoint=0.19.8.1-9 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.46 bash=5.0-4 binutils=2.32.51.20190909-1 binutils-common=2.32.51.20190909-1 binutils-x86-64-linux-gnu=2.32.51.20190909-1 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.8 bzip2=1.0.8-2 ca-certificates=20190110 coreutils=8.30-3+b1 cpp=4:9.2.1-3.1 cpp-9=9.2.1-8 dash=0.5.10.2-6 debconf=1.5.73 debhelper=12.6.1 debianutils=4.9 dh-autoreconf=19 dh-strip-nondeterminism=1.6.0-1 diffstat=1.62-1+b1 diffutils=1:3.7-3 docbook=4.5-6 docbook-to-man=1:2.0.0-42+b1 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.13-1 fdisk=2.34-0.1 file=1:5.37-5 findutils=4.7.0-1 g++=4:9.2.1-3.1 g++-9=9.2.1-8 gcc=4:9.2.1-3.1 gcc-9=9.2.1-8 gcc-9-base=9.2.1-8 gettext=0.19.8.1-9 gettext-base=0.19.8.1-9 grep=3.3-1 groff-base=1.22.4-3 gzip=1.9-3+b1 hostname=3.22+b1 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-4 libarchive-zip-perl=1.66-1 libasan5=9.2.1-8 libatomic1=9.2.1-8 libattr1=1:2.4.48-4 libaudio-flac-header-perl=2.4-3+b1 libaudit-common=1:2.8.5-2 libaudit1=1:2.8.5-2 libbinutils=2.32.51.20190909-1 libblkid1=2.34-0.1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-2 libc-bin=2.29-1 libc-dev-bin=2.29-1 libc6=2.29-1 libc6-dev=2.29-1 libcap-ng0=0.7.9-2+b1 libcc1-0=9.2.1-8 libcroco3=0.6.13-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.249 libdebhelper-perl=12.6.1 libdpkg-perl=1.19.7 libelf1=0.176-1.1 libencode-locale-perl=1.05-1 libexpat1=2.2.7-2 libfdisk1=2.34-0.1 libffi6=3.2.1-9 libfile-listing-perl=6.04-1 libfile-ncopy-perl=0.36-2 libfile-stripnondeterminism-perl=1.6.0-1 libflac8=1.3.3-1 libgcc-9-dev=9.2.1-8 libgcc1=1:9.2.1-8 libgcrypt20=1.8.5-2 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.60.6-2 libgmp10=2:6.1.2+dfsg-4 libgomp1=9.2.1-8 libgpg-error0=1.36-7 libhtml-parser-perl=3.72-3+b3 libhtml-tagset-perl=3.20-3 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.04-1 libhttp-date-perl=6.02-1 libhttp-message-perl=6.18-1 libhttp-negotiate-perl=6.01-1 libicu63=63.2-2 libio-html-perl=1.001-1 libio-socket-ssl-perl=2.066-1 libisl21=0.21-2 libitm1=9.2.1-8 liblsan0=9.2.1-8 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.07-2 liblz4-1=1.8.3-1+b1 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.37-5 libmagic1=1:5.37-5 libmount1=2.34-0.1 libmp3-info-perl=1.24-1.2 libmpc3=1.1.0-1 libmpfr6=4.0.2-1 libncurses6=6.1+20190803-1 libncursesw6=6.1+20190803-1 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-1 libogg-vorbis-header-pureperl-perl=1.0-4 libogg0=1.3.2-1+b1 libosp5=1.5.2-13+b1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.32-5+b1 libpcre3=2:8.39-12+b1 libperl5.28=5.28.1-6 libpipeline1=1.5.1-2 libquadmath0=9.2.1-8 libseccomp2=2.4.1-2 libselinux1=2.9-2+b2 libsigsegv2=2.12-2 libsmartcols1=2.34-0.1 libssl1.1=1.1.1d-1 libstdc++-9-dev=9.2.1-8 libstdc++6=9.2.1-8 libsub-override-perl=0.09-2 libsystemd0=242-7 libtimedate-perl=2.3000-2 libtinfo6=6.1+20190803-1 libtool=2.4.6-11 libtry-tiny-perl=0.30-1 libtsan0=9.2.1-8 libubsan1=9.2.1-8 libuchardet0=0.0.6-3 libudev1=242-7 libunicode-string-perl=2.10-1+b4 libunistring2=0.9.10-2 liburi-perl=1.76-1 libuuid1=2.34-0.1 libwww-perl=6.39-1 libwww-robotrules-perl=6.02-1 libxml-libxml-perl=2.0134+dfsg-1 libxml-namespacesupport-perl=1.12-1 libxml-parser-perl=2.44-4 libxml-sax-base-perl=1.09-1 libxml-sax-perl=1.02+dfsg-1 libxml-simple-perl=2.25-1 libxml2=2.9.4+dfsg1-7+b3 linux-libc-dev=5.2.9-2 login=1:4.7-2 lsb-base=11.1.0 m4=1.4.18-2 make=4.2.1-1.2 man-db=2.8.7-3 mawk=1.3.3-17+b3 ncurses-base=6.1+20190803-1 ncurses-bin=6.1+20190803-1 netbase=5.6 opensp=1.5.2-13+b1 openssl=1.1.1d-1 patch=2.7.6-6 perl=5.28.1-6 perl-base=5.28.1-6 perl-modules-5.28=5.28.1-6 perl-openssl-defaults=3 po-debconf=1.0.21 quilt=0.65-3 rename=1.10-1 sed=4.7-1 sensible-utils=0.0.12 sgml-base=1.29 sgml-data=2.0.11 sysvinit-utils=2.96~beta-1 tar=1.30+dfsg-6+b1 ucf=3.0038+nmu1 util-linux=2.34-0.1 xml-core=0.18+nmu1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-1+b1 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20190921T084306Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d gnupod-tools=0.99.8-6 && mkdir -p /build/gnupod-tools-yVRKIn && dpkg-source --no-check -x /*.dsc /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8 && chown -R builduser:builduser /build/gnupod-tools-yVRKIn" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1569076001" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/gnupod-tools-yVRKIn /tmp/gnupod-tools-0.99.8-6ukw8pngk bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20190921T084306Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.Td7m06z5v1 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.Td7m06z5v1 Reading package lists... Building dependency tree... util-linux is already the newest version (2.34-0.1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20190921T084306Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20190921T084306Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1123 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4474 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.29-1) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20190921T084306Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.Td7m06z5v1 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20190921T084306Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 21s (1091 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.Td7m06z5v1 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d gnupod-tools=0.99.8-6 && mkdir -p /build/gnupod-tools-yVRKIn && dpkg-source --no-check -x /*.dsc /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8 && chown -R builduser:builduser /build/gnupod-tools-yVRKIn"' exec /tmp/mmdebstrap.Td7m06z5v1 Reading package lists... Need to get 220 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gnupod-tools 0.99.8-6 (dsc) [1771 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gnupod-tools 0.99.8-6 (tar) [208 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gnupod-tools 0.99.8-6 (diff) [10.8 kB] Fetched 220 kB in 0s (1566 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'gnupod-tools_0.99.8-6.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting gnupod-tools in /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8 dpkg-source: info: unpacking gnupod-tools_0.99.8.orig.tar.gz dpkg-source: info: applying gnupod-tools_0.99.8-6.diff.gz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1569076001" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.Td7m06z5v1 dpkg-buildpackage: info: source package gnupod-tools dpkg-buildpackage: info: source version 0.99.8-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Paul Gevers dpkg-source --before-build . fakeroot debian/rules clean quilt --quiltrc debian/quiltrc pop -a || true No patch removed rm -f -r .pc dh_testdir rm -rf gnupod-0.99.8 rm -f build-indep-stamp config-stamp dh_clean debian/rules build-indep tar -xzf gnupod-0.99.8.tgz test -d gnupod-0.99.8 sh /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/maintenance/01patch_rename.sh gnupod-0.99.8 0.99.8 Created gnupod-0.99.8/man/gnupod_convert_FLAC.pl.1.gz --- gnupod-0.99.8/src/gnupod_convert_FLAC.pl 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/gnupod_convert_FLAC.pl.new 2021-10-19 17:11:44.355559707 +0000 @@ -46,8 +46,8 @@ } ## 3. = no errors without Audio::FLAC! :) if($@ || ref($ftag) ne "HASH") { - warn "gnupod_convert_FLAC.pl: Could not read FLAC-Metadata from $file\n"; - warn "gnupod_convert_FLAC.pl: Maybe Audio::FLAC is not installed?\n"; + warn "gnupod_convert_FLAC: Could not read FLAC-Metadata from $file\n"; + warn "gnupod_convert_FLAC: Maybe Audio::FLAC is not installed?\n"; warn "Error: $@\n"; exit(1); } --- gnupod-0.99.8/src/ext/FileMagic.pm 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/ext/FileMagic.pm.new 2021-10-19 17:11:44.375559575 +0000 @@ -52,7 +52,7 @@ # my $NN_HEADERS = {'MThd' => { encoder=>'gnupod_convert_MIDI.pl', ftyp=>'MIDI'}, - 'fLaC' => { encoder=>'gnupod_convert_FLAC.pl', ftyp=>'FLAC'}, + 'fLaC' => { encoder=>'gnupod_convert_FLAC', ftyp=>'FLAC'}, 'OggS' => { encoder=>'gnupod_convert_OGG.pl', ftyp=>'OGG' }, 'MAC ' => { encoder=>'gnupod_convert_APE.pl', ftyp=>'APE' }, 'RIFF' => { encoder=>'gnupod_convert_RIFF.pl', ftyp=>'RIFF', magic2=>'AVI '}}; Created gnupod-0.99.8/man/gnupod_convert_APE.pl.1.gz --- gnupod-0.99.8/src/ext/FileMagic.pm 2021-10-19 17:11:44.375559575 +0000 +++ gnupod-0.99.8/src/ext/FileMagic.pm.new 2021-10-19 17:11:44.639557833 +0000 @@ -54,7 +54,7 @@ my $NN_HEADERS = {'MThd' => { encoder=>'gnupod_convert_MIDI.pl', ftyp=>'MIDI'}, 'fLaC' => { encoder=>'gnupod_convert_FLAC', ftyp=>'FLAC'}, 'OggS' => { encoder=>'gnupod_convert_OGG.pl', ftyp=>'OGG' }, - 'MAC ' => { encoder=>'gnupod_convert_APE.pl', ftyp=>'APE' }, + 'MAC ' => { encoder=>'gnupod_convert_APE', ftyp=>'APE' }, 'RIFF' => { encoder=>'gnupod_convert_RIFF.pl', ftyp=>'RIFF', magic2=>'AVI '}}; Patched gnupod-0.99.8/man/gnupod_check.pl.1.gz --- gnupod-0.99.8/src/gnupod_check.pl 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/gnupod_check.pl.new 2021-10-19 17:11:44.667557648 +0000 @@ -32,7 +32,7 @@ #Get maximal Pathlength from XMLHelper constant my $xmlhelper_maxpathlen = GNUpod::XMLhelper::MAX_PATHLENGTH; -print "gnupod_check.pl Version ###__VERSION__### (C) Adrian Ulrich\n"; +print "gnupod_check Version ###__VERSION__### (C) Adrian Ulrich\n"; $opts{mount} = $ENV{IPOD_MOUNTPOINT}; #Don't add xml and itunes opts.. we *NEED* the mount opt to be set.. @@ -121,7 +121,7 @@ my $rp = GNUpod::XMLhelper::realpath($opts{mount},$el->{file}->{path}); my $id = $el->{file}->{id}; - my $HINT = "Run 'gnupod_check.pl --fixit' to wipe this zombie"; + my $HINT = "Run 'gnupod_check --fixit' to wipe this zombie"; $TRACKER{SIZE}+=int($el->{file}->{filesize}); $TRACKER{TIME}+=int($el->{file}->{time}); @@ -222,8 +222,8 @@ my($rtxt) = @_; die << "EOF"; $rtxt -Usage: gnupod_check.pl [-h] [-m directory] -gnupod_check.pl checks for 'lost' files +Usage: gnupod_check [-h] [-m directory] +gnupod_check checks for 'lost' files -h, --help display this help and exit --version output version information and exit @@ -237,7 +237,7 @@ sub version { die << "EOF"; -gnupod_check.pl (gnupod) ###__VERSION__### +gnupod_check (gnupod) ###__VERSION__### Copyright (C) Adrian Ulrich 2002-2004 This is free software; see the source for copying conditions. There is NO --- gnupod-0.99.8/CHANGES 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/CHANGES.new 2021-10-19 17:11:44.675557595 +0000 @@ -258,14 +258,14 @@ -> Apple lowered the Max. Pathlength from 64 to 55. GNUpod will now crop after 49 chars (who knows what Apple will do next time?) - ..you can run 'gnupod_check.pl --fixit' to crop + ..you can run 'gnupod_check --fixit' to crop songs you added with an older version. -> Looks like Apple also broke the SmartPlaylists Liveupdate Feature. I couldn't get it to work with iTunes and GNUpod. Good job guys! Since GNUpod only supports 'liveupdate-smartplaylists', you can't use any SPL's with GNUpod and iPod-Mini 1.4 . Downgrading to 1.3 helps. -- gnupod_check.pl has now a --fixit switch. It will try to +- gnupod_check has now a --fixit switch. It will try to fix the found errors itself - Updated documentation: Tell how to extract a @@ -432,7 +432,7 @@ - Fixed some SmartPlaylist stuff and added support for last playtime -- Added gnupod_check.pl, it check's for 'lost' files +- Added gnupod_check, it check's for 'lost' files - I changed the 'build' system. Btw, you can now uninstall GNUpod using 'make uninstall' .. but why? :) --- gnupod-0.99.8/README 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/README.new 2021-10-19 17:11:44.683557542 +0000 @@ -31,7 +31,7 @@ gnupod_INIT.pl INIT a new iPod (create empty Database + Directories) gnupod_addsong.pl Add files -gnupod_check.pl Check for 'zombie' files +gnupod_check Check for 'zombie' files gnupod_otgsync.pl Handles On-The-Go Sync (not for humans) gnupod_search.pl Search ;) mktunes.pl Convert the GNUtunesDB.xml to a iTunesDB --- gnupod-0.99.8/doc/gnupod.info 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/doc/gnupod.info.new 2021-10-19 17:11:44.691557489 +0000 @@ -725,10 +725,10 @@ If your computer crashed while uploading/deleting songs, you may have some 'zombie' files. - In this case, you can use 'gnupod_check.pl' to search 'lost' files. -gnupod_check.pl will tell you what you could do to fix it. + In this case, you can use 'gnupod_check' to search 'lost' files. +gnupod_check will tell you what you could do to fix it. - If gnupod_check.pl found many errors (or you lost your + If gnupod_check found many errors (or you lost your GNUtunesDB.xml), you can 'rebuild' an GNUtunesDB using `gnupod_addsong.pl' --- gnupod-0.99.8/doc/gnupod.texi 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/doc/gnupod.texi.new 2021-10-19 17:11:44.699557436 +0000 @@ -761,11 +761,11 @@ If your computer crashed while uploading/deleting songs, you may have some 'zombie' files. -In this case, you can use 'gnupod_check.pl' to search 'lost' files. -gnupod_check.pl will tell you what you could do to fix it. +In this case, you can use 'gnupod_check' to search 'lost' files. +gnupod_check will tell you what you could do to fix it. -If gnupod_check.pl found many errors (or you lost your GNUtunesDB.xml), +If gnupod_check found many errors (or you lost your GNUtunesDB.xml), you can 'rebuild' an GNUtunesDB using @code{gnupod_addsong.pl} @example --- gnupod-0.99.8/doc/gnupod.html 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/doc/gnupod.html.new 2021-10-19 17:11:44.743557146 +0000 @@ -1042,11 +1042,11 @@ have some 'zombie' files.

-In this case, you can use 'gnupod_check.pl' to search 'lost' files. -gnupod_check.pl will tell you what you could do to fix it. +In this case, you can use 'gnupod_check' to search 'lost' files. +gnupod_check will tell you what you could do to fix it.

-If gnupod_check.pl found many errors (or you lost your GNUtunesDB.xml), +If gnupod_check found many errors (or you lost your GNUtunesDB.xml), you can 'rebuild' an GNUtunesDB using gnupod_addsong.pl

Patched gnupod-0.99.8/man/gnupod_search.pl.1.gz --- gnupod-0.99.8/src/gnupod_search.pl 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/gnupod_search.pl.new 2021-10-19 17:11:44.827556592 +0000 @@ -38,7 +38,7 @@ -print "gnupod_search.pl Version ###__VERSION__### (C) Adrian Ulrich\n"; +print "gnupod_search Version ###__VERSION__### (C) Adrian Ulrich\n"; # WARNING: If you add new options wich don't do matching, change newfile() # @@ -241,7 +241,7 @@ my($rtxt) = @_; die << "EOF"; $rtxt -Usage: gnupod_search.pl [-h] [-m directory] File1 File2 ... +Usage: gnupod_search [-h] [-m directory] File1 File2 ... -h, --help display this help and exit --version output version information and exit @@ -279,7 +279,7 @@ sub version { die << "EOF"; -gnupod_search.pl (gnupod) ###__VERSION__### +gnupod_search (gnupod) ###__VERSION__### Copyright (C) Adrian Ulrich 2002-2008 This is free software; see the source for copying conditions. There is NO --- gnupod-0.99.8/FAQ 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/FAQ.new 2021-10-19 17:11:44.855556407 +0000 @@ -8,7 +8,7 @@ 5 : Does GNUpod support feature $foobar ? 6 : Can i add File-Format $foobar ? 7 : How can i add files recursive? -8 : How to get parseable output from gnupod_search.pl? +8 : How to get parseable output from gnupod_search? 9 : Some Artists/Albums, etc. shows up multiple times on the iPod Browser! 10 : Why? @@ -144,13 +144,13 @@ (note the '-') -8. How to get parseable output from gnupod_search.pl +8. How to get parseable output from gnupod_search ---------------------------------------------------- gnupod_addsong.pl knows the '--view' switch. Example: -gnupod_search.pl --view=i -l "Cure" 2>/dev/null | tail +4 +gnupod_search --view=i -l "Cure" 2>/dev/null | tail +4 (Hmm.. output breaks if On-The-Go data get's synced..) FIXME.. maybe we should have an --out option? --- gnupod-0.99.8/CHANGES 2021-10-19 17:11:44.675557595 +0000 +++ gnupod-0.99.8/CHANGES.new 2021-10-19 17:11:44.871556301 +0000 @@ -58,8 +58,8 @@ I was planning to release GNUpod 1.0, but Heinrich Langos flooded me with patches, many thanks to him: -- Fix DBID width in gnupod_search.pl output -- Added --bitrate switch to gnupod_search.pl +- Fix DBID width in gnupod_search output +- Added --bitrate switch to gnupod_search - Added --podcast-files-limit switch to gnupod_addsong.pl - Added Podcast-Date patch (GNUpod now depends on Date::Parse) - Added --unique switch to extractArtwork.pl @@ -209,7 +209,7 @@ - QTFile.pm: rseek() now refuses to return more than 1024 kb. Fixes possible out-of-memory problems with broken files. -- Fixed an obscure gnupod_search.pl bug causing some weird search results. +- Fixed an obscure gnupod_search bug causing some weird search results. - Added DESTDIR support (make DESTDIR=/tmp/bla install) and removed slackpkg target (obsoleted) @@ -344,7 +344,7 @@ - Rewritten ConverterCore.. shouldn't break anything... -- gnupod_search.pl can now RENAME/Edit tags. +- gnupod_search can now RENAME/Edit tags. use --rename="artist=New artist Name" - You can now sort playlists: @@ -422,8 +422,8 @@ - added tools/m4a-info.pl: Use this tool to read Title/Artist tags from .m4a files (not installed by 'make install') -- You can modify the output of gnupod_search.pl using --view - (See 'gnupod_search.pl --help') +- You can modify the output of gnupod_search using --view + (See 'gnupod_search --help') - gnupod_addsong.pl checks for wrong extensions (like a mp3-file called 'test.wav'). The iPod wouldn't play @@ -598,7 +598,7 @@ I hope i didn't break anything.. but... -gnupod_search.pl: +gnupod_search: * -d doesn't delete all songs anymore.. hups.. * Playlist-Cleanup works now.. (another stupid bug.. :-/) * Added '--title' switch to usage @@ -682,7 +682,7 @@ - Fixed 'creating playlists' sample in documentation. - Firmware 1.1.0 can read FAT32, updatet documentation. - gnupod_delete.pl doesn't kill regex playlists anymore (ouch) -- gnupod_search.pl supports -g(enre) +- gnupod_search supports -g(enre) (Thanks to Johan Ruttenberg) gnuPod 0.26 --- gnupod-0.99.8/AUTHORS 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/AUTHORS.new 2021-10-19 17:11:44.883556222 +0000 @@ -10,7 +10,7 @@ Contributed to the 'old' GNUpod (< 0.9) - gnupod_list.pl - gnupod_renumber.pl - - gnupod_search.pl (Most important tool ;) ) + - gnupod_search (Most important tool ;) ) And also many thanks to the many other people --- gnupod-0.99.8/README 2021-10-19 17:11:44.683557542 +0000 +++ gnupod-0.99.8/README.new 2021-10-19 17:11:44.895556143 +0000 @@ -33,7 +33,7 @@ gnupod_addsong.pl Add files gnupod_check Check for 'zombie' files gnupod_otgsync.pl Handles On-The-Go Sync (not for humans) -gnupod_search.pl Search ;) +gnupod_search Search ;) mktunes.pl Convert the GNUtunesDB.xml to a iTunesDB tunes2pod.pl Convert the iTunesDB into a GNUtunesDB.xml --- gnupod-0.99.8/doc/gnupodrc.example 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/doc/gnupodrc.example.new 2021-10-19 17:11:44.959555721 +0000 @@ -52,7 +52,7 @@ ## Enforce iPod serial number: # mktunes.fwguid = 000ba3100310abcf -# *** gnupod_search.pl *** +# *** gnupod_search *** ## Always match only once # gnupod_search.match-once = 1 --- gnupod-0.99.8/doc/gnupod.info 2021-10-19 17:11:44.691557489 +0000 +++ gnupod-0.99.8/doc/gnupod.info.new 2021-10-19 17:11:44.971555641 +0000 @@ -512,15 +512,15 @@ 4.4 Search files ================ -GNUpod includes a tool called `gnupod_search.pl' that helps you search +GNUpod includes a tool called `gnupod_search' that helps you search for files. Maybe you would like to search for the artist called 'Schlummiguch'. In this case, run - gnupod_search.pl -m /mnt/ipod -a "Schlummiguch" + gnupod_search -m /mnt/ipod -a "Schlummiguch" - Note: gnupod_search.pl assumes RegExp input. Please have a look at -`gnupod_search.pl --help' for more information. + Note: gnupod_search assumes RegExp input. Please have a look at +`gnupod_search --help' for more information.  File: gnupod.info, Node: Remove files, Next: Edit tags, Prev: Search files, Up: Using GNUpod @@ -528,9 +528,9 @@ 4.5 Remove files ================ -Removing files is done using `gnupod_search.pl -d'. To Remove all +Removing files is done using `gnupod_search -d'. To Remove all files from the artist 'Schlummiguch', run - gnupod_search.pl -m /mnt/ipod -a "Schlummiguch" -d + gnupod_search -m /mnt/ipod -a "Schlummiguch" -d  File: gnupod.info, Node: Edit tags, Next: Creating playlists, Prev: Remove files, Up: Using GNUpod @@ -538,9 +538,9 @@ 4.6 Edit tags ============= -You can use `gnupod_search.pl' to edit tags (like artist, album, etc..) +You can use `gnupod_search' to edit tags (like artist, album, etc..) - gnupod_search.pl --artist="Alfred Neumann" --rename="artist=John Doe" --rename="rating=100" + gnupod_search --artist="Alfred Neumann" --rename="artist=John Doe" --rename="rating=100" This example searches all files from 'Alfred Neumann', changes the artist into 'John Doe' and sets the rating to 5 Stars (5*20=100) @@ -674,10 +674,10 @@ switch of `gnupod_addsong.pl'. Example: gnupod_addsong.pl --artwork cover.jpg *.mp3 - Use `gnupod_search.pl' to change/add artwork for existing files. + Use `gnupod_search' to change/add artwork for existing files. Example: # Set cover.jpg as artwork for all songs that match album =~ /Katamari/i - gnupod_search.pl --artwork cover.jpg --album Katamari + gnupod_search --artwork cover.jpg --album Katamari don't forget to run `mktunes.pl' afterwards. --- gnupod-0.99.8/doc/gnupod.texi 2021-10-19 17:11:44.699557436 +0000 +++ gnupod-0.99.8/doc/gnupod.texi.new 2021-10-19 17:11:44.983555562 +0000 @@ -529,33 +529,33 @@ @node Search files @section Search files -GNUpod includes a tool called @code{@w{gnupod_search.pl}} that helps you search for files. +GNUpod includes a tool called @code{@w{gnupod_search}} that helps you search for files. Maybe you would like to search for the artist called 'Schlummiguch'. In this case, run @example -gnupod_search.pl -m /mnt/ipod -a "Schlummiguch" +gnupod_search -m /mnt/ipod -a "Schlummiguch" @end example -Note: gnupod_search.pl assumes RegExp input. -Please have a look at @code{@w{gnupod_search.pl --help}} for more information. +Note: gnupod_search assumes RegExp input. +Please have a look at @code{@w{gnupod_search --help}} for more information. @node Remove files @section Remove files -Removing files is done using @code{@w{gnupod_search.pl -d}}. +Removing files is done using @code{@w{gnupod_search -d}}. To Remove all files from the artist 'Schlummiguch', run @example -gnupod_search.pl -m /mnt/ipod -a "Schlummiguch" -d +gnupod_search -m /mnt/ipod -a "Schlummiguch" -d @end example @node Edit tags @section Edit tags -You can use @code{@w{gnupod_search.pl}} to edit tags (like artist, album, etc..) +You can use @code{@w{gnupod_search}} to edit tags (like artist, album, etc..) @example -gnupod_search.pl --artist="Alfred Neumann" --rename="artist=John Doe" --rename="rating=100" +gnupod_search --artist="Alfred Neumann" --rename="artist=John Doe" --rename="rating=100" @end example This example searches all files from 'Alfred Neumann', changes the artist into 'John Doe' and @@ -712,10 +712,10 @@ @end example -Use @code{@w{gnupod_search.pl}} to change/add artwork for existing files. Example: +Use @code{@w{gnupod_search}} to change/add artwork for existing files. Example: @example # Set cover.jpg as artwork for all songs that match album =~ /Katamari/i -gnupod_search.pl --artwork cover.jpg --album Katamari +gnupod_search --artwork cover.jpg --album Katamari @end example don't forget to run @code{@w{mktunes.pl}} afterwards. --- gnupod-0.99.8/doc/gnupod.html 2021-10-19 17:11:44.743557146 +0000 +++ gnupod-0.99.8/doc/gnupod.html.new 2021-10-19 17:11:44.999555456 +0000 @@ -722,15 +722,15 @@

-GNUpod includes a tool called gnupod_search.pl that helps you search for files. +GNUpod includes a tool called gnupod_search that helps you search for files.

Maybe you would like to search for the artist called 'Schlummiguch'. In this case, run -
 
gnupod_search.pl -m /mnt/ipod -a "Schlummiguch"
+
 
gnupod_search -m /mnt/ipod -a "Schlummiguch"
 

-Note: gnupod_search.pl assumes RegExp input. -Please have a look at gnupod_search.pl --help for more information. +Note: gnupod_search assumes RegExp input. +Please have a look at gnupod_search --help for more information.

@@ -751,9 +751,9 @@

-Removing files is done using gnupod_search.pl -d. +Removing files is done using gnupod_search -d. To Remove all files from the artist 'Schlummiguch', run -
 
gnupod_search.pl -m /mnt/ipod -a "Schlummiguch" -d
+
 
gnupod_search -m /mnt/ipod -a "Schlummiguch" -d
 

@@ -774,10 +774,10 @@

-You can use gnupod_search.pl to edit tags (like artist, album, etc..) +You can use gnupod_search to edit tags (like artist, album, etc..)

-
 
gnupod_search.pl --artist="Alfred Neumann" --rename="artist=John Doe" --rename="rating=100"
+
 
gnupod_search --artist="Alfred Neumann" --rename="artist=John Doe" --rename="rating=100"
 

This example searches all files from 'Alfred Neumann', changes the artist into 'John Doe' and @@ -962,9 +962,9 @@
 
gnupod_addsong.pl --artwork cover.jpg *.mp3
 

-Use gnupod_search.pl to change/add artwork for existing files. Example: +Use gnupod_search to change/add artwork for existing files. Example:
 
# Set cover.jpg as artwork for all songs that match album =~ /Katamari/i
-gnupod_search.pl --artwork cover.jpg --album Katamari
+gnupod_search --artwork cover.jpg --album Katamari
 

don't forget to run mktunes.pl afterwards. Patched gnupod-0.99.8/man/gnupod_INIT.pl.1.gz --- gnupod-0.99.8/src/gnupod_check.pl 2021-10-19 17:11:44.667557648 +0000 +++ gnupod-0.99.8/src/gnupod_check.pl.new 2021-10-19 17:11:45.063555034 +0000 @@ -52,7 +52,7 @@ usage($con->{status}."\n") if $con->{status}; print "Pass 1: Checking Files in the GNUtunesDB.xml...\n"; - GNUpod::XMLhelper::doxml($con->{xml}) or usage("Failed to parse $con->{xml}, did you run gnupod_INIT.pl?\n"); + GNUpod::XMLhelper::doxml($con->{xml}) or usage("Failed to parse $con->{xml}, did you run gnupod_INIT?\n"); print "Pass 2: Checking Files on the iPod...\n"; checkGNUtunes($con); --- gnupod-0.99.8/src/gnupod_search.pl 2021-10-19 17:11:44.827556592 +0000 +++ gnupod-0.99.8/src/gnupod_search.pl.new 2021-10-19 17:11:45.075554955 +0000 @@ -89,7 +89,7 @@ } pview(undef,1); - GNUpod::XMLhelper::doxml($con->{xml}) or usage("Failed to parse $con->{xml}, did you run gnupod_INIT.pl?\n"); + GNUpod::XMLhelper::doxml($con->{xml}) or usage("Failed to parse $con->{xml}, did you run gnupod_INIT?\n"); #XML::Parser finished, write new file if we deleted or renamed if($dirty) { GNUpod::XMLhelper::writexml($con,{automktunes=>$opts{automktunes}}); --- gnupod-0.99.8/src/gnupod_INIT.pl 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/gnupod_INIT.pl.new 2021-10-19 17:11:45.091554849 +0000 @@ -28,7 +28,7 @@ use vars qw(%opts); -print "gnupod_INIT.pl ###__VERSION__### (C) Adrian Ulrich\n"; +print "gnupod_INIT ###__VERSION__### (C) Adrian Ulrich\n"; $opts{mount} = $ENV{IPOD_MOUNTPOINT}; #Don't add xml and itunes opts.. we *NEED* the mount opt to be set.. @@ -64,7 +64,7 @@ btw: use 'gnupod_addsong -m $opts{mount} --restore' if you lost your songs on the iPod after using - gnupod_INIT.pl (..but this won't happen, because + gnupod_INIT (..but this won't happen, because this tool has no bugs ;) ) ********************************************************* @@ -144,7 +144,7 @@ my($rtxt) = @_; die << "EOF"; $rtxt -Usage: gnupod_INIT.pl [-h] [-m directory] +Usage: gnupod_INIT [-h] [-m directory] -h, --help display this help and exit --version output version information and exit @@ -165,7 +165,7 @@ sub version { die << "EOF"; -gnupod_INIT.pl (gnupod) ###__VERSION__### +gnupod_INIT (gnupod) ###__VERSION__### Copyright (C) Adrian Ulrich 2002-2004 This is free software; see the source for copying conditions. There is NO --- gnupod-0.99.8/src/ext/Mktunes.pm 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/ext/Mktunes.pm.new 2021-10-19 17:11:45.099554796 +0000 @@ -20,7 +20,7 @@ sub WriteItunesSD { my($self) = @_; - open(ITS, ">", $self->GetConnection->{itunessd}) or die "*** Unable to write the iTunesDB: $!, did you run gnupod_INIT.pl ?\n"; + open(ITS, ">", $self->GetConnection->{itunessd}) or die "*** Unable to write the iTunesDB: $!, did you run gnupod_INIT ?\n"; binmode(ITS); print ITS GNUpod::iTunesDB::mk_itunes_sd_header({files=>$self->GetFileCount}); foreach my $item (@{$self->GetFiles}) { @@ -43,7 +43,7 @@ my $outfile = $self->GetConnection->{itunesdb}; my $tmpfile = $outfile.".$$"; - open(ITUNES, ">", $tmpfile) or die "*** Unable to write the iTunesDB: $!, did you run gnupod_INIT.pl ?\n"; + open(ITUNES, ">", $tmpfile) or die "*** Unable to write the iTunesDB: $!, did you run gnupod_INIT ?\n"; binmode(ITUNES); print ITUNES GNUpod::iTunesDB::mk_mhbd({}); $mhbd_size = tell(ITUNES); --- gnupod-0.99.8/src/ext/XMLhelper.pm 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/ext/XMLhelper.pm.new 2021-10-19 17:11:45.147554480 +0000 @@ -69,7 +69,7 @@ my @aviable_targets = bsd_glob($xconn->{musicdir}."/*", $xconn->{autotest}?GLOB_NOCASE:GLOB_NOSORT); unless(int(@aviable_targets)) { - warn "No iPod folders found at $xconn->{mountpoint}, did you run gnupod_INIT.pl ?\n"; + warn "No iPod folders found at $xconn->{mountpoint}, did you run gnupod_INIT ?\n"; return undef; } if(length($current_extension) != 0) { --- gnupod-0.99.8/src/gnupod_addsong.pl 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/gnupod_addsong.pl.new 2021-10-19 17:11:45.195554163 +0000 @@ -119,7 +119,7 @@ delete($opts{artwork}); } } - GNUpod::XMLhelper::doxml($con->{xml}) or usage("Failed to parse $con->{xml}, did you run gnupod_INIT.pl?\n"); + GNUpod::XMLhelper::doxml($con->{xml}) or usage("Failed to parse $con->{xml}, did you run gnupod_INIT?\n"); } # Check volume adjustment options for sanity --- gnupod-0.99.8/src/mktunes.pl 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/mktunes.pl.new 2021-10-19 17:11:45.207554083 +0000 @@ -66,7 +66,7 @@ $mktunes = GNUpod::Mktunes->new(Connection=>$con, iPodName=>$opts{'ipod-name'}, Artwork=>$AWDB); print "> Parsing XML document...\n"; - GNUpod::XMLhelper::doxml($con->{xml}) or usage("Could not read $con->{xml}, did you run gnupod_INIT.pl ?"); + GNUpod::XMLhelper::doxml($con->{xml}) or usage("Could not read $con->{xml}, did you run gnupod_INIT ?"); print "\r> ".$mktunes->GetFileCount." files parsed, assembling iTunesDB...\n"; $mktunes->WriteItunesDB; --- gnupod-0.99.8/FAQ 2021-10-19 17:11:44.855556407 +0000 +++ gnupod-0.99.8/FAQ.new 2021-10-19 17:11:45.239553872 +0000 @@ -58,7 +58,7 @@ ./configure && make install 1 Mount the iPod (eg. /mnt/ipod) - 2 run gnupod_INIT.pl -m /mnt/ipod + 2 run gnupod_INIT -m /mnt/ipod 3 add songs using 'gnupod_addsong.pl -m /mnt/ipod *blabla.mp3 4 build the iTunesDB using mktunes: 'mktunes.pl -m /mnt/ipod' 5 umount the iPod and enjoy! --- gnupod-0.99.8/README.developer 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/README.developer.new 2021-10-19 17:11:45.259553740 +0000 @@ -4,7 +4,7 @@ These aren't the droids you're looking for. Move along! :-) Minimal testing: -> gnupod_INIT.pl /mnt/empty +> gnupod_INIT /mnt/empty > gnupod_addsong > mktunes.pl > tunes2pod.pl --force --- gnupod-0.99.8/CHANGES 2021-10-19 17:11:44.871556301 +0000 +++ gnupod-0.99.8/CHANGES.new 2021-10-19 17:11:45.275553635 +0000 @@ -46,7 +46,7 @@ NEW: Set addtime to a fixed value when doing autotests. NEW: Added check for "autotest" file at the ipod mountpoint. NEW: The connection hash was expanded by a "autotest" key. - NEW: Added "--fwguid" option to gnupod_INIT.pl to be passed on to mktunes.pl. + NEW: Added "--fwguid" option to gnupod_INIT to be passed on to mktunes.pl. *** OLD STUFF *** @@ -154,7 +154,7 @@ - Added support for Podcast-Playlists. - Filter out bad chars from '--rename' command. - Added RVA2 (Normalize) patch by Peter Liljenberg -- gnupod_INIT.pl: Added --noask option +- gnupod_INIT: Added --noask option - gnupod_addsong.pl: --playlist can now be used multiple times - gnupod_addsong.pl: added --playlist-is-podcast command - gnupod_addsong.pl: Added workaround for glibc/linux/perl bug/problem (realloc() error) @@ -607,7 +607,7 @@ * Can read from STDIN again (use 'gnupod_addsong.pl -') (I forgot this feature ;) ) -gnupod_INIT.pl +gnupod_INIT * Added '--france' switch (Limit volume to 100 db for 1.x Firmware) --- gnupod-0.99.8/tools/extractArtwork.pl 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/tools/extractArtwork.pl.new 2021-10-19 17:11:45.291553529 +0000 @@ -22,7 +22,7 @@ my $AWDB = GNUpod::ArtworkDB->new(Connection=>$connection, DropUnseen=>0); $AWDB->LoadArtworkDb; -GNUpod::XMLhelper::doxml($connection->{xml}) or usage("Failed to parse $connection->{xml}, did you run gnupod_INIT.pl?\n"); +GNUpod::XMLhelper::doxml($connection->{xml}) or usage("Failed to parse $connection->{xml}, did you run gnupod_INIT?\n"); #print Data::Dumper::Dumper($AWDB); --- gnupod-0.99.8/README 2021-10-19 17:11:44.895556143 +0000 +++ gnupod-0.99.8/README.new 2021-10-19 17:11:45.303553450 +0000 @@ -29,7 +29,7 @@ GNUpod commands (cheatsheet) ---------------------------- -gnupod_INIT.pl INIT a new iPod (create empty Database + Directories) +gnupod_INIT INIT a new iPod (create empty Database + Directories) gnupod_addsong.pl Add files gnupod_check Check for 'zombie' files gnupod_otgsync.pl Handles On-The-Go Sync (not for humans) --- gnupod-0.99.8/doc/gnupod.info 2021-10-19 17:11:44.971555641 +0000 +++ gnupod-0.99.8/doc/gnupod.info.new 2021-10-19 17:11:45.339553212 +0000 @@ -434,14 +434,14 @@ If the iPod is freshly formatted or you never used GNUpod before with this iPod, run - gnupod_INIT.pl -m /mnt/ipod + gnupod_INIT -m /mnt/ipod - gnupod_INIT.pl will create the default directory tree and creates an + gnupod_INIT will create the default directory tree and creates an empty GNUtunesDB (or if it finds an iTunesDB, it runs tunes2pod.pl to convert the iTunesDB to an GNUtunesDB) Use - gnupod_INIT.pl -m /mnt/ipod --france + gnupod_INIT -m /mnt/ipod --france if you would like to enable the 'EU-Volume-Limit' (=decrease max. volume). This only works for iPods running Firmware 1.x --- gnupod-0.99.8/doc/gnupod.texi 2021-10-19 17:11:44.983555562 +0000 +++ gnupod-0.99.8/doc/gnupod.texi.new 2021-10-19 17:11:45.363553054 +0000 @@ -455,15 +455,15 @@ If the iPod is freshly formatted or you never used GNUpod before with this iPod, run @example -gnupod_INIT.pl -m /mnt/ipod +gnupod_INIT -m /mnt/ipod @end example -gnupod_INIT.pl will create the default directory tree and creates an empty GNUtunesDB +gnupod_INIT will create the default directory tree and creates an empty GNUtunesDB (or if it finds an iTunesDB, it runs tunes2pod.pl to convert the iTunesDB to an GNUtunesDB) Use @example -gnupod_INIT.pl -m /mnt/ipod --france +gnupod_INIT -m /mnt/ipod --france @end example if you would like to enable the 'EU-Volume-Limit' (=decrease max. volume). --- gnupod-0.99.8/doc/gnupod.html 2021-10-19 17:11:44.999555456 +0000 +++ gnupod-0.99.8/doc/gnupod.html.new 2021-10-19 17:11:45.375552975 +0000 @@ -596,15 +596,15 @@

If the iPod is freshly formatted or you never used GNUpod before with this iPod, run -
 
gnupod_INIT.pl -m /mnt/ipod
+
 
gnupod_INIT -m /mnt/ipod
 

-gnupod_INIT.pl will create the default directory tree and creates an empty GNUtunesDB +gnupod_INIT will create the default directory tree and creates an empty GNUtunesDB (or if it finds an iTunesDB, it runs tunes2pod.pl to convert the iTunesDB to an GNUtunesDB)

Use -
 
gnupod_INIT.pl -m /mnt/ipod --france
+
 
gnupod_INIT -m /mnt/ipod --france
 

if you would like to enable the 'EU-Volume-Limit' (=decrease max. volume). Created gnupod-0.99.8/man/gnupod_convert_OGG.pl.1.gz --- gnupod-0.99.8/src/ext/FileMagic.pm 2021-10-19 17:11:44.639557833 +0000 +++ gnupod-0.99.8/src/ext/FileMagic.pm.new 2021-10-19 17:11:45.583551602 +0000 @@ -53,7 +53,7 @@ my $NN_HEADERS = {'MThd' => { encoder=>'gnupod_convert_MIDI.pl', ftyp=>'MIDI'}, 'fLaC' => { encoder=>'gnupod_convert_FLAC', ftyp=>'FLAC'}, - 'OggS' => { encoder=>'gnupod_convert_OGG.pl', ftyp=>'OGG' }, + 'OggS' => { encoder=>'gnupod_convert_OGG', ftyp=>'OGG' }, 'MAC ' => { encoder=>'gnupod_convert_APE', ftyp=>'APE' }, 'RIFF' => { encoder=>'gnupod_convert_RIFF.pl', ftyp=>'RIFF', magic2=>'AVI '}}; --- gnupod-0.99.8/src/gnupod_convert_OGG.pl 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/gnupod_convert_OGG.pl.new 2021-10-19 17:11:45.591551549 +0000 @@ -48,8 +48,8 @@ } ## 3. = no errors if($@) { - warn "gnupod_convert_OGG.pl: Could not read OGG-Metadata from $file (".ref($ftag).")\n"; - warn "gnupod_convert_OGG.pl: Maybe $ogg_pmod is not installed?\n"; + warn "gnupod_convert_OGG: Could not read OGG-Metadata from $file (".ref($ftag).")\n"; + warn "gnupod_convert_OGG: Maybe $ogg_pmod is not installed?\n"; warn "Error: *$@*\n"; exit(1); } Created gnupod-0.99.8/man/gnupod_convert_RIFF.pl.1.gz --- gnupod-0.99.8/src/ext/FileMagic.pm 2021-10-19 17:11:45.583551602 +0000 +++ gnupod-0.99.8/src/ext/FileMagic.pm.new 2021-10-19 17:11:45.751550493 +0000 @@ -55,7 +55,7 @@ 'fLaC' => { encoder=>'gnupod_convert_FLAC', ftyp=>'FLAC'}, 'OggS' => { encoder=>'gnupod_convert_OGG', ftyp=>'OGG' }, 'MAC ' => { encoder=>'gnupod_convert_APE', ftyp=>'APE' }, - 'RIFF' => { encoder=>'gnupod_convert_RIFF.pl', ftyp=>'RIFF', magic2=>'AVI '}}; + 'RIFF' => { encoder=>'gnupod_convert_RIFF', ftyp=>'RIFF', magic2=>'AVI '}}; --- gnupod-0.99.8/CHANGES 2021-10-19 17:11:45.275553635 +0000 +++ gnupod-0.99.8/CHANGES.new 2021-10-19 17:11:45.763550414 +0000 @@ -141,7 +141,7 @@ - Reduced MP3::Info false-positives: Empty files are no longer detected as .mp3 files - tools/fwpatch.pl: Support for video iPods added (yeah!) -- gnupod_convert_RIFF.pl: Support for new ffmpeg builds (s/aac/libfaac/) +- gnupod_convert_RIFF: Support for new ffmpeg builds (s/aac/libfaac/) - Upgraded from GPLv2 to GPLv3 Patched gnupod-0.99.8/man/gnupod_otgsync.pl.1.gz --- gnupod-0.99.8/src/ext/FooBar.pm 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/ext/FooBar.pm.new 2021-10-19 17:11:45.787550255 +0000 @@ -164,11 +164,11 @@ } ###################################################################### -# Call gnupod_otgsync.pl +# Call gnupod_otgsync sub StartOnTheGoSync { my($con) = @_; - my $XBIN = "$con->{bindir}/gnupod_otgsync.pl"; + my $XBIN = "$con->{bindir}/gnupod_otgsync"; if(-x $XBIN) { { --- gnupod-0.99.8/src/gnupod_otgsync.pl 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/gnupod_otgsync.pl.new 2021-10-19 17:11:45.799550176 +0000 @@ -63,7 +63,7 @@ usage($con->{status}."\n") if $con->{status}; if(GNUpod::FooBar::ItunesDBNeedsSync($con)) { - die "gnupod_otgsync.pl: Bug detected! You need to run tunes2pod.pl -> Sync broken!\n"; + die "gnupod_otgsync: Bug detected! You need to run tunes2pod.pl -> Sync broken!\n"; } ##Check if GNUtunesDB <-> iTunesDB is really in-sync --- gnupod-0.99.8/CHANGES 2021-10-19 17:11:45.763550414 +0000 +++ gnupod-0.99.8/CHANGES.new 2021-10-19 17:11:45.811550096 +0000 @@ -75,7 +75,7 @@ Fixing xescaped to always do byte matching and added some debug output of dropped illegal characters. - FileMagic.pm: Remove trailing zeros from MP3 tags that come in utf16 or utf8. -- gnupod_otgsync.pl: Marking files as played even when only the +- gnupod_otgsync: Marking files as played even when only the skipcount or bookmark is > 0. - gnupod_addsong.pl: Added other sources for artist tag data from podcasts. Added "--podcast-artwork" option to download and add artwork to podcasts. @@ -510,7 +510,7 @@ QTfile.pm * A dirty QuickTime parser -gnupod_otgsync.pl +gnupod_otgsync * A new tool, don't use it yourself :) It's only used internal. --- gnupod-0.99.8/tools/otgtest.pl 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/tools/otgtest.pl.new 2021-10-19 17:11:45.847549859 +0000 @@ -15,7 +15,7 @@ #################################################### # Worker sub go { - #Disable auto-run of tunes2pod or gnupod_otgsync.pl + #Disable auto-run of tunes2pod or gnupod_otgsync $opts{_no_sync} = 1; my $con = GNUpod::FooBar::connect(\%opts); usage($con->{status}."\n") if $con->{status}; --- gnupod-0.99.8/README 2021-10-19 17:11:45.303553450 +0000 +++ gnupod-0.99.8/README.new 2021-10-19 17:11:45.867549727 +0000 @@ -32,7 +32,7 @@ gnupod_INIT INIT a new iPod (create empty Database + Directories) gnupod_addsong.pl Add files gnupod_check Check for 'zombie' files -gnupod_otgsync.pl Handles On-The-Go Sync (not for humans) +gnupod_otgsync Handles On-The-Go Sync (not for humans) gnupod_search Search ;) mktunes.pl Convert the GNUtunesDB.xml to a iTunesDB tunes2pod.pl Convert the iTunesDB into a GNUtunesDB.xml Patched gnupod-0.99.8/man/gnupod_addsong.pl.1.gz --- gnupod-0.99.8/src/gnupod_check.pl 2021-10-19 17:11:45.063555034 +0000 +++ gnupod-0.99.8/src/gnupod_check.pl.new 2021-10-19 17:11:45.899549516 +0000 @@ -85,7 +85,7 @@ if($TRACKER{ERR} > 25) { print " -> I found MANY ($TRACKER{ERR}) errors. Maybe you should run\n"; print " '$0 --fixit' to let me fix this errors. If it still doesn't help, run\n"; - print " 'gnupod_addsong.pl --restore'. This would wipe all your Playlists\n"; + print " 'gnupod_addsong --restore'. This would wipe all your Playlists\n"; print " but would cure your iPod for sure.\n"; } } --- gnupod-0.99.8/src/gnupod_addsong.pl 2021-10-19 17:11:45.195554163 +0000 +++ gnupod-0.99.8/src/gnupod_addsong.pl.new 2021-10-19 17:11:45.911549436 +0000 @@ -37,7 +37,7 @@ use constant MACTIME => GNUpod::FooBar::MACTIME; use vars qw(%opts %dupdb_normal %dupdb_lazy %dupdb_podcast $int_count %podcast_infos %podcast_channel_infos %per_file_info); -print "gnupod_addsong.pl Version ###__VERSION__### (C) Adrian Ulrich\n"; +print "gnupod_addsong Version ###__VERSION__### (C) Adrian Ulrich\n"; $int_count = 3; #The user has to send INT (Ctrl+C) x times until we stop @@ -713,7 +713,7 @@ #Sighandler sub handle_int { if($int_count) { - warn "RECEIVED SIGINT (CTRL+C): gnupod_addsong.pl is still working! hit CTRL+C again $int_count time(s) to quit.\n"; + warn "RECEIVED SIGINT (CTRL+C): gnupod_addsong is still working! hit CTRL+C again $int_count time(s) to quit.\n"; $int_count--; } else { @@ -728,7 +728,7 @@ my($rtxt) = @_; die << "EOF"; $rtxt -Usage: gnupod_addsong.pl [-h] [-m directory] File1 File2 ... +Usage: gnupod_addsong [-h] [-m directory] File1 File2 ... -h, --help display this help and exit --version output version information and exit @@ -775,7 +775,7 @@ sub version { die << "EOF"; -gnupod_addsong.pl (gnupod) ###__VERSION__### +gnupod_addsong (gnupod) ###__VERSION__### Copyright (C) Adrian Ulrich 2002-2008 This is free software; see the source for copying conditions. There is NO --- gnupod-0.99.8/FAQ 2021-10-19 17:11:45.239553872 +0000 +++ gnupod-0.99.8/FAQ.new 2021-10-19 17:11:45.955549146 +0000 @@ -59,13 +59,13 @@ 1 Mount the iPod (eg. /mnt/ipod) 2 run gnupod_INIT -m /mnt/ipod - 3 add songs using 'gnupod_addsong.pl -m /mnt/ipod *blabla.mp3 + 3 add songs using 'gnupod_addsong -m /mnt/ipod *blabla.mp3 4 build the iTunesDB using mktunes: 'mktunes.pl -m /mnt/ipod' 5 umount the iPod and enjoy! If you add more songs, repeat step 1-5 (without step 2!) : 1 Mount the iPod - 2 use gnupod_addsong.pl + 2 use gnupod_addsong 3 build the database with mktunes.pl 4 umount @@ -117,7 +117,7 @@ - Apple AAC/ALAC files (.m4a) - PCM (.wav) -gnupod_addsong.pl can read this 3 formats. +gnupod_addsong can read this 3 formats. GNUpod does (currently) *NOT* support: @@ -125,8 +125,8 @@ - Apple MusicStore files (.m4p - DRM AAC) but it does support .m4a GnuPod >= 0.96 can convert FLAC and OGG files 'on the fly'. -You'll have to call gnupod_addsong.pl with the ---decode switch. see 'man gnupod_addsong.pl' for more details +You'll have to call gnupod_addsong with the +--decode switch. see 'man gnupod_addsong' for more details (Or read the complete docs: 'info gnupod') DRM-Support isn't planned. @@ -137,9 +137,9 @@ 7. How can i add files recursive? --------------------------------- -gnupod_addsong.pl can read from stdin :) +gnupod_addsong can read from stdin :) -$ find blabla/ | gnupod_addsong.pl - +$ find blabla/ | gnupod_addsong - (note the '-') @@ -147,7 +147,7 @@ 8. How to get parseable output from gnupod_search ---------------------------------------------------- -gnupod_addsong.pl knows the '--view' switch. +gnupod_addsong knows the '--view' switch. Example: gnupod_search --view=i -l "Cure" 2>/dev/null | tail +4 --- gnupod-0.99.8/CHANGES 2021-10-19 17:11:45.811550096 +0000 +++ gnupod-0.99.8/CHANGES.new 2021-10-19 17:11:45.987548935 +0000 @@ -60,7 +60,7 @@ flooded me with patches, many thanks to him: - Fix DBID width in gnupod_search output - Added --bitrate switch to gnupod_search -- Added --podcast-files-limit switch to gnupod_addsong.pl +- Added --podcast-files-limit switch to gnupod_addsong - Added Podcast-Date patch (GNUpod now depends on Date::Parse) - Added --unique switch to extractArtwork.pl - Added xescaped() patch. GNUpod will now store @@ -77,7 +77,7 @@ - FileMagic.pm: Remove trailing zeros from MP3 tags that come in utf16 or utf8. - gnupod_otgsync: Marking files as played even when only the skipcount or bookmark is > 0. -- gnupod_addsong.pl: Added other sources for artist tag data from podcasts. +- gnupod_addsong: Added other sources for artist tag data from podcasts. Added "--podcast-artwork" option to download and add artwork to podcasts. Added "--podcast-cache-dir" option allow caching of podcast media files. Fixed podcast XML parser handlers to merge CDATA that comes in chunks. @@ -93,7 +93,7 @@ - Use udevinfo to find the iPods Firewire-GUID (as /proc/bus/usb/devices is depricated) - Support for iPhone: Edit ~/.gnupodrc and add 'model = iphone' - Some documentation 'fixes', thanks a lot to Toby Cabot -- gnupod_addsong.pl: replace wget with curl +- gnupod_addsong: replace wget with curl - Use binmode() more often to help Win32 @@ -155,9 +155,9 @@ - Filter out bad chars from '--rename' command. - Added RVA2 (Normalize) patch by Peter Liljenberg - gnupod_INIT: Added --noask option -- gnupod_addsong.pl: --playlist can now be used multiple times -- gnupod_addsong.pl: added --playlist-is-podcast command -- gnupod_addsong.pl: Added workaround for glibc/linux/perl bug/problem (realloc() error) +- gnupod_addsong: --playlist can now be used multiple times +- gnupod_addsong: added --playlist-is-podcast command +- gnupod_addsong: Added workaround for glibc/linux/perl bug/problem (realloc() error) - Raised video-bitrate for on-the-fly converting - Added configuration option 'automktunes'. Setting 'automktunes = 1' inside ~/.gnupodrc eliminates the need @@ -184,13 +184,13 @@ ------- - iPod-Video support - gnupod_addsong.pl can now read/add .mp4 files + gnupod_addsong can now read/add .mp4 files Converting .avi (RIFF) files on-the-fly works only IF your ffmpeg binary has AAC Support! (Adding preencoded files works witout ffmpeg) - Try: gnupod_addsong.pl --decode=video *.avi + Try: gnupod_addsong --decode=video *.avi - Fixes a playlist problem with iTunes5 (new 100 Mhods) @@ -219,8 +219,8 @@ Summary ------- -- gnupod_addsong.pl can now fetch podcast-rss feeds! - Example: 'gnupod_addsong.pl http://www.tagesschau.de/export/podcast' +- gnupod_addsong can now fetch podcast-rss feeds! + Example: 'gnupod_addsong http://www.tagesschau.de/export/podcast' - Added basic support for podcast-rss and podcast-guid in tunes2pod.pl and mktunes.pl @@ -282,8 +282,8 @@ - Added support for multiple On-The-Go playlists. -- gnupod_addsong.pl can now reenocde aac and mp3 'on-the-fly' - Usage: gnupod_addsong.pl --reencode 6 *.mp3 +- gnupod_addsong can now reenocde aac and mp3 'on-the-fly' + Usage: gnupod_addsong --reencode 6 *.mp3 This would reenocde everything with 'lame -V 6' Use this if you don't have much space left (iPod Shuffle?!) Note: The Reencode option also changes the quality of @@ -340,7 +340,7 @@ - You can now add MIDI files ;-) (with timidity) -- Added --set-songnum option for gnupod_addsong.pl +- Added --set-songnum option for gnupod_addsong - Rewritten ConverterCore.. shouldn't break anything... @@ -364,18 +364,18 @@ Summary ------- -- Changed --decode switch from gnupod_addsong.pl +- Changed --decode switch from gnupod_addsong You can now select the output format of --decode -> pcm(old default) / MP3 (using lame) / AAC (using FAAC) - Example: # gnupod_addsong.pl --decode=mp3 *.flac + Example: # gnupod_addsong --decode=mp3 *.flac (Idea and original patch from ) - GNUpod can now also convert OGG-Vorbis files (Use --decode=XXX, same as FLAC) -- Added --playlist=STRING switch to gnupod_addsong.pl +- Added --playlist=STRING switch to gnupod_addsong This creates the playlist 'STRING' and adds all songs - passed to gnupod_addsong.pl to this playlist. + passed to gnupod_addsong to this playlist. (Thanks to Bob Cotton) - Many changes for the M4A parser, should work better now @@ -403,21 +403,21 @@ (Needs JavaScript + DOM => Mozilla) ** SMARTPLAYLIST SYNTAX CHANGED ** -- gnupod_addsong.pl can now add FLAC files. +- gnupod_addsong can now add FLAC files. 'flac' needs to be in your $PATH and it's disabled - per default. (Enable it using gnupod_addsong.pl --decode + per default. (Enable it using gnupod_addsong --decode or set 'gnupod_addsong.decode=1' in your config) -- gnupod_addsong.pl can read ALAC (Apples Loseless Audio Codec) +- gnupod_addsong can read ALAC (Apples Loseless Audio Codec) files (iTunes creates normal .m4a files) - Polished Playcounts parser (no hardcoded offsets anymore) - added '--disable-v2' and '--disable-v1' to - gnupod_addsong.pl (Disable parsing of ID3TAG version X) + gnupod_addsong (Disable parsing of ID3TAG version X) - Fixed small bug with .m4a files and added more fields. - gnupod_addsong.pl can now read M4A/AAC files from www.allofmp3.com + gnupod_addsong can now read M4A/AAC files from www.allofmp3.com - added tools/m4a-info.pl: Use this tool to read Title/Artist tags from .m4a files (not installed by 'make install') @@ -425,7 +425,7 @@ - You can modify the output of gnupod_search using --view (See 'gnupod_search --help') -- gnupod_addsong.pl checks for wrong extensions +- gnupod_addsong checks for wrong extensions (like a mp3-file called 'test.wav'). The iPod wouldn't play such a file. @@ -452,7 +452,7 @@ - I bought one myself -- gnupod_addsong.pl understands .m4a files +- gnupod_addsong understands .m4a files (= AAC Files written by iTunes) I don't know if it works with DRM files (.m4p?) I don't have any DRM files and i'm not interested @@ -476,7 +476,7 @@ mktunes.pl will drop old (= now invalid) ratings, no autoconvert... sorry.. but does anyone care? -- gnupod_addsong.pl understands ID3v2.2 tags +- gnupod_addsong understands ID3v2.2 tags - You'll have to install Digest::MD5 @@ -521,7 +521,7 @@ Summary: -------- - Reading MusicMatch files should work (again) -- gnupod_addsong.pl can add WAVE files +- gnupod_addsong can add WAVE files - Parsing large iTunesDB files should be faster (-> we skip the MainPlayList) @@ -580,7 +580,7 @@ * Added SPL-Write support * regex-matches are sorted by id -gnupod_addsong.pl: +gnupod_addsong: * duplicate-checker displayed the wrong number of the dup, works again @@ -603,8 +603,8 @@ * Playlist-Cleanup works now.. (another stupid bug.. :-/) * Added '--title' switch to usage -gnupod_addsong.pl: - * Can read from STDIN again (use 'gnupod_addsong.pl -') +gnupod_addsong: + * Can read from STDIN again (use 'gnupod_addsong -') (I forgot this feature ;) ) gnupod_INIT @@ -657,7 +657,7 @@ Use an UNICODE Texteditor to edit the GNUtunesDB.. (Like 'yudit' or the gnome2 texteditor) Your old latin1 GNUtunesDB will get converted to an - UTF8 version after running tunes2pod.pl/gnupod_addsong.pl or + UTF8 version after running tunes2pod.pl/gnupod_addsong or gnupod_delete.pl UTF8 Support isn't testet very well, and gnuPod 0.28 maybe more @@ -700,7 +700,7 @@ in the GNUtunesDB - file - mktunes.pl no longer accepts when was not found. -- gnupod_addsong.pl handles long filenames now better +- gnupod_addsong handles long filenames now better - Timestamp should now be set correct (utime(undef,undef.. didn't work on every OS..) - new playist keywords. You can now use

-To add files, we use the script called gnupod_addsong.pl. +To add files, we use the script called gnupod_addsong.

First, mount the iPod (eg. at /mnt/ipod) if it isn't mounted.

-If you would like to add the file /tmp/foo.mp3, run gnupod_addsong.pl like this: -
 
gnupod_addsong.pl -m /mnt/ipod /tmp/foo.mp3
+If you would like to add the file /tmp/foo.mp3, run gnupod_addsong like this:
+
 
gnupod_addsong -m /mnt/ipod /tmp/foo.mp3
 

You can also use wildcards: -
 
gnupod_addsong.pl -m /mnt/ipod /mnt/mp3/seiken_densetsu2_ost/* /mnt/mp3/xenogears/ost?/*
+
 
gnupod_addsong -m /mnt/ipod /mnt/mp3/seiken_densetsu2_ost/* /mnt/mp3/xenogears/ost?/*
 

-It isn't possible to add the same MP3 multiple times, gnupod_addsong.pl detects duplicates +It isn't possible to add the same MP3 multiple times, gnupod_addsong detects duplicates (Duplicate = same filesize/time and ID3Tag name). You can disable the duplicate-detection with the '--duplicate' switch.

-gnupod_addsong.pl understands MP3/WAV (RIFF) and M4A (Apple AAC - NO DRM!) files. +gnupod_addsong understands MP3/WAV (RIFF) and M4A (Apple AAC - NO DRM!) files.

It can also convert FLAC and OGG files on-the-fly: @@ -689,14 +689,14 @@ Using this example, it would convert the two files into MP3 and add them to the iPod.

-
 
gnupod_addsong.pl -m /mnt/ipod myfile.flac myfile.ogg --decode=mp3
+
 
gnupod_addsong -m /mnt/ipod myfile.flac myfile.ogg --decode=mp3
 

(Note: To use all features of --decode, you will have to install Audio::FLAC::Header, Ogg::Vorbis::Header::PurePerl, lame, flac, oggenc and faac)

-gnupod_addsong.pl tries to 'auto-detect' the encoding of the ID3 Tag. +gnupod_addsong tries to 'auto-detect' the encoding of the ID3 Tag. Sometimes this works (in most cases ;) ) sometimes it doesn't. If it doesn't work for you, feel free to send me an example-file: pab@blinkenligts.ch

@@ -878,7 +878,7 @@ Also check out http://blinkenlights.ch/gnupod/mkspl.html for a 'JavaScript SPL-Creator'

-You can also use the --playlist option of gnupod_addsong.pl. This will create and add the listed songs to the +You can also use the --playlist option of gnupod_addsong. This will create and add the listed songs to the named playlist.

@@ -914,14 +914,14 @@ Such a playlist will show up as a Podcast after running mktunes.pl

-gnupod_addsong.pl can also download podcasts and create such playlists itself: +gnupod_addsong can also download podcasts and create such playlists itself:

-
 
gnupod_addsong.pl -p "Heute Morgen" --playlist-is-podcast http://pod.drs.ch/heutemorgen_mpx.xml
+
 
gnupod_addsong -p "Heute Morgen" --playlist-is-podcast http://pod.drs.ch/heutemorgen_mpx.xml
 

Running this command will create a Playlist called 'Heute Morgen' (-p) and set podcast="1" (--playlist-is-podcast). -gnupod_addsong.pl will then fetch the podcast from http://pod.drs.ch/heutemorgen_mpx.xml, download all (new) files +gnupod_addsong will then fetch the podcast from http://pod.drs.ch/heutemorgen_mpx.xml, download all (new) files and add them to the 'Heute Morgen' playlist!

@@ -958,8 +958,8 @@
 
model = nano_4g
 

-To specify a cover while adding files you'd use the --artwork switch of gnupod_addsong.pl. Example: -
 
gnupod_addsong.pl --artwork cover.jpg *.mp3
+To specify a cover while adding files you'd use the --artwork switch of gnupod_addsong. Example:
+
 
gnupod_addsong --artwork cover.jpg *.mp3
 

Use gnupod_search to change/add artwork for existing files. Example: @@ -1047,14 +1047,14 @@

If gnupod_check found many errors (or you lost your GNUtunesDB.xml), -you can 'rebuild' an GNUtunesDB using gnupod_addsong.pl +you can 'rebuild' an GNUtunesDB using gnupod_addsong

-
 
gnupod_addsong.pl --restore -m /mnt/ipod
+
 
gnupod_addsong --restore -m /mnt/ipod
 

First, it will create a clean, empty GNUtunesDB, it won't delete any songs on the iPod. -Then, gnupod_addsong.pl --restore will re-create a GNUtunesDB including the Songs which are on the iPod +Then, gnupod_addsong --restore will re-create a GNUtunesDB including the Songs which are on the iPod

I think nobody will ever have to do this.. but it maybe usefull to know that it's possible @@ -1218,7 +1218,7 @@

Only mktunes.pl and tunes2pod.pl have to worry about the iTunesDB format: all other tools -(gnupod_addsong.pl for example) only have to deal with the XML file called GNUtunesDB. +(gnupod_addsong for example) only have to deal with the XML file called GNUtunesDB.

It's important to keep the iTunesDB and GNUtunesDB 'in sync', so everytime you change the --- gnupod-0.99.8/BUGS 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/BUGS.new 2021-10-19 17:11:46.107548143 +0000 @@ -3,7 +3,7 @@ * GNUpod doesn't like duplicate id's in the GNUtunesDB.xml ({bindir}/tunes2pod.pl", "--force", "-m", $opts{mount}); + #We have an iTunesDB, call tunes2pod + print "Found *existing* iTunesDB, running tunes2pod\n"; + $t2pfail = system("$con->{bindir}/tunes2pod", "--force", "-m", $opts{mount}); } else { #No iTunesDB, run mktunes.pl --- gnupod-0.99.8/src/ext/iTunesDB.pm 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/ext/iTunesDB.pm.new 2021-10-19 17:11:46.179547668 +0000 @@ -1012,7 +1012,7 @@ -### Here are the READ sub's used by tunes2pod.pl +### Here are the READ sub's used by tunes2pod ########################################### # Get a INT value --- gnupod-0.99.8/src/ext/FooBar.pm 2021-10-19 17:11:45.787550255 +0000 +++ gnupod-0.99.8/src/ext/FooBar.pm.new 2021-10-19 17:11:46.187547615 +0000 @@ -143,7 +143,7 @@ sub StartItunesDBSync { my($con) = @_; - my $XBIN = "$con->{bindir}/tunes2pod.pl"; + my $XBIN = "$con->{bindir}/tunes2pod"; if(-x $XBIN) { { --- gnupod-0.99.8/src/ext/XMLhelper.pm 2021-10-19 17:11:45.147554480 +0000 +++ gnupod-0.99.8/src/ext/XMLhelper.pm.new 2021-10-19 17:11:46.195547562 +0000 @@ -191,7 +191,7 @@ } ############################################################## -# Add a playlist to output (Called by eventer or tunes2pod.pl) +# Add a playlist to output (Called by eventer or tunes2pod) # This thing doesn't create xml-encoded output! sub addpl { my($name, $opt) = @_; @@ -210,7 +210,7 @@ } ############################################################## -# Add a SmartPlaylist to output (Called by eventer or tunes2pod.pl) +# Add a SmartPlaylist to output (Called by eventer or tunes2pod) # Like addpl(), 'output' isn't xml-encoded sub addspl { my($name, $opt) = @_; --- gnupod-0.99.8/src/gnupod_otgsync.pl 2021-10-19 17:11:45.799550176 +0000 +++ gnupod-0.99.8/src/gnupod_otgsync.pl.new 2021-10-19 17:11:46.203547509 +0000 @@ -63,7 +63,7 @@ usage($con->{status}."\n") if $con->{status}; if(GNUpod::FooBar::ItunesDBNeedsSync($con)) { - die "gnupod_otgsync: Bug detected! You need to run tunes2pod.pl -> Sync broken!\n"; + die "gnupod_otgsync: Bug detected! You need to run tunes2pod -> Sync broken!\n"; } ##Check if GNUtunesDB <-> iTunesDB is really in-sync --- gnupod-0.99.8/src/tunes2pod.pl 2009-07-10 23:20:05.000000000 +0000 +++ gnupod-0.99.8/src/tunes2pod.pl.new 2021-10-19 17:11:46.211547456 +0000 @@ -36,7 +36,7 @@ $| = 1; -print "tunes2pod.pl Version ###__VERSION__### (C) Adrian Ulrich\n"; +print "tunes2pod Version ###__VERSION__### (C) Adrian Ulrich\n"; $opts{mount} = $ENV{IPOD_MOUNTPOINT}; @@ -58,7 +58,7 @@ #We disabled all autosyncing (_no_sync set to 1), so we do a test #ourself if(!$opts{force} && !(GNUpod::FooBar::ItunesDBNeedsSync($con))) { - print "I don't think that you have to run tunes2pod.pl\n"; + print "I don't think that you have to run tunes2pod\n"; print "The GNUtunesDB looks up-to-date\n"; print "\n"; print "If you think i'm wrong, use '$0 --force'\n"; @@ -354,7 +354,7 @@ my($rtxt) = @_; die << "EOF"; $rtxt -Usage: tunes2pod.pl [-h] [-m directory] +Usage: tunes2pod [-h] [-m directory] -h, --help display this help and exit --version output version information and exit @@ -367,7 +367,7 @@ sub version { die << "EOF"; -tunes2pod.pl (gnupod) ###__VERSION__### +tunes2pod (gnupod) ###__VERSION__### Copyright (C) Adrian Ulrich 2002-2007 This is free software; see the source for copying conditions. There is NO --- gnupod-0.99.8/FAQ 2021-10-19 17:11:45.955549146 +0000 +++ gnupod-0.99.8/FAQ.new 2021-10-19 17:11:46.219547403 +0000 @@ -190,7 +190,7 @@ But the iTunesDB-format isn't so complicated if you know how to write the specific parts and how you'll have to assemble them. -Just have a look at iTunesDB.pm and tunes2pod.pl+mktunes.pl +Just have a look at iTunesDB.pm and tunes2pod+mktunes.pl ..or feel free to ask me questions about it: --- gnupod-0.99.8/README.developer 2021-10-19 17:11:45.259553740 +0000 +++ gnupod-0.99.8/README.developer.new 2021-10-19 17:11:46.239547272 +0000 @@ -7,7 +7,7 @@ > gnupod_INIT /mnt/empty > gnupod_addsong > mktunes.pl -> tunes2pod.pl --force +> tunes2pod --force > mktunes.pl > check if your ipod can read the result --- gnupod-0.99.8/CHANGES 2021-10-19 17:11:45.987548935 +0000 +++ gnupod-0.99.8/CHANGES.new 2021-10-19 17:11:46.251547193 +0000 @@ -136,7 +136,7 @@ Summary ------- -- Fixed invalid warning about broken mhip header. (tunes2pod.pl) +- Fixed invalid warning about broken mhip header. (tunes2pod) - Less stricter Podcast-Playlist parsing - Reduced MP3::Info false-positives: Empty files are no longer detected as .mp3 files @@ -202,7 +202,7 @@ - Workaround for broken files written by 'Anapod' Set 'tunes2pod.anapodworkaround=1' inside ~/.gnupodrc - to enable it. Enabling it slows down tunes2pod.pl + to enable it. Enabling it slows down tunes2pod (because it deactivates the fast-skip of the (useless) MasterPlaylist) @@ -222,7 +222,7 @@ - gnupod_addsong can now fetch podcast-rss feeds! Example: 'gnupod_addsong http://www.tagesschau.de/export/podcast' -- Added basic support for podcast-rss and podcast-guid in tunes2pod.pl and mktunes.pl +- Added basic support for podcast-rss and podcast-guid in tunes2pod and mktunes.pl - Fixed small bug in FileMagic.pm: UTF16-Tags didn't work. Thanks to Chris Abajian for reporting this issue. @@ -469,7 +469,7 @@ iPods - GNUpod checks if the iTunesDB did change and - runs tunes2pod.pl if it has to run it + runs tunes2pod if it has to run it - Changed rating-schema to match SPL-Rating -> Rating 5 is now 100 (newrating=oldrating*20) @@ -530,7 +530,7 @@ -------- iTunesDB.pm and co: * Can read and write Playlist-Elements without child - tunes2pod.pl couldn't read files written by + tunes2pod couldn't read files written by (newer) MusicMatch releases.. this should fix the issue :) * Don't parse MasterPlaylists, do a seek() -> Speeds up parsing @@ -572,7 +572,7 @@ FileMagic.pm * Fixed (?) ID3v2 reading -tunes2pod.pl: +tunes2pod: * Added paranoia checks (stricter parsing) * Added SPL-Read code (BETA!) @@ -657,7 +657,7 @@ Use an UNICODE Texteditor to edit the GNUtunesDB.. (Like 'yudit' or the gnome2 texteditor) Your old latin1 GNUtunesDB will get converted to an - UTF8 version after running tunes2pod.pl/gnupod_addsong or + UTF8 version after running tunes2pod/gnupod_addsong or gnupod_delete.pl UTF8 Support isn't testet very well, and gnuPod 0.28 maybe more @@ -668,8 +668,8 @@ gnuPod 0.28 -- Rewritten Playlistcode for tunes2pod.pl -- tunes2pod.pl doesn't kill your empty GNUtunesDB anymore +- Rewritten Playlistcode for tunes2pod +- tunes2pod doesn't kill your empty GNUtunesDB anymore if it can't find the iTunesDB - mktunes.pl uses now binmode(), maybe this helps RedHat 8 ? .. (and win32 ;) ) @@ -735,7 +735,7 @@ gnuPod 0.21 -- Fixed stupid tunes2pod.pl bug with big iTunesDBs +- Fixed stupid tunes2pod bug with big iTunesDBs (Thanks to Ciamac Moallemi for reporting and providing a patch) - Support for songnum, songs, cdnum, cds and year --- gnupod-0.99.8/README 2021-10-19 17:11:45.999548856 +0000 +++ gnupod-0.99.8/README.new 2021-10-19 17:11:46.259547140 +0000 @@ -35,7 +35,7 @@ gnupod_otgsync Handles On-The-Go Sync (not for humans) gnupod_search Search ;) mktunes.pl Convert the GNUtunesDB.xml to a iTunesDB -tunes2pod.pl Convert the iTunesDB into a GNUtunesDB.xml +tunes2pod Convert the iTunesDB into a GNUtunesDB.xml You'll have to use mktunes.pl if you added/deleted/changed something on the iPod. --- gnupod-0.99.8/doc/gnupodrc.example 2021-10-19 17:11:46.051548513 +0000 +++ gnupod-0.99.8/doc/gnupodrc.example.new 2021-10-19 17:11:46.275547034 +0000 @@ -41,7 +41,7 @@ ## Uncomment this to skip 'on-the-go' sync # otgsync.nosync = 1 -# *** tunes2pod.pl *** +# *** tunes2pod *** ## Uncomment to set '--force' switch to true (DANGEROUS) # tunes2pod.force = 1 --- gnupod-0.99.8/doc/gnupod.info 2021-10-19 17:11:46.067548407 +0000 +++ gnupod-0.99.8/doc/gnupod.info.new 2021-10-19 17:11:46.287546955 +0000 @@ -437,7 +437,7 @@ gnupod_INIT -m /mnt/ipod gnupod_INIT will create the default directory tree and creates an -empty GNUtunesDB (or if it finds an iTunesDB, it runs tunes2pod.pl to +empty GNUtunesDB (or if it finds an iTunesDB, it runs tunes2pod to convert the iTunesDB to an GNUtunesDB) Use @@ -752,17 +752,17 @@ If you want to use an iPod with GNUpod and used something other than GNUpod (maybe iTunes) to perform the last update (adding songs, editing playists.. doing something..), you'll have to use -`tunes2pod.pl' to update the (outdated) GNUtunesDB. +`tunes2pod' to update the (outdated) GNUtunesDB. Mount the iPod and run - tunes2pod.pl -m /mnt/ipod + tunes2pod -m /mnt/ipod The iPod is now ready again for GNUpod. You have to do this because GNUpod stores its information in the GNUtunesDB, but other programs access the iTunesDB directly. After you did something with eg. iTunes, the GNUtunesDB would be 'outdated' and -you would lose any changes you made with iTunes. Running `tunes2pod.pl' +you would lose any changes you made with iTunes. Running `tunes2pod' will write a new GNUtunesDB which reflects the content of the current iTunesDB. @@ -778,7 +778,7 @@ - ..would look like this after using tunes2pod.pl + ..would look like this after using tunes2pod ... @@ -839,12 +839,12 @@ information like the iTunesDB, but it's a simple XML file: easy to understand by humans and easy to edit by hand. - Everytime you run `tunes2pod.pl', the iTunesDB will get parsed and + Everytime you run `tunes2pod', the iTunesDB will get parsed and converted into an XML File (the GNUtunesDB). `mktunes.pl' does the opposite: it parses the XML file and creates an iTunesDB (for the iPod and iTunes) - Only mktunes.pl and tunes2pod.pl have to worry about the iTunesDB + Only mktunes.pl and tunes2pod have to worry about the iTunesDB format: all other tools (gnupod_addsong for example) only have to deal with the XML file called GNUtunesDB. @@ -853,7 +853,7 @@ gnupod_something.pl) you'll have to run `mktunes.pl'. If 'you' changed the iTunesDB (using gtkPod/iTunes/Ehpod), run -`tunes2pod.pl' *before* using any other GNUpod commands. +`tunes2pod' *before* using any other GNUpod commands.  File: gnupod.info, Node: Get rid of '-m', Next: Known bugs and limitations, Prev: GNUtunesDB, Up: Problems --- gnupod-0.99.8/doc/gnupod.texi 2021-10-19 17:11:46.079548328 +0000 +++ gnupod-0.99.8/doc/gnupod.texi.new 2021-10-19 17:11:46.303546849 +0000 @@ -459,7 +459,7 @@ @end example gnupod_INIT will create the default directory tree and creates an empty GNUtunesDB -(or if it finds an iTunesDB, it runs tunes2pod.pl to convert the iTunesDB to an GNUtunesDB) +(or if it finds an iTunesDB, it runs tunes2pod to convert the iTunesDB to an GNUtunesDB) Use @example @@ -785,18 +785,18 @@ If you want to use an iPod with GNUpod and used something other than GNUpod (maybe iTunes) to perform the last update (adding songs, editing playists.. doing something..), you'll have to - use @code{@w{tunes2pod.pl}} to update the (outdated) GNUtunesDB. + use @code{@w{tunes2pod}} to update the (outdated) GNUtunesDB. Mount the iPod and run @example -tunes2pod.pl -m /mnt/ipod +tunes2pod -m /mnt/ipod @end example The iPod is now ready again for GNUpod. You have to do this because GNUpod stores its information in the GNUtunesDB, but other programs access the iTunesDB directly. After you did something with eg. iTunes, the GNUtunesDB would be 'outdated' and you would -lose any changes you made with iTunes. Running @code{@w{tunes2pod.pl}} will write a new GNUtunesDB which +lose any changes you made with iTunes. Running @code{@w{tunes2pod}} will write a new GNUtunesDB which reflects the content of the current iTunesDB. @@ -813,7 +813,7 @@ @end example -..would look like this after using tunes2pod.pl +..would look like this after using tunes2pod @example ... @@ -864,18 +864,18 @@ The GNUtunesDB (@code{@w{iPod_Control/.gnupod/GNUtunesDB}}) holds the same information like the iTunesDB, but it's a simple XML file: easy to understand by humans and easy to edit by hand. -Everytime you run @code{@w{tunes2pod.pl}}, the iTunesDB will get parsed and converted into an +Everytime you run @code{@w{tunes2pod}}, the iTunesDB will get parsed and converted into an XML File (the GNUtunesDB). @code{@w{mktunes.pl}} does the opposite: it parses the XML file and creates an iTunesDB (for the iPod and iTunes) -Only mktunes.pl and tunes2pod.pl have to worry about the iTunesDB format: all other tools +Only mktunes.pl and tunes2pod have to worry about the iTunesDB format: all other tools (gnupod_addsong for example) only have to deal with the XML file called GNUtunesDB. It's important to keep the iTunesDB and GNUtunesDB 'in sync', so everytime you change the GNUtunesDB (by hand or using gnupod_something.pl) you'll have to run @code{@w{mktunes.pl}}. -If 'you' changed the iTunesDB (using gtkPod/iTunes/Ehpod), run @code{@w{tunes2pod.pl}} *before* +If 'you' changed the iTunesDB (using gtkPod/iTunes/Ehpod), run @code{@w{tunes2pod}} *before* using any other GNUpod commands. --- gnupod-0.99.8/doc/gnupod.html 2021-10-19 17:11:46.095548222 +0000 +++ gnupod-0.99.8/doc/gnupod.html.new 2021-10-19 17:11:46.351546533 +0000 @@ -600,7 +600,7 @@

gnupod_INIT will create the default directory tree and creates an empty GNUtunesDB -(or if it finds an iTunesDB, it runs tunes2pod.pl to convert the iTunesDB to an GNUtunesDB) +(or if it finds an iTunesDB, it runs tunes2pod to convert the iTunesDB to an GNUtunesDB)

Use @@ -1084,11 +1084,11 @@ If you want to use an iPod with GNUpod and used something other than GNUpod (maybe iTunes) to perform the last update (adding songs, editing playists.. doing something..), you'll have to - use tunes2pod.pl to update the (outdated) GNUtunesDB. + use tunes2pod to update the (outdated) GNUtunesDB.

Mount the iPod and run -
 
tunes2pod.pl -m /mnt/ipod
+
 
tunes2pod -m /mnt/ipod
 

The iPod is now ready again for GNUpod. @@ -1096,7 +1096,7 @@ You have to do this because GNUpod stores its information in the GNUtunesDB, but other programs access the iTunesDB directly. After you did something with eg. iTunes, the GNUtunesDB would be 'outdated' and you would -lose any changes you made with iTunes. Running tunes2pod.pl will write a new GNUtunesDB which +lose any changes you made with iTunes. Running tunes2pod will write a new GNUtunesDB which reflects the content of the current iTunesDB.

@@ -1113,7 +1113,7 @@ </playlist>

-..would look like this after using tunes2pod.pl +..would look like this after using tunes2pod
 
...
 <playist name="extended">
  <add id="1" />
@@ -1211,13 +1211,13 @@
 the iTunesDB, but it's a simple XML file: easy to understand by humans and easy to edit by hand.
 

-Everytime you run tunes2pod.pl, the iTunesDB will get parsed and converted into an +Everytime you run tunes2pod, the iTunesDB will get parsed and converted into an XML File (the GNUtunesDB). mktunes.pl does the opposite: it parses the XML file and creates an iTunesDB (for the iPod and iTunes)

-Only mktunes.pl and tunes2pod.pl have to worry about the iTunesDB format: all other tools +Only mktunes.pl and tunes2pod have to worry about the iTunesDB format: all other tools (gnupod_addsong for example) only have to deal with the XML file called GNUtunesDB.

@@ -1225,7 +1225,7 @@ GNUtunesDB (by hand or using gnupod_something.pl) you'll have to run mktunes.pl.

-If 'you' changed the iTunesDB (using gtkPod/iTunes/Ehpod), run tunes2pod.pl *before* +If 'you' changed the iTunesDB (using gtkPod/iTunes/Ehpod), run tunes2pod *before* using any other GNUpod commands.

Patched gnupod-0.99.8/man/mktunes.pl.1.gz --- gnupod-0.99.8/src/gnupod_search.pl 2021-10-19 17:11:45.075554955 +0000 +++ gnupod-0.99.8/src/gnupod_search.pl.new 2021-10-19 17:11:46.563545133 +0000 @@ -264,7 +264,7 @@ u = UnixPath n = Songnum G = podcastguid R = podcastrss d = dbid --rename=KEY=VAL Change tags on found songs. Example: --rename="ARTIST=Foo Bar" - --artwork=FILE Set FILE as Cover for found files, do not forget to run mktunes.pl + --artwork=FILE Set FILE as Cover for found files, do not forget to run mktunes Note: * Argument for title/artist/album/etc has to be UTF8 encoded, *not* latin1! * Use '>3' to search all values above 3, use '<3' to search for values below 3 --- gnupod-0.99.8/src/gnupod_INIT.pl 2021-10-19 17:11:46.175547694 +0000 +++ gnupod-0.99.8/src/gnupod_INIT.pl.new 2021-10-19 17:11:46.579545027 +0000 @@ -120,9 +120,9 @@ $t2pfail = system("$con->{bindir}/tunes2pod", "--force", "-m", $opts{mount}); } else { - #No iTunesDB, run mktunes.pl - print "No iTunesDB found, running mktunes.pl\n"; - my @mktunescmd = ("$con->{bindir}/mktunes.pl", "-m" ,"$opts{mount}"); + #No iTunesDB, run mktunes + print "No iTunesDB found, running mktunes\n"; + my @mktunescmd = ("$con->{bindir}/mktunes", "-m" ,"$opts{mount}"); if ($opts{'fwguid'}) { push @mktunescmd, "-g", "$opts{fwguid}"; } $t2pfail = system(@mktunescmd); } @@ -150,12 +150,12 @@ --version output version information and exit -m, --mount=directory iPod mountpoint, default is \$IPOD_MOUNTPOINT -d, --disable-convert Don't try to convert an existing iTunesDB - -g, --fwguid=HEXVAL FirewireGuid / Serial of connected iPod (passed to mktunes.pl) + -g, --fwguid=HEXVAL FirewireGuid / Serial of connected iPod (passed to mktunes) -f, --france Limit volume to 100dB (For French-Law/People) Maximal-volume without this is ~104dB (VERY LOUD) *WARNING* This works only for iPods running Firmware 1.x (1st & 2nd generation) - You can also use mktunes.pl '--volume PERCENT' + You can also use mktunes '--volume PERCENT' to adjust the volume (Works with Firmware 1.x AND 2.x) --noask Do not wait for any user input --- gnupod-0.99.8/src/ext/Mktunes.pm 2021-10-19 17:11:45.099554796 +0000 +++ gnupod-0.99.8/src/ext/Mktunes.pm.new 2021-10-19 17:11:46.591544948 +0000 @@ -327,7 +327,7 @@ } unless(GNUpod::XMLhelper::get_splpref($name)->{liveupdate}) { - warn "mktunes.pl: warning: (pl: $name) Liveupdate disabled. Please set liveupdate=\"1\" if you don't want an empty playlist\n"; + warn "mktunes: warning: (pl: $name) Liveupdate disabled. Please set liveupdate=\"1\" if you don't want an empty playlist\n"; } if(my $id = $item->{splcont}->{id}) { #We found an old id with disabled liveupdate, add it like a normal playlist: --- gnupod-0.99.8/src/ext/FooBar.pm 2021-10-19 17:11:46.187547615 +0000 +++ gnupod-0.99.8/src/ext/FooBar.pm.new 2021-10-19 17:11:46.603544869 +0000 @@ -119,10 +119,10 @@ } ####################################################################### -# Call mktunes.pl +# Call mktunes sub StartAutoMkTunes { my($con) = @_; - my $XBIN = "$con->{bindir}/mktunes.pl"; + my $XBIN = "$con->{bindir}/mktunes"; if(-x $XBIN) { { local $ENV{IPOD_MOUNTPOINT} = $con->{mountpoint}; --- gnupod-0.99.8/src/gnupod_otgsync.pl 2021-10-19 17:11:46.203547509 +0000 +++ gnupod-0.99.8/src/gnupod_otgsync.pl.new 2021-10-19 17:11:46.615544790 +0000 @@ -129,9 +129,9 @@ sub newfile { my($el) = @_; - #This has to be 'in-sync' with the mktunes.pl method + #This has to be 'in-sync' with the mktunes method # (GNUtunesDB_id <-> iTunesDB_id) - # in mktunes.pl, every {file}->{id})); --- gnupod-0.99.8/src/gnupod_addsong.pl 2021-10-19 17:11:45.911549436 +0000 +++ gnupod-0.99.8/src/gnupod_addsong.pl.new 2021-10-19 17:11:46.627544711 +0000 @@ -206,11 +206,11 @@ #Use fixed addtime for autotests $fh->{addtime} = int($connection->{autotest} ? 42 : time())+MACTIME; - #Ugly workaround to avoid a warning while running mktunes.pl: + #Ugly workaround to avoid a warning while running mktunes: #All (?) int-values returned by wtf_is won't go above 0xffffffff #Thats fine because almost everything inside an mhit can handle this. #But bpm and srate are limited to 0xffff - # -> We fix this silently to avoid ugly warnings while running mktunes.pl + # -> We fix this silently to avoid ugly warnings while running mktunes $fh->{bpm} = 0xFFFF if $fh->{bpm} > 0xFFFF; $fh->{srate} = 0xFFFF if $fh->{srate} > 0xFFFF; --- gnupod-0.99.8/src/mktunes.pl 2021-10-19 17:11:45.207554083 +0000 +++ gnupod-0.99.8/src/mktunes.pl.new 2021-10-19 17:11:46.659544500 +0000 @@ -37,7 +37,7 @@ my %opts = (); -print "mktunes.pl ###__VERSION__### (C) Adrian Ulrich\n"; +print "mktunes ###__VERSION__### (C) Adrian Ulrich\n"; $opts{mount} = $ENV{IPOD_MOUNTPOINT}; GetOptions(\%opts, "version", "help|h", "ipod-name|n=s", "mount|m=s", "volume|v=i", "energy|e", "fwguid|g=s"); @@ -140,7 +140,7 @@ my($rtxt) = @_; die << "EOF"; $rtxt -Usage: mktunes.pl [-h] [-m directory] [-v VALUE] +Usage: mktunes [-h] [-m directory] [-v VALUE] -h, --help display this help and exit --version output version information and exit @@ -159,7 +159,7 @@ # Displays current version sub version { die << "EOF"; -mktunes.pl (gnupod) ###__VERSION__### +mktunes (gnupod) ###__VERSION__### Copyright (C) Adrian Ulrich 2002-2007 This is free software; see the source for copying conditions. There is NO --- gnupod-0.99.8/FAQ 2021-10-19 17:11:46.219547403 +0000 +++ gnupod-0.99.8/FAQ.new 2021-10-19 17:11:46.671544420 +0000 @@ -60,13 +60,13 @@ 1 Mount the iPod (eg. /mnt/ipod) 2 run gnupod_INIT -m /mnt/ipod 3 add songs using 'gnupod_addsong -m /mnt/ipod *blabla.mp3 - 4 build the iTunesDB using mktunes: 'mktunes.pl -m /mnt/ipod' + 4 build the iTunesDB using mktunes: 'mktunes -m /mnt/ipod' 5 umount the iPod and enjoy! If you add more songs, repeat step 1-5 (without step 2!) : 1 Mount the iPod 2 use gnupod_addsong - 3 build the database with mktunes.pl + 3 build the database with mktunes 4 umount Please read the README file and the info page @@ -83,7 +83,7 @@ But there are some GNUpod 'forks' -- GTKpod http://gtkpod.sf.net ('Inspired' by mktunes.pl / iTunesDB.pm) +- GTKpod http://gtkpod.sf.net ('Inspired' by mktunes / iTunesDB.pm) - Rhythmbox http://www.rhythmbox.org/ (Uses GTKpod code) (..and some companies created commercial iPod apps.. and i'm sure @@ -166,7 +166,7 @@ To fix it: - Open the GNUtunesDB.xml (/mnt/ipod/iPod_Control/.gnupod/) - Search the faulty entries, fix them and save -- Run mktunes.pl to update the iPod. +- Run mktunes to update the iPod. 10. Why? @@ -190,7 +190,7 @@ But the iTunesDB-format isn't so complicated if you know how to write the specific parts and how you'll have to assemble them. -Just have a look at iTunesDB.pm and tunes2pod+mktunes.pl +Just have a look at iTunesDB.pm and tunes2pod+mktunes ..or feel free to ask me questions about it: --- gnupod-0.99.8/README.developer 2021-10-19 17:11:46.239547272 +0000 +++ gnupod-0.99.8/README.developer.new 2021-10-19 17:11:46.683544341 +0000 @@ -6,9 +6,9 @@ Minimal testing: > gnupod_INIT /mnt/empty > gnupod_addsong -> mktunes.pl +> mktunes > tunes2pod --force -> mktunes.pl +> mktunes > check if your ipod can read the result Release checklist --- gnupod-0.99.8/CHANGES 2021-10-19 17:11:46.251547193 +0000 +++ gnupod-0.99.8/CHANGES.new 2021-10-19 17:11:46.695544262 +0000 @@ -46,7 +46,7 @@ NEW: Set addtime to a fixed value when doing autotests. NEW: Added check for "autotest" file at the ipod mountpoint. NEW: The connection hash was expanded by a "autotest" key. - NEW: Added "--fwguid" option to gnupod_INIT to be passed on to mktunes.pl. + NEW: Added "--fwguid" option to gnupod_INIT to be passed on to mktunes. *** OLD STUFF *** @@ -118,7 +118,7 @@ ------- - Added README_FIRMWARE.txt file - Added compilation-patch, thanks to Ray Lortie -- Rewrote mktunes.pl to be faster and more readable :-) +- Rewrote mktunes to be faster and more readable :-) - Added support for 2007-iPods (iPod Classic, iPod Nano-2 and iPod Touch (?) ) Apple attempted to lockout non-iTunes software by implementing an obscure @@ -161,8 +161,8 @@ - Raised video-bitrate for on-the-fly converting - Added configuration option 'automktunes'. Setting 'automktunes = 1' inside ~/.gnupodrc eliminates the need - to call mktunes.pl after adding/deleting/renaming songs because GNUpod - will call mktunes.pl itself. + to call mktunes after adding/deleting/renaming songs because GNUpod + will call mktunes itself. - Many internal changes / bugfixes to iTunesDB.pm like fixing an incorrect written mhip size. Playlist parsing has also been rewritten and cleaned up. - Bugfix: Do not detect PCM files as movies when using --decode @@ -222,7 +222,7 @@ - gnupod_addsong can now fetch podcast-rss feeds! Example: 'gnupod_addsong http://www.tagesschau.de/export/podcast' -- Added basic support for podcast-rss and podcast-guid in tunes2pod and mktunes.pl +- Added basic support for podcast-rss and podcast-guid in tunes2pod and mktunes - Fixed small bug in FileMagic.pm: UTF16-Tags didn't work. Thanks to Chris Abajian for reporting this issue. @@ -292,7 +292,7 @@ - Added support for m4a 'gnre' tags - Fixed some iPod-Shuffle issues - * mktunes.pl removes the iTunesShuffle leftover + * mktunes removes the iTunesShuffle leftover - Remove TARGET-File if File::Copy() failed for any reason => Better handling of 'disk full' but still not perfect @@ -473,7 +473,7 @@ - Changed rating-schema to match SPL-Rating -> Rating 5 is now 100 (newrating=oldrating*20) - mktunes.pl will drop old (= now invalid) ratings, + mktunes will drop old (= now invalid) ratings, no autoconvert... sorry.. but does anyone care? - gnupod_addsong understands ID3v2.2 tags @@ -557,7 +557,7 @@ a 'feature' of iTunes) * Added 'eq syntax check', you can use (since 0.90) 'eq="#!#NUMBER#!#' to specify the EQ-Setting per song. - mktunes.pl will now check if this syntax is correct. + mktunes will now check if this syntax is correct. (You'll see a warning if it failed) * Fixed get_string() to handle null-size strings correct * Changed some internal things (using hrefs.. etc) @@ -576,7 +576,7 @@ * Added paranoia checks (stricter parsing) * Added SPL-Read code (BETA!) -mktunes.pl +mktunes * Added SPL-Write support * regex-matches are sorted by id @@ -611,13 +611,13 @@ * Added '--france' switch (Limit volume to 100 db for 1.x Firmware) -mktunes.pl +mktunes * New Playlist-Code.. MUCH faster now (Wow.. again? no.. the code of 0.90 was VERY slow with many files (~3000) and more than ~15 big playlists) * Added '--volume' switch: Adjust the volume on the iPod! - Use something like 'mktunes.pl --volume 70' to boost + Use something like 'mktunes --volume 70' to boost the volume by 70% (same as volume="70" in the GNUtunesDB) XMLhelper.pm @@ -671,9 +671,9 @@ - Rewritten Playlistcode for tunes2pod - tunes2pod doesn't kill your empty GNUtunesDB anymore if it can't find the iTunesDB -- mktunes.pl uses now binmode(), maybe this helps +- mktunes uses now binmode(), maybe this helps RedHat 8 ? .. (and win32 ;) ) -- mktunes.pl is now *much* faster!! +- mktunes is now *much* faster!! - the GNUtunesDB written by gnupod_delete.pl looks nicer now :) (id= is now always the first element..) @@ -698,7 +698,7 @@ written by MusicMatch - Playlists are now sorted on the iPod as they are found in the GNUtunesDB - file -- mktunes.pl no longer accepts when was +- mktunes no longer accepts when was not found. - gnupod_addsong handles long filenames now better - Timestamp should now be set correct --- gnupod-0.99.8/README 2021-10-19 17:11:46.259547140 +0000 +++ gnupod-0.99.8/README.new 2021-10-19 17:11:46.707544182 +0000 @@ -34,10 +34,10 @@ gnupod_check Check for 'zombie' files gnupod_otgsync Handles On-The-Go Sync (not for humans) gnupod_search Search ;) -mktunes.pl Convert the GNUtunesDB.xml to a iTunesDB +mktunes Convert the GNUtunesDB.xml to a iTunesDB tunes2pod Convert the iTunesDB into a GNUtunesDB.xml -You'll have to use mktunes.pl if you added/deleted/changed something +You'll have to use mktunes if you added/deleted/changed something on the iPod. --- gnupod-0.99.8/README.about_m4a 2021-10-19 17:11:46.011548776 +0000 +++ gnupod-0.99.8/README.about_m4a.new 2021-10-19 17:11:46.743543945 +0000 @@ -30,6 +30,6 @@ Now you can add the file using gnupod_addsong # gnupod_addsong file.m4a -# mktunes.pl +# mktunes :) --- gnupod-0.99.8/doc/gnupodrc.example 2021-10-19 17:11:46.275547034 +0000 +++ gnupod-0.99.8/doc/gnupodrc.example.new 2021-10-19 17:11:46.763543813 +0000 @@ -22,9 +22,9 @@ ## * nano_4g (the late 2008 nano) # model = video -## Let GNUpod call mktunes.pl itself. +## Let GNUpod call mktunes itself. ## This may cause a slow-down when dealing with -## large databases on slow CPUs because mktunes.pl +## large databases on slow CPUs because mktunes ## may take some time to complete # automktunes = 1 @@ -32,7 +32,7 @@ ##### NON GLOBAL OPTIONS ###### -# *** mktunes.pl *** +# *** mktunes *** ## Specify the iPods name # mktunes.ipod-name = Wurstli @@ -46,7 +46,7 @@ # tunes2pod.force = 1 -# *** mktunes.pl *** +# *** mktunes *** ## Set --volume boost to +10 percent # mktunes.volume = +10 ## Enforce iPod serial number: --- gnupod-0.99.8/doc/gnupod.info 2021-10-19 17:11:46.287546955 +0000 +++ gnupod-0.99.8/doc/gnupod.info.new 2021-10-19 17:11:46.779543707 +0000 @@ -338,8 +338,8 @@ Setup Firewire (or USB) as described in 'Using FireWire with GNU/Linux', load the modules and make sure that sbp2 detected your iPod. -Mount the iPod and run `mktunes.pl' to bring the device into a 'clean' -state. Unmount the iPod after mktunes.pl finishes but do *not* unplug +Mount the iPod and run `mktunes' to bring the device into a 'clean' +state. Unmount the iPod after mktunes finishes but do *not* unplug the iPod. Ready? Ok, we assume your iPod is `/dev/sda': First you need to get a new Firmware image. Checkout the latest @@ -545,7 +545,7 @@ This example searches all files from 'Alfred Neumann', changes the artist into 'John Doe' and sets the rating to 5 Stars (5*20=100) - Don't forget to run mktunes.pl! + Don't forget to run mktunes! You could also edit the GNUtunesDB.xml with a text editor :-) @@ -635,7 +635,7 @@ - Such a playlist will show up as a Podcast after running mktunes.pl + Such a playlist will show up as a Podcast after running mktunes gnupod_addsong can also download podcasts and create such playlists itself: @@ -679,7 +679,7 @@ # Set cover.jpg as artwork for all songs that match album =~ /Katamari/i gnupod_search --artwork cover.jpg --album Katamari - don't forget to run `mktunes.pl' afterwards. + don't forget to run `mktunes' afterwards. Note: Artwork added by GNUpod may vanish after using iTunes: GNUpod does not inject the artwork into the id3-header of the file. If iTunes @@ -692,28 +692,28 @@ 4.10 Unplug the iPod ==================== -Before umounting the iPod, you have to call `mktunes.pl' which will +Before umounting the iPod, you have to call `mktunes' which will parse the GNUtunesDB XML file and convert it into the iTunesDB format. Simply run - mktunes.pl -m /mnt/ipod + mktunes -m /mnt/ipod - Note: Since GNUpod 0.91, mktunes.pl has a '-volume' option which you + Note: Since GNUpod 0.91, mktunes has a '-volume' option which you can use to boost the Volume. - mktunes.pl -m /mnt/ipod --volume 40 + mktunes -m /mnt/ipod --volume 40 This would adjust the volume +40 percent. (You can also use '-100' to get a silent iPod ;) ) - After `mktunes.pl' is done, you can umount the iPod and remove the + After `mktunes' is done, you can umount the iPod and remove the sbp2 module umount /mnt/ipod rmmod sbp2 Added songs won't be visible on the iPod if you did not run -mktunes.pl before umounting the iPod. (If you forgot to run -`mktunes.pl' before unpluging/umounting, simply mount the iPod again +mktunes before umounting the iPod. (If you forgot to run +`mktunes' before unpluging/umounting, simply mount the iPod again and run it)  @@ -803,7 +803,7 @@ should be autodetected on GNU/Linux (via `/proc/bus/usb/devices') and Solaris (via `prtconf -v'). If GNUpod somehow fails to find the correct serial number of your iPod you'll have to specify the correct -value using the `--fwguid' switch of `mktunes.pl'. +value using the `--fwguid' switch of `mktunes'.  File: gnupod.info, Node: Problems, Next: GNU Free Documentation License, Prev: Using GNUpod, Up: Top @@ -840,17 +840,17 @@ understand by humans and easy to edit by hand. Everytime you run `tunes2pod', the iTunesDB will get parsed and -converted into an XML File (the GNUtunesDB). `mktunes.pl' does the +converted into an XML File (the GNUtunesDB). `mktunes' does the opposite: it parses the XML file and creates an iTunesDB (for the iPod and iTunes) - Only mktunes.pl and tunes2pod have to worry about the iTunesDB + Only mktunes and tunes2pod have to worry about the iTunesDB format: all other tools (gnupod_addsong for example) only have to deal with the XML file called GNUtunesDB. It's important to keep the iTunesDB and GNUtunesDB 'in sync', so everytime you change the GNUtunesDB (by hand or using -gnupod_something.pl) you'll have to run `mktunes.pl'. +gnupod_something.pl) you'll have to run `mktunes'. If 'you' changed the iTunesDB (using gtkPod/iTunes/Ehpod), run `tunes2pod' *before* using any other GNUpod commands. --- gnupod-0.99.8/doc/gnupod.texi 2021-10-19 17:11:46.303546849 +0000 +++ gnupod-0.99.8/doc/gnupod.texi.new 2021-10-19 17:11:46.791543628 +0000 @@ -359,7 +359,7 @@ Note: These steps do not work on late 2007 iPods (such as Classic, Touch and 3th gen. Nano). Setup Firewire (or USB) as described in 'Using FireWire with GNU/Linux', load the modules and make sure that sbp2 detected your iPod. -Mount the iPod and run @code{@w{mktunes.pl}} to bring the device into a 'clean' state. Unmount the iPod after mktunes.pl finishes +Mount the iPod and run @code{@w{mktunes}} to bring the device into a 'clean' state. Unmount the iPod after mktunes finishes but do *not* unplug the iPod. Ready? Ok, we assume your iPod is @code{@w{/dev/sda}}: First you need to get a new Firmware image. @@ -561,7 +561,7 @@ This example searches all files from 'Alfred Neumann', changes the artist into 'John Doe' and sets the rating to 5 Stars (5*20=100) -Don't forget to run mktunes.pl! +Don't forget to run mktunes! You could also edit the GNUtunesDB.xml with a text editor :-) @@ -669,7 +669,7 @@ @end example -Such a playlist will show up as a Podcast after running mktunes.pl +Such a playlist will show up as a Podcast after running mktunes gnupod_addsong can also download podcasts and create such playlists itself: @@ -718,7 +718,7 @@ gnupod_search --artwork cover.jpg --album Katamari @end example -don't forget to run @code{@w{mktunes.pl}} afterwards. +don't forget to run @code{@w{mktunes}} afterwards. Note: Artwork added by GNUpod may vanish after using iTunes: GNUpod does not inject the artwork into the id3-header of the file. If iTunes finds such a file (while scanning / changing tags) the artwork may get dropped. @@ -727,32 +727,32 @@ @node Unplug the iPod @section Unplug the iPod -Before umounting the iPod, you have to call @code{@w{mktunes.pl}} which will +Before umounting the iPod, you have to call @code{@w{mktunes}} which will parse the GNUtunesDB XML file and convert it into the iTunesDB format. Simply run @example -mktunes.pl -m /mnt/ipod +mktunes -m /mnt/ipod @end example -Note: Since GNUpod 0.91, mktunes.pl has a '--volume' option which you can use to +Note: Since GNUpod 0.91, mktunes has a '--volume' option which you can use to boost the Volume. @example -mktunes.pl -m /mnt/ipod --volume 40 +mktunes -m /mnt/ipod --volume 40 @end example This would adjust the volume +40 percent. (You can also use '-100' to get a silent iPod ;) ) -After @code{@w{mktunes.pl}} is done, you can umount the iPod and remove the sbp2 module +After @code{@w{mktunes}} is done, you can umount the iPod and remove the sbp2 module @example umount /mnt/ipod rmmod sbp2 @end example -Added songs won't be visible on the iPod if you did not run mktunes.pl before umounting the iPod. -(If you forgot to run @code{@w{mktunes.pl}} before unpluging/umounting, simply mount the iPod again and run it) +Added songs won't be visible on the iPod if you did not run mktunes before umounting the iPod. +(If you forgot to run @code{@w{mktunes}} before unpluging/umounting, simply mount the iPod again and run it) @node Recovering files @@ -832,7 +832,7 @@ non-apple software. GNUpod is able to create the required hash value if it knows the iPods serial number, this is a 16 chars long hex value such as: @code{000ba3100310abcf} and should be autodetected on GNU/Linux (via @code{/proc/bus/usb/devices}) and Solaris (via @code{prtconf -v}). If GNUpod somehow fails to find the correct serial number of your iPod you'll have to specify the correct value using the @code{--fwguid} switch -of @code{mktunes.pl}. +of @code{mktunes}. @c =========================================================================================== @@ -866,14 +866,14 @@ Everytime you run @code{@w{tunes2pod}}, the iTunesDB will get parsed and converted into an XML File (the GNUtunesDB). -@code{@w{mktunes.pl}} does the opposite: it parses the XML file and creates an iTunesDB (for the +@code{@w{mktunes}} does the opposite: it parses the XML file and creates an iTunesDB (for the iPod and iTunes) -Only mktunes.pl and tunes2pod have to worry about the iTunesDB format: all other tools +Only mktunes and tunes2pod have to worry about the iTunesDB format: all other tools (gnupod_addsong for example) only have to deal with the XML file called GNUtunesDB. It's important to keep the iTunesDB and GNUtunesDB 'in sync', so everytime you change the -GNUtunesDB (by hand or using gnupod_something.pl) you'll have to run @code{@w{mktunes.pl}}. +GNUtunesDB (by hand or using gnupod_something.pl) you'll have to run @code{@w{mktunes}}. If 'you' changed the iTunesDB (using gtkPod/iTunes/Ehpod), run @code{@w{tunes2pod}} *before* using any other GNUpod commands. --- gnupod-0.99.8/doc/gnupod.html 2021-10-19 17:11:46.351546533 +0000 +++ gnupod-0.99.8/doc/gnupod.html.new 2021-10-19 17:11:46.803543549 +0000 @@ -475,7 +475,7 @@

Setup Firewire (or USB) as described in 'Using FireWire with GNU/Linux', load the modules and make sure that sbp2 detected your iPod. -Mount the iPod and run mktunes.pl to bring the device into a 'clean' state. Unmount the iPod after mktunes.pl finishes +Mount the iPod and run mktunes to bring the device into a 'clean' state. Unmount the iPod after mktunes finishes but do *not* unplug the iPod. Ready? Ok, we assume your iPod is /dev/sda:

@@ -784,7 +784,7 @@ sets the rating to 5 Stars (5*20=100)

-Don't forget to run mktunes.pl! +Don't forget to run mktunes!

You could also edit the GNUtunesDB.xml with a text editor :-) @@ -911,7 +911,7 @@ </playlist>

-Such a playlist will show up as a Podcast after running mktunes.pl +Such a playlist will show up as a Podcast after running mktunes

gnupod_addsong can also download podcasts and create such playlists itself: @@ -967,7 +967,7 @@ gnupod_search --artwork cover.jpg --album Katamari

-don't forget to run mktunes.pl afterwards. +don't forget to run mktunes afterwards.

Note: Artwork added by GNUpod may vanish after using iTunes: GNUpod does not inject the artwork into the id3-header of the file. @@ -992,32 +992,32 @@

-Before umounting the iPod, you have to call mktunes.pl which will +Before umounting the iPod, you have to call mktunes which will parse the GNUtunesDB XML file and convert it into the iTunesDB format.

Simply run -
 
mktunes.pl -m /mnt/ipod
+
 
mktunes -m /mnt/ipod
 

-Note: Since GNUpod 0.91, mktunes.pl has a '--volume' option which you can use to +Note: Since GNUpod 0.91, mktunes has a '--volume' option which you can use to boost the Volume.

-
 
mktunes.pl -m /mnt/ipod --volume 40
+
 
mktunes -m /mnt/ipod --volume 40
 

This would adjust the volume +40 percent. (You can also use '-100' to get a silent iPod ;) )

-After mktunes.pl is done, you can umount the iPod and remove the sbp2 module +After mktunes is done, you can umount the iPod and remove the sbp2 module
 
umount /mnt/ipod
 rmmod sbp2
 

-Added songs won't be visible on the iPod if you did not run mktunes.pl before umounting the iPod. -(If you forgot to run mktunes.pl before unpluging/umounting, simply mount the iPod again and run it) +Added songs won't be visible on the iPod if you did not run mktunes before umounting the iPod. +(If you forgot to run mktunes before unpluging/umounting, simply mount the iPod again and run it)

@@ -1147,7 +1147,7 @@ non-apple software. GNUpod is able to create the required hash value if it knows the iPods serial number, this is a 16 chars long hex value such as: 000ba3100310abcf and should be autodetected on GNU/Linux (via /proc/bus/usb/devices) and Solaris (via prtconf -v). If GNUpod somehow fails to find the correct serial number of your iPod you'll have to specify the correct value using the --fwguid switch -of mktunes.pl. +of mktunes.

@@ -1213,16 +1213,16 @@ Everytime you run tunes2pod, the iTunesDB will get parsed and converted into an XML File (the GNUtunesDB). -mktunes.pl does the opposite: it parses the XML file and creates an iTunesDB (for the +mktunes does the opposite: it parses the XML file and creates an iTunesDB (for the iPod and iTunes)

-Only mktunes.pl and tunes2pod have to worry about the iTunesDB format: all other tools +Only mktunes and tunes2pod have to worry about the iTunesDB format: all other tools (gnupod_addsong for example) only have to deal with the XML file called GNUtunesDB.

It's important to keep the iTunesDB and GNUtunesDB 'in sync', so everytime you change the -GNUtunesDB (by hand or using gnupod_something.pl) you'll have to run mktunes.pl. +GNUtunesDB (by hand or using gnupod_something.pl) you'll have to run mktunes.

If 'you' changed the iTunesDB (using gtkPod/iTunes/Ehpod), run tunes2pod *before* --- gnupod-0.99.8/BUGS 2021-10-19 17:11:46.107548143 +0000 +++ gnupod-0.99.8/BUGS.new 2021-10-19 17:11:46.819543443 +0000 @@ -5,5 +5,5 @@ * GNUpod doen't like audible.com files (I'll have to look at this later...) * gnupod_addsong --restore doesn't remove the '\d+_' prefix from files without tags -* mktunes.pl -v 0 doesn't overwrite config value +* mktunes -v 0 doesn't overwrite config value See -> TODO Created gnupod-0.99.8/man/gnupod_convert_MIDI.pl.1.gz --- gnupod-0.99.8/src/ext/FileMagic.pm 2021-10-19 17:11:45.751550493 +0000 +++ gnupod-0.99.8/src/ext/FileMagic.pm.new 2021-10-19 17:11:47.063541833 +0000 @@ -51,7 +51,7 @@ # done! # -my $NN_HEADERS = {'MThd' => { encoder=>'gnupod_convert_MIDI.pl', ftyp=>'MIDI'}, +my $NN_HEADERS = {'MThd' => { encoder=>'gnupod_convert_MIDI', ftyp=>'MIDI'}, 'fLaC' => { encoder=>'gnupod_convert_FLAC', ftyp=>'FLAC'}, 'OggS' => { encoder=>'gnupod_convert_OGG', ftyp=>'OGG' }, 'MAC ' => { encoder=>'gnupod_convert_APE', ftyp=>'APE' }, quilt --quiltrc debian/quiltrc push -a Applying patch 01-new-perl.patch patching file gnupod-0.99.8/src/ext/FileMagic.pm patching file gnupod-0.99.8/src/ext/XMLhelper.pm Applying patch 02-case-insensitive-metadata.patch patching file gnupod-0.99.8/src/gnupod_convert_FLAC.pl Applying patch 03-use-digest-sha.patch patching file gnupod-0.99.8/configure patching file gnupod-0.99.8/configure.ac patching file gnupod-0.99.8/src/ext/Hash58.pm Applying patch 04-install-incdir.patch patching file gnupod-0.99.8/tools/gnupod_install.pl Now at patch 04-install-incdir.patch dh_testdir cd gnupod-0.99.8 && ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info checking for perl-5.8... no checking for perl-5.6... no checking for perl... /usr/bin/perl GNUpod will use /usr/bin/perl checking for Digest::MD5... ok checking for Digest::SHA... ok checking for XML::Parser... ok checking for Unicode::String... ok checking for MP3::Info... ok checking for File::Copy... ok checking for Date::Parse... ok checking for Date::Format... ok checking for Data::Dumper... ok checking for optional Audio::FLAC::Header... ok checking for optional Ogg::Vorbis::Header::PurePerl... ok checking for optional Date::Manip... failed! ** Date::Manip not found. You can install it using this command: ** # perl -MCPAN -e 'install Date::Manip' ** ..but GNUpod will also work without Date::Manip installed version of MP3::Info looks good for utf8 support installed version of MP3::Info looks good for APE tag and RVA2 support checking installed encoders... done checking installed decoders... done checking for ffmpeg with AAC support... not found, --decode=video won't work checking for ImageMagick...not found, --artwork won't work configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting Settings: --------- Release : 0.99.8 Perl Version : 5.28.1 Prefix : /usr Perl INC : /etc/perl Encoders : (mpeg4/no ffmpeg with aac support found) (disabled faac: Binary not found) (disabled lame: Binary not found) wav Decoders : (disabled timidity: Binary not found) (disabled flac: Binary not found) (disabled oggdec: Binary not found) Artwork Support : No (ImageMagick is not installed) -> use 'make install' to install GNUpod -> use 'info GNUpod' to read the documentation after you installed GNUpod -> use 'make uninstall' to remove GNUpod from /usr dh_testdir fakeroot debian/rules binary-indep dh_testdir dh_testdir dh_testroot dh_prep -i dh_installdirs -i /usr/bin/make -C gnupod-0.99.8 install DESTDIR=/build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools make[1]: Entering directory '/build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/gnupod-0.99.8' /bin/bash ./mkinstalldirs /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin /bin/bash ./mkinstalldirs /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1 /usr/bin/perl tools/gnupod_install.pl INSTALL "/usr/bin/perl" "/usr/bin" "/usr/share/info" "/usr/share/man" "/build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools" Installing GNUpod 0.99.8 using gnupod_install 0.25 > src/gnupod_addsong.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/gnupod_addsong.pl > src/gnupod_check.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/gnupod_check.pl > src/gnupod_convert_APE.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/gnupod_convert_APE.pl > src/gnupod_convert_FLAC.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/gnupod_convert_FLAC.pl > src/gnupod_convert_MIDI.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/gnupod_convert_MIDI.pl > src/gnupod_convert_OGG.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/gnupod_convert_OGG.pl > src/gnupod_convert_RIFF.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/gnupod_convert_RIFF.pl > src/gnupod_INIT.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/gnupod_INIT.pl > src/gnupod_otgsync.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/gnupod_otgsync.pl > src/gnupod_search.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/gnupod_search.pl > src/mktunes.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/mktunes.pl > src/tunes2pod.pl --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/tunes2pod.pl Installing Modules at /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/perl5/GNUpod/ > src/ext/ArtworkDB.pm --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/perl5/GNUpod/ArtworkDB.pm > src/ext/FileMagic.pm --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/perl5/GNUpod/FileMagic.pm > src/ext/FooBar.pm --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/perl5/GNUpod/FooBar.pm > src/ext/Hash58.pm --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/perl5/GNUpod/Hash58.pm > src/ext/iTunesDB.pm --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/perl5/GNUpod/iTunesDB.pm > src/ext/Mktunes.pm --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/perl5/GNUpod/Mktunes.pm > src/ext/QTfile.pm --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/perl5/GNUpod/QTfile.pm > src/ext/SysInfo.pm --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/perl5/GNUpod/SysInfo.pm > src/ext/XMLhelper.pm --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/perl5/GNUpod/XMLhelper.pm Installing info-documentation (/build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/info/) Can't exec "install-info": No such file or directory at tools/gnupod_install.pl line 75. ** install-info failed, documentation *NOT* installed ** See 'doc/gnupod.html' for an HTML version... Installing manual pages > man/gnupod_addsong.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/gnupod_addsong.pl.1.gz > man/gnupod_check.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/gnupod_check.pl.1.gz > man/gnupod_convert_APE.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/gnupod_convert_APE.pl.1.gz > man/gnupod_convert_FLAC.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/gnupod_convert_FLAC.pl.1.gz > man/gnupod_convert_MIDI.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/gnupod_convert_MIDI.pl.1.gz > man/gnupod_convert_OGG.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/gnupod_convert_OGG.pl.1.gz > man/gnupod_convert_RIFF.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/gnupod_convert_RIFF.pl.1.gz > man/gnupod_INIT.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/gnupod_INIT.pl.1.gz > man/gnupod_otgsync.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/gnupod_otgsync.pl.1.gz > man/gnupod_search.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/gnupod_search.pl.1.gz > man/mktunes.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/mktunes.pl.1.gz > man/tunes2pod.pl.1.gz --> /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/tunes2pod.pl.1.gz done! make[1]: Leaving directory '/build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/gnupod-0.99.8' : # Drop the .pl from each manpage and executable name rename 's/\.pl//' /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/bin/*.pl rename 's/\.pl//' /build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8/debian/gnupod-tools/usr/share/man/man1/*.gz rm -f debian/gnupod-tools/usr/share/info/dir* /usr/bin/make -f debian/rules DH_OPTIONS=-i binary-common make[1]: Entering directory '/build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8' dh_testdir dh_testroot dh_installdocs gnupod-0.99.8/TODO gnupod-0.99.8/doc/fdl.texi gnupod-0.99.8/doc/version.texi gnupod-0.99.8/doc/gnupod.texi gnupod-0.99.8/doc/gnupod.html gnupod-0.99.8/doc/gnupodrc.example dh_installexamples gnupod-0.99.8/doc/gnutunesdb.example dh_installinfo gnupod-0.99.8/doc/gnupod.info dh_installman dh_installchangelogs gnupod-0.99.8/CHANGES dh_link dh_compress dh_fixperms dh_installdeb dh_perl dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'gnupod-tools' in '../gnupod-tools_0.99.8-6_all.deb'. make[1]: Leaving directory '/build/gnupod-tools-yVRKIn/gnupod-tools-0.99.8' dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../gnupod-tools_0.99.8-6_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/gnupod-tools-yVRKIn /tmp/gnupod-tools-0.99.8-6ukw8pngk I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.Td7m06z5v1... I: success in 452.8853 seconds md5: gnupod-tools_0.99.8-6_all.deb: OK sha1: gnupod-tools_0.99.8-6_all.deb: OK sha256: gnupod-tools_0.99.8-6_all.deb: OK Checksums: OK