s-toolbox.git
5 weeks agobtrfs-snapshot.sh: try ./btrfs-snapshot before /root/hosts/$HOSTNAME/xy master origin/master sourceforge/master
Steffen Nurpmeso [Mon, 29 Mar 2021 22:50:24 +0000 (00:50 +0200)]
btrfs-snapshot.sh: try ./btrfs-snapshot before /root/hosts/$HOSTNAME/xy

2 months agobackup.sh: silence zstd, really
Steffen Nurpmeso [Wed, 3 Mar 2021 15:36:55 +0000 (16:36 +0100)]
backup.sh: silence zstd, really

2 months agobackup.sh: complete backup without doc, done by itself, then
Steffen Nurpmeso [Tue, 2 Mar 2021 22:08:59 +0000 (23:08 +0100)]
backup.sh: complete backup without doc, done by itself, then

2 months agopam_xdg.c: in fact needs setegid(2) games, in containers etc.!!!
Steffen Nurpmeso [Wed, 24 Feb 2021 00:33:45 +0000 (01:33 +0100)]
pam_xdg.c: in fact needs setegid(2) games, in containers etc.!!!

2 months agobackup.sh: update directory set
Steffen Nurpmeso [Wed, 24 Feb 2021 00:23:15 +0000 (01:23 +0100)]
backup.sh: update directory set

2 months agopam_xdg: do not set umask(2) either, or had to restore original value
Steffen Nurpmeso [Mon, 8 Feb 2021 16:02:40 +0000 (17:02 +0100)]
pam_xdg: do not set umask(2) either, or had to restore original value

3 months agopam_xdg: now without lock file, must ignore EEXIST of mkdir(2)!
Steffen Nurpmeso [Mon, 1 Feb 2021 17:45:50 +0000 (18:45 +0100)]
pam_xdg: now without lock file, must ignore EEXIST of mkdir(2)!

3 months agopam_xdg: sessions not useful with PAM, strip to minimum; drop pam_shrundir
Steffen Nurpmeso [Sun, 31 Jan 2021 00:34:34 +0000 (01:34 +0100)]
pam_xdg: sessions not useful with PAM, strip to minimum; drop pam_shrundir

3 months agopam_xdg: introduced: completely manage XDG spec
Steffen Nurpmeso [Sat, 30 Jan 2021 21:55:04 +0000 (22:55 +0100)]
pam_xdg: introduced: completely manage XDG spec

3 months agopam_shrundir: better not even remove lock file
Steffen Nurpmeso [Sat, 30 Jan 2021 19:36:22 +0000 (20:36 +0100)]
pam_shrundir: better not even remove lock file

3 months agoS-cdda-to-db v0.6.2: add --frames argument; manual nits
Steffen Nurpmeso [Fri, 29 Jan 2021 23:49:53 +0000 (00:49 +0100)]
S-cdda-to-db v0.6.2: add --frames argument; manual nits

3 months agopam_shrundir: fix lockfile race; use fd approach
Steffen Nurpmeso [Fri, 29 Jan 2021 13:57:08 +0000 (14:57 +0100)]
pam_shrundir: fix lockfile race; use fd approach

3 months agoS-cdda v0.8.5: add -f rames per second argument; manual nits
Steffen Nurpmeso [Thu, 28 Jan 2021 19:35:22 +0000 (20:35 +0100)]
S-cdda v0.8.5: add -f rames per second argument; manual nits

3 months agopam_shrundir: add manual
Steffen Nurpmeso [Tue, 26 Jan 2021 23:32:36 +0000 (00:32 +0100)]
pam_shrundir: add manual

3 months agopam_shrundir: added: manage Linux /run/user/`id -u` directories via PAM
Steffen Nurpmeso [Tue, 26 Jan 2021 00:03:38 +0000 (01:03 +0100)]
pam_shrundir: added: manage Linux /run/user/`id -u` directories via PAM

3 months agobackup.sh: try to silence archiver and compressor
Steffen Nurpmeso [Sun, 24 Jan 2021 01:12:58 +0000 (02:12 +0100)]
backup.sh: try to silence archiver and compressor

3 months agoCopyright 2021, and we now use gitweb not cgit
Steffen Nurpmeso [Sat, 16 Jan 2021 21:18:26 +0000 (22:18 +0100)]
Copyright 2021, and we now use gitweb not cgit

4 months agobtrfs-snapshot.sh: call btrfs filesystem sync
Steffen Nurpmeso [Mon, 28 Dec 2020 19:09:39 +0000 (20:09 +0100)]
btrfs-snapshot.sh: call btrfs filesystem sync

4 months agobtrfs-snapshot.sh: add ZSTD_LEVEL, default to -5 (do not built-in -10)
Steffen Nurpmeso [Sat, 26 Dec 2020 23:46:47 +0000 (00:46 +0100)]
btrfs-snapshot.sh: add ZSTD_LEVEL, default to -5 (do not built-in -10)

4 months agobackup.sh: redirect $COMPRESSOR input from /dev/null
Steffen Nurpmeso [Sat, 26 Dec 2020 19:10:46 +0000 (20:10 +0100)]
backup.sh: redirect $COMPRESSOR input from /dev/null

5 months agobtrfs-snapshot.sh: logger(1): -i is not portable
Steffen Nurpmeso [Fri, 13 Nov 2020 19:06:05 +0000 (20:06 +0100)]
btrfs-snapshot.sh: logger(1): -i is not portable

5 months agos-cdda.1: state SCSI MMC-3 requirement also in manual
Steffen Nurpmeso [Fri, 6 Nov 2020 15:39:16 +0000 (16:39 +0100)]
s-cdda.1: state SCSI MMC-3 requirement also in manual

5 months agos-cdda-to-db.pl: whereas i do not think Darwin works, at least try it
Steffen Nurpmeso [Fri, 6 Nov 2020 15:27:58 +0000 (16:27 +0100)]
s-cdda-to-db.pl: whereas i do not think Darwin works, at least try it

6 months agos-cdda.c: clean up log message, v0.8.4
Steffen Nurpmeso [Thu, 5 Nov 2020 15:08:49 +0000 (16:08 +0100)]
s-cdda.c: clean up log message, v0.8.4

6 months agos-cdda-to-db.pl: _os_via_scdda(): no log-related $dev.= (fizzie #perl)..
Steffen Nurpmeso [Thu, 5 Nov 2020 14:58:16 +0000 (15:58 +0100)]
s-cdda-to-db.pl: _os_via_scdda(): no log-related $dev.= (fizzie #perl)..

Step to v0.6.1 after fixing a stupid log-related append to $dev
that is used later on.  Shameful:

  15:40 < stenur> Hello! Have "scoping rules" changed for closures in 5.32? I have a ~15-20 year old script which has a function which uses "my" for some variables and then "exports" things like "$FileReader = sub{ code which uses MY variables }", and with perl 5.32 this fails..
  15:40 < LeoNerd> I verymuch doubt it
  15:40 < haarg> how does it fail?
  15:41 < stenur> Hi! Well the variable has a content that it never got.
  15:41 < stenur> It should either be '$dev = "-d $CDROM";' or "$dev = '';", but the actual content was "F" !!
  15:41 < anno> you can't export lexical variables
  15:41 < haarg> nothing has really changed in terms of scoping like that
  15:42 < haarg> can you show the code?
  15:42 < ilmari> can you show the whole function, and an example usage of it with output that demonstrates the wrong behaviour?
  15:42 < ilmari> anno: it seems to exporta a closure over them
  15:42 < stenur> Then this must be a perl bug. 5.32 compiled on CRUX-Linux 3.6 with default flags (-O2 -march=x86-64 -pipe)
  15:42 < stenur> Yes. Wait.
  15:43 < anno> how is $FileReader declared?
  15:44 < stenur> The function is at https://git.sdaoden.eu/cgit/s-toolbox.git/tree/s-cdda-to-db.pl#n668, just five lines down
  15:45 < anno> okay, it's a package variable
  15:45 < stenur> In the "if(defined $CDROM){" block that is first.  Maybe it is only a miscompilation, hm. Maybe i should recompile perl first.
  15:46 < stenur> $FileReader is a package-local "our" variable, starting at line 521.
  15:46 < fizzie> (There's subsequent code that appends 'F' to $dev when empty, I imagine that's where your "F" comes from.)
  15:46 < LeoNerd> Perl has a huge internal test suite run as part of the build process; if it fails that it wouldn't install
  15:46 < LeoNerd> So it's quite unlikely to be a "miscompilation"
  15:46 < stenur> hahahaha!!
  15:46 < LeoNerd> (whatever you imagine that word to mean)
  15:47 -!- finsternis [~Y@23.226.237.192] has quit [Remote host closed the connection]
  15:49 < stenur> what the heck. Sneaked in June when improving error log, when it should not. Sorry for the noise!!
  15:49 < stenur> Shameful experience. Pff.
  15:49 < stenur> Thanks for perl, almost 25 years, no bug found ever. :-)
  15:50 < stenur> Ciao! (I fix this sneaked in line.)
  15:51 -!- plant_enjoyer [~plant_enj@c40-227.icpnet.pl] has quit [Quit: Leaving]
  15:54 < stenur> (Yeah, package variable. Thanks :)

8 months agobackup.sh: adjust builtin path
Steffen Nurpmeso [Thu, 3 Sep 2020 21:15:37 +0000 (23:15 +0200)]
backup.sh: adjust builtin path

8 months agobtrfs-snapshot.sh: tweak/fix previous
Steffen Nurpmeso [Wed, 26 Aug 2020 22:23:38 +0000 (00:23 +0200)]
btrfs-snapshot.sh: tweak/fix previous

8 months agobtrfs-snapshot.sh: change BALL handling
Steffen Nurpmeso [Mon, 17 Aug 2020 22:50:24 +0000 (00:50 +0200)]
btrfs-snapshot.sh: change BALL handling

10 months agoAdd makefile for s-cdda-to-db
Steffen Nurpmeso [Sat, 20 Jun 2020 22:47:09 +0000 (00:47 +0200)]
Add makefile for s-cdda-to-db

10 months agos-cdda-to-db.pl: tweaks, and raise to v0.6.0
Steffen Nurpmeso [Sat, 20 Jun 2020 22:03:33 +0000 (00:03 +0200)]
s-cdda-to-db.pl: tweaks, and raise to v0.6.0

10 months agos-cdda-to-db.pl: add MusicBrainz CD info support (finally!)
Steffen Nurpmeso [Sat, 20 Jun 2020 20:20:58 +0000 (22:20 +0200)]
s-cdda-to-db.pl: add MusicBrainz CD info support (finally!)

10 months agos-cdda-to-db.pl: minor tweaks
Steffen Nurpmeso [Sat, 20 Jun 2020 20:12:21 +0000 (22:12 +0200)]
s-cdda-to-db.pl: minor tweaks

10 months agos-cdda-to-db.pl: CDInfo::_calc_mb_discid(): use correct data array
Steffen Nurpmeso [Tue, 16 Jun 2020 17:22:21 +0000 (19:22 +0200)]
s-cdda-to-db.pl: CDInfo::_calc_mb_discid(): use correct data array

10 months agos-cdda-to-db.pl: hunt more bugs
Steffen Nurpmeso [Tue, 16 Jun 2020 16:17:24 +0000 (18:17 +0200)]
s-cdda-to-db.pl: hunt more bugs

10 months agos-cdda-to-db.pl: grr, fix a couple of errors!
Steffen Nurpmeso [Mon, 15 Jun 2020 22:06:11 +0000 (00:06 +0200)]
s-cdda-to-db.pl: grr, fix a couple of errors!

10 months agos-cdda-to-db.pl: hm, for user edits ALBUM could be missing, too; msg tweaks
Steffen Nurpmeso [Mon, 15 Jun 2020 20:15:51 +0000 (22:15 +0200)]
s-cdda-to-db.pl: hm, for user edits ALBUM could be missing, too; msg tweaks

10 months agoREADME: add s-cdda-to-db.pl entry
Steffen Nurpmeso [Sat, 13 Jun 2020 19:10:24 +0000 (21:10 +0200)]
README: add s-cdda-to-db.pl entry

10 months agoMerge branch 's-cdda-to-db'
Steffen Nurpmeso [Sat, 13 Jun 2020 19:05:05 +0000 (21:05 +0200)]
Merge branch 's-cdda-to-db'

* s-cdda-to-db:
  s-cdda-to-db.pl: add experimental, untested OPUS support
  s-cdda-to-db.pl: add DataSource::CDText
  s-cdda-to-db.pl: oops, TRACK did not support ISRC yet!
  s-cdda-to-db.pl: new name, partly redesign due to CDDB.pm obsolescence..
  s-disc-ripper.pl: revise MBDB help_text() entries
  s-disc-ripper.pl: add DB support for MCN, UPC/EAN, and ISRC
  s-disc-ripper.pl: change some names, make them easier for the eye
  s-disc-ripper.pl: state suggestion for binmode STDOUT, :encoding
  s-disc-ripper.pl: throw away --db-upgrade for a while, cannot do it like this
  s-disc-ripper.pl: --db-upgrade: tweak
  s-disc-ripper.pl: "tweak" latter: make utf8ify() local to cddb_query()
  s-disc-ripper.pl: FIX CDDB string handling (hopefully)#
  s-disc-ripper.pl: Enc::Helper::MP3: FIX UTF-16 MP3 tags, broken since EVER!!
  s-disc-ripper.pl: move utf8_echomode_o(n|off) to package Enc::Helper
  s-disc-ripper.pl: make coders a free-form, object-based thingie
  s-disc-ripper.pl: _calc_mb_discid(): fix previous: use arg ref not var directly
  s-disc-ripper.pl: add _calc_mb_discid() (MusicBrainz Disc ID)
  s-disc-ripper.pl: [CDDB]: add TRACK_FIRST and TRACK_LAST; save LEADOUT in LBA!
  s-disc-ripper.pl: glue to s-cdda v0.8.2
  s-disc-ripper.pl: add --db-upgrade; convert CDDB TRACK_OFFSETS to TRACKS_LBA
  s-disc-ripper.pl: parse_formats(): allows whitespace in -f and $S_MUSIC_FORMATS
  s-disc-ripper.pl: use -f/--formats aka $S_MUSIC_FORMATS for formats
  s-disc-ripper.pl: utf8ify() mess, does not work out with unknown data
  s-disc-ripper.pl: tweak [98a11a9]
  s-disc-ripper.pl: add FLAC support
  s-disc-ripper.pl: drop cdparanoia/cd-info; use s-cdda(1)!..
  s-disc-ripper.pl: better usage
  s-disc-ripper: faked CDDB entries use bytes as offsets, not seconds
  s-disc-ripper: style copyright years
  s-disc-ripper: version v0.5.2
  s-disc-ripper: port to Linux (cd-?paranoia, cd-info)
  s-disc-ripper: cddb_query(): avoid deprecation warning
  s-disc-ripper: contradictions which slipped through
  s-disc-ripper: make --help output OS dependent
  s-disc-ripper: adjust version for v0.5.1 (..)
  s-disc-ripper: contradictions etc
  Copyright 2020
  Drop "All Rights reserved" notes; while here, s-it-mode..
  s-disc-ripper.pl: new faac(1) no longer uses MP4v2, no more -s option
  s-disc-ripper.pl: clarify message for user confirmation
  Copyright 2016; sdaoden.eu
  s-disc-ripper: deal with new sox(1) argument handling
  disc-ripper: bump version v0.5.0
  disc-ripper: deal with command line encodings, too
  disc-ripper: tweak --cdrom/--cdromdev docu
  disc-ripper: use "/usr/bin/env perl" not "/usr/bin/perl"
  disc-ripper: stop using BEGIN{} and abs. addressing for pack. globals
  disc-ripper: vim(1) modeline, use sequential exec main_fun()
  disc-ripper: fix deprecation warning perl(1) v5.16.1
  disc-ripper: bump version v0.5.0rc1
  disc-ripper: do not require music DB if --rip-only
  disc-ripper: add missing binmode() calls
  disc-ripper: add utf8ify(), use PerlIO encoding layer..
  disc-ripper: ISC license, nits
  disc-ripper: fix for forceful INTR..
  disc-ripper: introduce $SELF + restyle, change EMAIL
  disc-ripper: bump version v0.5.0rc0
  disc-ripper: Enc: rewrite: introduce Enc::Coder::*..
  disc-ripper: Enc: use raw file input if no $VolNorm'alization..
  disc-ripper: MBDB: extended support based on CDDB entries..
  disc-ripper: CDDB.pm now lazy loaded and optional as such..
  disc-ripper: command_line(): glob expand directories..
  disc-ripper: a major revisision..
  disc-ripper: CDInfo::: added _unix_default_rip()
  disc-ripper: add $CDInfo::FallbackTrackCount..
  disc-ripper: user_confirm(): cause I/O auto-flushing
  disc-ripper: converting from tab to 4 space indent
  disc-ripper: use HERE documents and pimp docu..
  disc-ripper: help-message update and Perl typo fix..
  disc-ripper: COMPOSER plus DB stuff..
  disc-ripper: review, license change to "New BSD"
  disc-ripper: directories are now all lowercase
  disc-ripper: drop ".hi" extension of high quality paths
  disc-ripper: extended SORT entries
  disc-ripper: more DB handling..
  disc-ripper: DB handling..
  disc-ripper: bugfixes, pretty messages
  disc-ripper: completely rewritten object-based; and extended
  disc-ripper: message update
  disc-ripper: messages and checks..
  disc-ripper: DB handling, verbose user interaction..
  disc-ripper: can now handle missing CDDB entries
  disc-ripper: messages, user-edit confirm cycle..
  disc-ripper: modify DB format, message verbosity..
  disc-ripper: bugfixes; drop CDDB entries from editable DB
  disc-ripper: encoding qualities, error catching..
  disc-ripper: added s-disc-ripper.pl, the disc ripper..

10 months agos-cdda-to-db.pl: add experimental, untested OPUS support
Steffen Nurpmeso [Sat, 13 Jun 2020 18:57:33 +0000 (20:57 +0200)]
s-cdda-to-db.pl: add experimental, untested OPUS support

10 months agos-cdda-to-db.pl: add DataSource::CDText
Steffen Nurpmeso [Thu, 11 Jun 2020 22:40:10 +0000 (00:40 +0200)]
s-cdda-to-db.pl: add DataSource::CDText

10 months agos-cdda-to-db.pl: oops, TRACK did not support ISRC yet!
Steffen Nurpmeso [Thu, 11 Jun 2020 22:39:37 +0000 (00:39 +0200)]
s-cdda-to-db.pl: oops, TRACK did not support ISRC yet!

10 months agos-cdda-to-db.pl: new name, partly redesign due to CDDB.pm obsolescence..
Steffen Nurpmeso [Tue, 7 Apr 2020 23:06:34 +0000 (01:06 +0200)]
s-cdda-to-db.pl: new name, partly redesign due to CDDB.pm obsolescence..

- Drop CDDB support, FreeDB is dead!  Unfortunately!
  Thanks to all the people who put time and effort to make this
  database such a usable source for decades!!

- Take over a few more fields from s-cdda output.

- Introduce a CDInfo::DataSource intermediate layer for raw DB
  content.  I.e., instead of that single %CDDB we had before, we
  could have multiple thereof, dummy, CD-TEXT, MusicBrainz etc.

- Drop the MBDB single-instance approach, instead make it an
  object, and let each CDInfo::DataSource create an instance.

  Join all the databases for the user DB edit session, and create
  the final database from what the user gives us.

- Rename the result to s-cdda-to-db.pl, to be embedded into the
  S-Toolbox.  The musicbox.git repository will be removed.

- Rise version to 0.6.0.

10 months agos-disc-ripper.pl: revise MBDB help_text() entries
Steffen Nurpmeso [Wed, 25 Mar 2020 23:24:02 +0000 (00:24 +0100)]
s-disc-ripper.pl: revise MBDB help_text() entries

10 months agos-disc-ripper.pl: add DB support for MCN, UPC/EAN, and ISRC
Steffen Nurpmeso [Wed, 25 Mar 2020 19:39:48 +0000 (20:39 +0100)]
s-disc-ripper.pl: add DB support for MCN, UPC/EAN, and ISRC

10 months agos-disc-ripper.pl: change some names, make them easier for the eye
Steffen Nurpmeso [Wed, 25 Mar 2020 18:31:36 +0000 (19:31 +0100)]
s-disc-ripper.pl: change some names, make them easier for the eye

10 months agos-disc-ripper.pl: state suggestion for binmode STDOUT, :encoding
Steffen Nurpmeso [Tue, 24 Mar 2020 23:34:11 +0000 (00:34 +0100)]
s-disc-ripper.pl: state suggestion for binmode STDOUT, :encoding

10 months agos-disc-ripper.pl: throw away --db-upgrade for a while, cannot do it like this
Steffen Nurpmeso [Tue, 24 Mar 2020 23:19:07 +0000 (00:19 +0100)]
s-disc-ripper.pl: throw away --db-upgrade for a while, cannot do it like this

10 months agos-disc-ripper.pl: --db-upgrade: tweak
Steffen Nurpmeso [Tue, 24 Mar 2020 23:17:48 +0000 (00:17 +0100)]
s-disc-ripper.pl: --db-upgrade: tweak

10 months agos-disc-ripper.pl: "tweak" latter: make utf8ify() local to cddb_query()
Steffen Nurpmeso [Tue, 24 Mar 2020 14:16:44 +0000 (15:16 +0100)]
s-disc-ripper.pl: "tweak" latter: make utf8ify() local to cddb_query()

10 months agos-disc-ripper.pl: FIX CDDB string handling (hopefully)#
Steffen Nurpmeso [Mon, 23 Mar 2020 22:19:32 +0000 (23:19 +0100)]
s-disc-ripper.pl: FIX CDDB string handling (hopefully)#

10 months agos-disc-ripper.pl: Enc::Helper::MP3: FIX UTF-16 MP3 tags, broken since EVER!!
Steffen Nurpmeso [Mon, 23 Mar 2020 20:51:49 +0000 (21:51 +0100)]
s-disc-ripper.pl: Enc::Helper::MP3: FIX UTF-16 MP3 tags, broken since EVER!!

10 months agos-disc-ripper.pl: move utf8_echomode_o(n|off) to package Enc::Helper
Steffen Nurpmeso [Mon, 23 Mar 2020 20:01:01 +0000 (21:01 +0100)]
s-disc-ripper.pl: move utf8_echomode_o(n|off) to package Enc::Helper

10 months agos-disc-ripper.pl: make coders a free-form, object-based thingie
Steffen Nurpmeso [Sun, 22 Mar 2020 00:59:17 +0000 (01:59 +0100)]
s-disc-ripper.pl: make coders a free-form, object-based thingie

10 months agos-disc-ripper.pl: _calc_mb_discid(): fix previous: use arg ref not var directly
Steffen Nurpmeso [Sat, 21 Mar 2020 00:16:16 +0000 (01:16 +0100)]
s-disc-ripper.pl: _calc_mb_discid(): fix previous: use arg ref not var directly

10 months agos-disc-ripper.pl: add _calc_mb_discid() (MusicBrainz Disc ID)
Steffen Nurpmeso [Thu, 19 Mar 2020 00:13:04 +0000 (01:13 +0100)]
s-disc-ripper.pl: add _calc_mb_discid() (MusicBrainz Disc ID)

10 months agos-disc-ripper.pl: [CDDB]: add TRACK_FIRST and TRACK_LAST; save LEADOUT in LBA!
Steffen Nurpmeso [Wed, 18 Mar 2020 23:19:14 +0000 (00:19 +0100)]
s-disc-ripper.pl: [CDDB]: add TRACK_FIRST and TRACK_LAST; save LEADOUT in LBA!

10 months agos-disc-ripper.pl: glue to s-cdda v0.8.2
Steffen Nurpmeso [Tue, 17 Mar 2020 23:00:24 +0000 (00:00 +0100)]
s-disc-ripper.pl: glue to s-cdda v0.8.2

10 months agos-disc-ripper.pl: add --db-upgrade; convert CDDB TRACK_OFFSETS to TRACKS_LBA
Steffen Nurpmeso [Thu, 12 Mar 2020 22:34:03 +0000 (23:34 +0100)]
s-disc-ripper.pl: add --db-upgrade; convert CDDB TRACK_OFFSETS to TRACKS_LBA

10 months agos-disc-ripper.pl: parse_formats(): allows whitespace in -f and $S_MUSIC_FORMATS
Steffen Nurpmeso [Wed, 11 Mar 2020 23:27:29 +0000 (00:27 +0100)]
s-disc-ripper.pl: parse_formats(): allows whitespace in -f and $S_MUSIC_FORMATS

10 months agos-disc-ripper.pl: use -f/--formats aka $S_MUSIC_FORMATS for formats
Steffen Nurpmeso [Wed, 11 Mar 2020 21:22:07 +0000 (22:22 +0100)]
s-disc-ripper.pl: use -f/--formats aka $S_MUSIC_FORMATS for formats

10 months agos-disc-ripper.pl: utf8ify() mess, does not work out with unknown data
Steffen Nurpmeso [Wed, 11 Mar 2020 20:08:54 +0000 (21:08 +0100)]
s-disc-ripper.pl: utf8ify() mess, does not work out with unknown data

10 months agos-disc-ripper.pl: tweak [98a11a9]
Steffen Nurpmeso [Wed, 11 Mar 2020 20:03:30 +0000 (21:03 +0100)]
s-disc-ripper.pl: tweak [98a11a9]

10 months agos-disc-ripper.pl: add FLAC support
Steffen Nurpmeso [Sun, 8 Mar 2020 02:37:06 +0000 (03:37 +0100)]
s-disc-ripper.pl: add FLAC support

10 months agos-disc-ripper.pl: drop cdparanoia/cd-info; use s-cdda(1)!..
Steffen Nurpmeso [Thu, 5 Mar 2020 23:05:16 +0000 (00:05 +0100)]
s-disc-ripper.pl: drop cdparanoia/cd-info; use s-cdda(1)!..

While here, drop the "faked" CDDB-ID mess.  It never worked.

This fixes lame(1) invocation, which has never been tested since
about ~2003, i guess i simply copied over the stuff from our
jukebox.pl!

10 months agos-disc-ripper.pl: better usage
Steffen Nurpmeso [Thu, 5 Mar 2020 23:03:30 +0000 (00:03 +0100)]
s-disc-ripper.pl: better usage

10 months agos-disc-ripper: faked CDDB entries use bytes as offsets, not seconds
Steffen Nurpmeso [Mon, 13 Jan 2020 22:09:28 +0000 (23:09 +0100)]
s-disc-ripper: faked CDDB entries use bytes as offsets, not seconds

10 months agos-disc-ripper: style copyright years
Steffen Nurpmeso [Mon, 13 Jan 2020 19:13:29 +0000 (20:13 +0100)]
s-disc-ripper: style copyright years

10 months agos-disc-ripper: version v0.5.2
Steffen Nurpmeso [Tue, 7 Jan 2020 20:08:49 +0000 (21:08 +0100)]
s-disc-ripper: version v0.5.2

10 months agos-disc-ripper: port to Linux (cd-?paranoia, cd-info)
Steffen Nurpmeso [Tue, 7 Jan 2020 19:58:28 +0000 (20:58 +0100)]
s-disc-ripper: port to Linux (cd-?paranoia, cd-info)

10 months agos-disc-ripper: cddb_query(): avoid deprecation warning
Steffen Nurpmeso [Tue, 7 Jan 2020 19:57:46 +0000 (20:57 +0100)]
s-disc-ripper: cddb_query(): avoid deprecation warning

10 months agos-disc-ripper: contradictions which slipped through
Steffen Nurpmeso [Tue, 7 Jan 2020 16:41:53 +0000 (17:41 +0100)]
s-disc-ripper: contradictions which slipped through

10 months agos-disc-ripper: make --help output OS dependent
Steffen Nurpmeso [Tue, 7 Jan 2020 16:24:36 +0000 (17:24 +0100)]
s-disc-ripper: make --help output OS dependent

10 months agos-disc-ripper: adjust version for v0.5.1 (..)
Steffen Nurpmeso [Mon, 6 Jan 2020 21:27:03 +0000 (22:27 +0100)]
s-disc-ripper: adjust version for v0.5.1 (..)

10 months agos-disc-ripper: contradictions etc
Steffen Nurpmeso [Mon, 6 Jan 2020 16:17:09 +0000 (17:17 +0100)]
s-disc-ripper: contradictions etc

10 months agoCopyright 2020
Steffen Nurpmeso [Mon, 6 Jan 2020 15:29:00 +0000 (16:29 +0100)]
Copyright 2020

10 months agoDrop "All Rights reserved" notes; while here, s-it-mode..
Steffen Nurpmeso [Wed, 2 May 2018 15:15:25 +0000 (17:15 +0200)]
Drop "All Rights reserved" notes; while here, s-it-mode..

Seen on a FreeBSD list, and Wikipedia says:

  "All rights reserved" is a copyright formality indicating that
  the copyright holder reserves, or holds for its own use, all the
  rights provided by copyright law. Originating in the Buenos
  Aires Convention of 1910, it no longer has any legal effect in
  any jurisdiction.
...
  The phrase originated as a result of the Buenos Aires Convention
  of 1910. Article 3 of the Convention granted copyright in all
  signatory countries to a work registered in any signatory
  country, as long as a statement "that indicates the reservation
  of the property right" (emphasis added) appeared in the work.
  The phrase "all rights reserved" was not specified in the text,
  but met this requirement.
...
  Other copyright treaties did not require this formality. For
  example, in 1952 the Universal Copyright Convention (UCC)
  adopted the © symbol as an indicator of protection. (The symbol
  was introduced in the US by a 1954 amendment to the Copyright
  Act of 1909.) The Berne Convention rejected formalities
  altogether in Article 4 of the 1908 revision, so authors seeking
  to protect their works in countries that had signed on to the
  Berne Convention were also not required to use the "all rights
  reserved" formulation. However, because not all Buenos Aires
  signatories were members of Berne or the UCC, and in particular
  the United States did not join UCC until 1955, a publisher in
  a Buenos Aires signatory seeking to protect a work in the
  greatest number of countries between 1910 and 1952 would have
  used both the phrase "all rights reserved" and the copyright
  symbol.
...
  The requirement to add the "all rights reserved" notice became
  essentially obsolete on August 23, 2000, when Nicaragua became
  the final member of the Buenos Aires Convention to also become
  a signatory to the Berne Convention. As of that date, every
  country that was a member of the Buenos Aires Convention (which
  is the only copyright treaty requiring this notice to be used)
  was also a member of Berne, which requires protection be granted
  without any formality of notice of copyright.

10 months agos-disc-ripper.pl: new faac(1) no longer uses MP4v2, no more -s option
Steffen (Daode) Nurpmeso [Thu, 10 Aug 2017 15:25:43 +0000 (17:25 +0200)]
s-disc-ripper.pl: new faac(1) no longer uses MP4v2, no more -s option

10 months agos-disc-ripper.pl: clarify message for user confirmation
Steffen (Daode) Nurpmeso [Fri, 19 Feb 2016 13:54:16 +0000 (14:54 +0100)]
s-disc-ripper.pl: clarify message for user confirmation

10 months agoCopyright 2016; sdaoden.eu
Steffen (Daode) Nurpmeso [Tue, 5 Jan 2016 13:37:02 +0000 (14:37 +0100)]
Copyright 2016; sdaoden.eu

10 months agos-disc-ripper: deal with new sox(1) argument handling
Steffen Nurpmeso [Mon, 8 Sep 2014 10:24:06 +0000 (12:24 +0200)]
s-disc-ripper: deal with new sox(1) argument handling

10 months agodisc-ripper: bump version v0.5.0
Steffen "Daode" Nurpmeso [Mon, 6 May 2013 12:54:26 +0000 (14:54 +0200)]
disc-ripper: bump version v0.5.0

10 months agodisc-ripper: deal with command line encodings, too
Steffen "Daode" Nurpmeso [Mon, 6 May 2013 12:53:52 +0000 (14:53 +0200)]
disc-ripper: deal with command line encodings, too

10 months agodisc-ripper: tweak --cdrom/--cdromdev docu
Steffen "Daode" Nurpmeso [Mon, 6 May 2013 12:53:21 +0000 (14:53 +0200)]
disc-ripper: tweak --cdrom/--cdromdev docu

10 months agodisc-ripper: use "/usr/bin/env perl" not "/usr/bin/perl"
Steffen Daode Nurpmeso [Wed, 12 Sep 2012 16:39:57 +0000 (18:39 +0200)]
disc-ripper: use "/usr/bin/env perl" not "/usr/bin/perl"

10 months agodisc-ripper: stop using BEGIN{} and abs. addressing for pack. globals
Steffen Daode Nurpmeso [Wed, 12 Sep 2012 16:35:53 +0000 (18:35 +0200)]
disc-ripper: stop using BEGIN{} and abs. addressing for pack. globals

10 months agodisc-ripper: vim(1) modeline, use sequential exec main_fun()
Steffen Daode Nurpmeso [Wed, 12 Sep 2012 16:15:11 +0000 (18:15 +0200)]
disc-ripper: vim(1) modeline, use sequential exec main_fun()

10 months agodisc-ripper: fix deprecation warning perl(1) v5.16.1
Steffen Daode Nurpmeso [Wed, 12 Sep 2012 16:08:58 +0000 (18:08 +0200)]
disc-ripper: fix deprecation warning perl(1) v5.16.1

10 months agodisc-ripper: bump version v0.5.0rc1
Steffen Daode Nurpmeso [Fri, 7 Sep 2012 13:24:20 +0000 (15:24 +0200)]
disc-ripper: bump version v0.5.0rc1

10 months agodisc-ripper: do not require music DB if --rip-only
Steffen Daode Nurpmeso [Fri, 7 Sep 2012 13:14:24 +0000 (15:14 +0200)]
disc-ripper: do not require music DB if --rip-only

10 months agodisc-ripper: add missing binmode() calls
Steffen Daode Nurpmeso [Thu, 6 Sep 2012 13:01:31 +0000 (15:01 +0200)]
disc-ripper: add missing binmode() calls

10 months agodisc-ripper: add utf8ify(), use PerlIO encoding layer..
Steffen Daode Nurpmeso [Thu, 6 Sep 2012 12:59:20 +0000 (14:59 +0200)]
disc-ripper: add utf8ify(), use PerlIO encoding layer..

Yeah, finally get rid of this hacky Encode::_utf8_off()
crap that is spreaded around everywhere, but do a call-in
to utf8ify() and use PerlIO layer for the text files.
Like this CDDB can be as shitty as it want, we get it right,
and from now on in a clean way.

10 months agodisc-ripper: ISC license, nits
Steffen Daode Nurpmeso [Thu, 6 Sep 2012 12:11:11 +0000 (14:11 +0200)]
disc-ripper: ISC license, nits

10 months agodisc-ripper: fix for forceful INTR..
Steffen Daode Nurpmeso [Sat, 4 Feb 2012 17:55:56 +0000 (18:55 +0100)]
disc-ripper: fix for forceful INTR..

which could have resulted in an undefined variable;
so do init it empty for that case.

10 months agodisc-ripper: introduce $SELF + restyle, change EMAIL
Steffen Daode Nurpmeso [Sat, 4 Feb 2012 17:54:41 +0000 (18:54 +0100)]
disc-ripper: introduce $SELF + restyle, change EMAIL

10 months agodisc-ripper: bump version v0.5.0rc0
Steffen Daode Nurpmeso [Fri, 7 Sep 2012 13:26:06 +0000 (15:26 +0200)]
disc-ripper: bump version v0.5.0rc0

10 months agodisc-ripper: Enc: rewrite: introduce Enc::Coder::*..
Steffen Daode Nurpmeso [Thu, 29 Sep 2011 14:40:15 +0000 (16:40 +0200)]
disc-ripper: Enc: rewrite: introduce Enc::Coder::*..

Just use an object based approach for encoding.
Subclass the new Enc::Coder and most likely overwrite new()
only.  Results in much cleaner code.  And forces encapsulation
if different encoders (ffmpeg support still missing) will be
added.

10 months agodisc-ripper: Enc: use raw file input if no $VolNorm'alization..
Steffen Daode Nurpmeso [Thu, 29 Sep 2011 11:33:21 +0000 (13:33 +0200)]
disc-ripper: Enc: use raw file input if no $VolNorm'alization..

Yet sox(1) was always used as the starting point of the raw
input file pipe, regardless of wether volume normalization was
actually performed or not.  Change this, and forcefully turn it
normalization off if normalization would be rather fuzzy/redundant.

10 months agodisc-ripper: MBDB: extended support based on CDDB entries..
Steffen Daode Nurpmeso [Thu, 29 Sep 2011 16:56:28 +0000 (18:56 +0200)]
disc-ripper: MBDB: extended support based on CDDB entries..

Take advantage of the fact that CDDB entries often contain
"ARTIST / TITLE" entries for compilations.
On the first user edit round (only), and if we discover such
"x/y" entries, include additional, commented out entries for all
of ARTIST/TITLE/SORT database entries.

In addition (the parsed off) ARTIST may contain multiple artists
concatenated via "and", "&", "feat." etc., i.e.,
    Stan Getz & Joao Gilberto feat. Astrud Gilberto
so furthermore check ARTIST for any such occurrence and provide
even more additional commented out entries as approbiate.

(Well yes, this commit *significantly* reduces the burden of
creating database entries, and the authors wonders why these
features come up so late!)

10 months agodisc-ripper: CDDB.pm now lazy loaded and optional as such..
Steffen Daode Nurpmeso [Fri, 2 Sep 2011 18:54:01 +0000 (20:54 +0200)]
disc-ripper: CDDB.pm now lazy loaded and optional as such..

Yet CDDB.pm was a prerequiste and the ripper would have failed
if loading would have failed.
This is completely stupid behaviour given that we have all sorts
of fake entry fallback stuff at hand anyway!

So lazy load it instead if needed, and simply don't fail if
it's not available.

10 months agodisc-ripper: command_line(): glob expand directories..
Steffen Daode Nurpmeso [Thu, 29 Sep 2011 11:31:17 +0000 (13:31 +0200)]
disc-ripper: command_line(): glob expand directories..

Yet it was even impossible to say TMPDIR=~/tmp, because tilde
expansion was not performed.  So use glob, which is an overkill,
but since we are in scalar context and verify the result
somewhat afterwards it is ok.  (The easy way.)

This page took 0.078852 seconds and 4 git commands to generate.