Re: [RDD] Bulk Add Audio Files

2021-01-03 Thread Robert Jeffares

Hi Michael

sndfile-metadata-get somefile.ogg > sometextfile.txt

in a shell script will give you the metadata in a file you can import 
back as Artist Title and whatever else you want into an array.


the put the varius bits in an rdimport line as --set-string-field=string 
options


for

from the beginning of the list to the end

do

read the metadata into a text file

read the text file to get desired data

$1 $2 $3 etc

redimport --verbose --set-string-artist=$whichever one is artist 
--set-string-title=$whichever one is title GROUP $filename.ogg


You can put in any number of options man rdimport tells all.

I would copy the files into a directory somewhere and use -- 
delete-source then the ones left over are the ones you are going to have 
to manually import


if your bash script fu is not that great send me an email with a copy of 
one file and i will bash something out.



command line is your very powerful frend.

regards

Robert



On 18/12/20 12:34 pm, wa7skg wrote:
Well, rdimport worked fine for me for a bunch of mp3 files. However, I 
have another 450+ .ogg files. Unfortunately, the filenames are all 
numbers, like 10005-03, 10005-18, 10015-08, 10015-10, etc. I can open 
these in MediaPlayer, Audacity, etc. and see the metadata with name 
and artist, etc. but the metadata does not import into Rivendell like 
it did with the mp3 files.


I am using the following command:

rdimport --verbose --segue-level=-10 MUSIC *.ogg 2>> errorlog.txt

That command worked fine with the mp3 files, inputting the title, 
artist, and other info. With the ogg files, it puts "Imported from 
10005-03.ogg" as the cart title and no other info.


I've never messed with ogg files before. I must be missing something.

Thanks for any help.

Michael



wa7skg wrote on 12/16/20 4:16 PM:

Aha, forgot about command line tools.

Thanks,
Michael


David Klann wrote on 12/16/20 3:09 PM:

Michael,

rdimport(1) is your friend.

    man rdimport

to get started.

    ~David

On 12/16/20 5:07 PM, wa7skg wrote:


In my feeble memory, I seem to recall there was a way to bulk add 
audio
files. I have a couple hundred songs to import into Rivendell and 
adding

one at a time will take forever. Any way to speed it up?

Thanks,
Michael


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Bulk Add Audio Files

2020-12-21 Thread R. Choy

Duh! How did I forget? https://www.dbpoweramp.com/

On 12/21/2020 12:43 PM, wa7skg wrote:

That's nice. Would you mind sharing the name of the program?

Michael


R. Choy wrote on 12/21/20 9:27 AM:
There is a program I've been using for years to convert, batch 
convert, run in a script, almost every music format to any other 
music format. I think it is still available. The paid version is 
cheap and has many features. I believe it will run on Linux Mint 
under Wine and other distros.


Rick


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Bulk Add Audio Files

2020-12-21 Thread wa7skg

That's nice. Would you mind sharing the name of the program?

Michael


R. Choy wrote on 12/21/20 9:27 AM:
There is a program I've been using for years to convert, batch convert, 
run in a script, almost every music format to any other music format. I 
think it is still available. The paid version is cheap and has many 
features. I believe it will run on Linux Mint under Wine and other distros.


Rick


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Bulk Add Audio Files

2020-12-21 Thread R. Choy

  
  
There is a program I've been using for years to convert, batch
  convert, run in a script, almost every music format to any other
  music format. I think it is still available. The paid version is
  cheap and has many features. I believe it will run on Linux Mint
  under Wine and other distros.
Rick

On 12/21/2020 11:47 AM, Fred Gleason
  wrote:


  
  On Dec 17, 2020, at 18:34, wa7skg 
  wrote:
  

  
Well, rdimport worked fine for me
for a bunch of mp3 files. However, I have another 450+
.ogg files. Unfortunately, the filenames are all
numbers, like 10005-03, 10005-18, 10015-08, 10015-10,
etc. I can open these in MediaPlayer, Audacity, etc. and
see the metadata with name and artist, etc. but the
metadata does not import into Rivendell like it did with
the mp3 files.
  


  
  Metadata on the Ogg-based formats have always been a
bit ‘wild west’, with no recognized standard schema. Hence,
Rivendell doesn’t even try to use it. If you have the data in
some external form —e.g. spreadsheet, CSV file, etc — you can
script rdimport(1) to utilize it. See the audio importers at:
  
  
  	https://github.com/ElvishArtisan/rivendell-importers
  
  
  for some possible approaches.
  
  
  Cheers!
  
  
  
  
  
|-|
|
Frederick F. Gleason, Jr. |             Chief Developer    
        |
|
                          |             Paravel Systems    
        |
|-|
|
        A room without books is like a body without a soul.
        |
|
                                                           
        |
|
                                                        --
Cicero   |
|-|
  
  
  
  ___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


  

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Bulk Add Audio Files

2020-12-21 Thread Fred Gleason
On Dec 17, 2020, at 18:34, wa7skg  wrote:

> Well, rdimport worked fine for me for a bunch of mp3 files. However, I have 
> another 450+ .ogg files. Unfortunately, the filenames are all numbers, like 
> 10005-03, 10005-18, 10015-08, 10015-10, etc. I can open these in MediaPlayer, 
> Audacity, etc. and see the metadata with name and artist, etc. but the 
> metadata does not import into Rivendell like it did with the mp3 files.

Metadata on the Ogg-based formats have always been a bit ‘wild west’, with no 
recognized standard schema. Hence, Rivendell doesn’t even try to use it. If you 
have the data in some external form —e.g. spreadsheet, CSV file, etc — you can 
script rdimport(1) to utilize it. See the audio importers at:

https://github.com/ElvishArtisan/rivendell-importers

for some possible approaches.

Cheers!


|-|
| Frederick F. Gleason, Jr. | Chief Developer |
|   | Paravel Systems |
|-|
| A room without books is like a body without a soul. |
| |
| -- Cicero   |
|-|___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Bulk Add Audio Files

2020-12-17 Thread wa7skg
Well, rdimport worked fine for me for a bunch of mp3 files. However, I 
have another 450+ .ogg files. Unfortunately, the filenames are all 
numbers, like 10005-03, 10005-18, 10015-08, 10015-10, etc. I can open 
these in MediaPlayer, Audacity, etc. and see the metadata with name and 
artist, etc. but the metadata does not import into Rivendell like it did 
with the mp3 files.


I am using the following command:

rdimport --verbose --segue-level=-10 MUSIC *.ogg 2>> errorlog.txt

That command worked fine with the mp3 files, inputting the title, 
artist, and other info. With the ogg files, it puts "Imported from 
10005-03.ogg" as the cart title and no other info.


I've never messed with ogg files before. I must be missing something.

Thanks for any help.

Michael



wa7skg wrote on 12/16/20 4:16 PM:

Aha, forgot about command line tools.

Thanks,
Michael


David Klann wrote on 12/16/20 3:09 PM:

Michael,

rdimport(1) is your friend.

    man rdimport

to get started.

    ~David

On 12/16/20 5:07 PM, wa7skg wrote:


In my feeble memory, I seem to recall there was a way to bulk add audio
files. I have a couple hundred songs to import into Rivendell and adding
one at a time will take forever. Any way to speed it up?

Thanks,
Michael


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Bulk Add Audio Files

2020-12-16 Thread David Klann
By the way, several folks hang out in #rivendell on IRC: 
chat.freenode.net. Might be a more expedient way to get quick answers to 
simple questions...

   ~David

On 12/16/20 5:07 PM, wa7skg wrote:
> 
> In my feeble memory, I seem to recall there was a way to bulk add audio
> files. I have a couple hundred songs to import into Rivendell and adding
> one at a time will take forever. Any way to speed it up?
> 
> Thanks,
> Michael
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> 

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Bulk Add Audio Files

2020-12-16 Thread David Klann
Michael,

rdimport(1) is your friend.

   man rdimport

to get started.

   ~David

On 12/16/20 5:07 PM, wa7skg wrote:
> 
> In my feeble memory, I seem to recall there was a way to bulk add audio
> files. I have a couple hundred songs to import into Rivendell and adding
> one at a time will take forever. Any way to speed it up?
> 
> Thanks,
> Michael
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> 

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Bulk Add Audio Files

2020-12-16 Thread wa7skg

Aha, forgot about command line tools.

Thanks,
Michael


David Klann wrote on 12/16/20 3:09 PM:

Michael,

rdimport(1) is your friend.

man rdimport

to get started.

~David

On 12/16/20 5:07 PM, wa7skg wrote:


In my feeble memory, I seem to recall there was a way to bulk add audio
files. I have a couple hundred songs to import into Rivendell and adding
one at a time will take forever. Any way to speed it up?

Thanks,
Michael


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Bulk Add Audio Files

2020-12-16 Thread R. Choy
A friend wrote this for me. It took a mass of files and imported them 
into RD. Haven't used it in awhile.


cat massimport.sh



#!/bin/bash

echo "Create a Rivendell group name and enter it below"
read GROUP

IFS=$(echo -en "\n\b")

for i in `find /media/ |grep -i \.mp3$`; do
    rdimport --verbose --fix-broken-formats --segue-level=-10 $GROUP ''$i''
done

for i in `find /media/ |grep -i \.wav$`; do
    rdimport --verbose --fix-broken-formats --segue-level=-10 $GROUP ''$i''
done

echo
echo "Finished. Press enter to quit."
read junk

--

Rick



On 12/16/2020 6:07 PM, wa7skg wrote:
In my feeble memory, I seem to recall there was a way to bulk add 
audio files. I have a couple hundred songs to import into Rivendell 
and adding one at a time will take forever. Any way to speed it up?


Thanks,
Michael

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
.

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev