| 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 16:39:36.148769173 +0000
+++ gnupod-0.99.8/src/ext/FileMagic.pm.new 2021-10-19 16:39:36.784764318 +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 16:39:36.788764288 +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 16:39:36.784764318 +0000
+++ gnupod-0.99.8/src/ext/FileMagic.pm.new 2021-10-19 16:39:36.904763402 +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 16:39:36.544766150 +0000
+++ gnupod-0.99.8/CHANGES.new 2021-10-19 16:39:36.948763066 +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 16:39:36.972762883 +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 16:39:36.980762822 +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 16:39:36.948763066 +0000
+++ gnupod-0.99.8/CHANGES.new 2021-10-19 16:39:36.988762761 +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 16:39:36.996762699 +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 16:39:36.572765937 +0000
+++ gnupod-0.99.8/README.new 2021-10-19 16:39:37.004762639 +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 16:39:36.404767219 +0000
+++ gnupod-0.99.8/src/gnupod_check.pl.new 2021-10-19 16:39:37.068762150 +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 16:39:36.488766578 +0000
+++ gnupod-0.99.8/src/gnupod_addsong.pl.new 2021-10-19 16:39:37.076762089 +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 16:39:36.508766425 +0000
+++ gnupod-0.99.8/FAQ.new 2021-10-19 16:39:37.088761998 +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 16:39:36.988762761 +0000
+++ gnupod-0.99.8/CHANGES.new 2021-10-19 16:39:37.096761937 +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 @@
-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 16:39:37.192761204 +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 16:39:37.240760838 +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 16:39:36.972762883 +0000
+++ gnupod-0.99.8/src/ext/FooBar.pm.new 2021-10-19 16:39:37.260760685 +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 16:39:36.480766639 +0000
+++ gnupod-0.99.8/src/ext/XMLhelper.pm.new 2021-10-19 16:39:37.272760593 +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 16:39:36.980762822 +0000
+++ gnupod-0.99.8/src/gnupod_otgsync.pl.new 2021-10-19 16:39:37.284760502 +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 16:39:37.292760441 +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 16:39:37.088761998 +0000
+++ gnupod-0.99.8/FAQ.new 2021-10-19 16:39:37.300760379 +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 16:39:36.516766364 +0000
+++ gnupod-0.99.8/README.developer.new 2021-10-19 16:39:37.308760319 +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 16:39:37.096761937 +0000
+++ gnupod-0.99.8/CHANGES.new 2021-10-19 16:39:37.320760227 +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 16:39:37.104761875 +0000
+++ gnupod-0.99.8/README.new 2021-10-19 16:39:37.348760013 +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 16:39:37.136761631 +0000
+++ gnupod-0.99.8/doc/gnupodrc.example.new 2021-10-19 16:39:37.360759922 +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 16:39:37.164761418 +0000
+++ gnupod-0.99.8/doc/gnupod.info.new 2021-10-19 16:39:37.372759830 +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 16:39:37.172761357 +0000
+++ gnupod-0.99.8/doc/gnupod.texi.new 2021-10-19 16:39:37.384759738 +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 16:39:37.184761265 +0000
+++ gnupod-0.99.8/doc/gnupod.html.new 2021-10-19 16:39:37.392759678 +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
+
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 16:39:36.444766913 +0000
+++ gnupod-0.99.8/src/gnupod_search.pl.new 2021-10-19 16:39:37.452759219 +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 16:39:37.216761021 +0000
+++ gnupod-0.99.8/src/gnupod_INIT.pl.new 2021-10-19 16:39:37.468759098 +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 16:39:36.472766700 +0000
+++ gnupod-0.99.8/src/ext/Mktunes.pm.new 2021-10-19 16:39:37.484758975 +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 16:39:37.260760685 +0000
+++ gnupod-0.99.8/src/ext/FooBar.pm.new 2021-10-19 16:39:37.496758883 +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 16:39:37.284760502 +0000
+++ gnupod-0.99.8/src/gnupod_otgsync.pl.new 2021-10-19 16:39:37.508758792 +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 16:39:37.076762089 +0000
+++ gnupod-0.99.8/src/gnupod_addsong.pl.new 2021-10-19 16:39:37.544758518 +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 16:39:36.500766486 +0000
+++ gnupod-0.99.8/src/mktunes.pl.new 2021-10-19 16:39:37.564758365 +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 16:39:37.300760379 +0000
+++ gnupod-0.99.8/FAQ.new 2021-10-19 16:39:37.648757723 +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 16:39:37.308760319 +0000
+++ gnupod-0.99.8/README.developer.new 2021-10-19 16:39:37.668757571 +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 16:39:37.320760227 +0000
+++ gnupod-0.99.8/CHANGES.new 2021-10-19 16:39:37.680757479 +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 16:39:37.348760013 +0000
+++ gnupod-0.99.8/README.new 2021-10-19 16:39:37.688757418 +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 16:39:37.112761814 +0000
+++ gnupod-0.99.8/README.about_m4a.new 2021-10-19 16:39:37.696757357 +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 16:39:37.360759922 +0000
+++ gnupod-0.99.8/doc/gnupodrc.example.new 2021-10-19 16:39:37.708757266 +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 16:39:37.372759830 +0000
+++ gnupod-0.99.8/doc/gnupod.info.new 2021-10-19 16:39:37.720757174 +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 16:39:37.384759738 +0000
+++ gnupod-0.99.8/doc/gnupod.texi.new 2021-10-19 16:39:37.752756930 +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 16:39:37.392759678 +0000
+++ gnupod-0.99.8/doc/gnupod.html.new 2021-10-19 16:39:37.772756777 +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
+
-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 16:39:37.192761204 +0000
+++ gnupod-0.99.8/BUGS.new 2021-10-19 16:39:37.780756717 +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 16:39:36.904763402 +0000
+++ gnupod-0.99.8/src/ext/FileMagic.pm.new 2021-10-19 16:39:37.904755770 +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-6v2ggdw9f
I: cleaning package lists and apt cache...
I: creating tarball...
I: done
I: removing tempdir /tmp/mmdebstrap.XBi3BzxQQE...
I: success in 409.2426 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
|
|
|
|
|
|
|