Re: [RDD] File Name in RDLibrary

2018-06-04 Thread Seth Stevenson
I have tried rdimport and it didn't work either. I tried using a third
party tagger and the name is still not showing up in the cuts withing the
cart itself. I also tried the Rivendell promo flac files that are on the
website, and they are not showing up either. Not sure what to do. I am
using a compiled version of rivendell 2.13.0 on a raspberry pi. Fred, any
suggestions?

On Tue, May 29, 2018 at 5:57 PM Robert Jeffares 
wrote:

> Hi Seth,
>
> On 30/05/18 02:08, Seth Stevenson wrote:
>
> Is the metadata being lost because of the conversion.
>
>
> Things to try:
>
> use rdimport --verbose --delete-cuts --to-cart=[cartnum no leading 0]
> GROUP /path/to/file.mp3
>
> with NO other switches and see what populates the Cart data.
>
> rdimport reads some but not all variants of mp3 tag sometimes failing
> because of junk in the tag file.
>
> rdimport on the command line is a lot easier to tune then the GUI.
>
> Also:
> Look at the file and try and locate the tag data. Tags can be ID3v1,
> ID3v2.3, ID3v2.4 and  can contain characters which upset the importer.
> Some rippers include tag data with ~!@#$%^&*()_+|"?>< ®¥ and other symbols
> which bash looks at as commands.
> Somewhere I have a script that sets ALL tags to 'null' except Artist and
> Title  which I run before the audio is imported.
>
> Meanwhile this code helped me import a bunch of files which had tag issues.
>
>
> -snip
>
>
> #! /bin/bash
> # you need to have id3info and eyeD3 installed
> # copy the files you want to import into a local folder and run this
> script from within the folder
> # this script will extract the Artist etc from the mp3 tag including GENRE
>
> # and make a label on the file that can be used to put the data in the
> Rivendell database
> # using rdimport --verbose --metadata-pattern=%a-%t-%l-%u.mp3 GROUP the
> GENRE gets put on the user line
> # there is an upper limit as to how many you can do at once
>
> # WARNING do this on COPIES of the files
>
> # If the files are coming from i tunes check the GENRE has been written to
> the mp3 tags
>
> echo "Extracting tags..."
> for i in *.mp3
> do
>
> TITLE="`id3info "$i" | grep '^=== TIT2' | sed -e 's/.*: //g'`"
> ARTIST="`id3info "$i" | grep '^=== TPE1' | sed -e 's/.*: //g'`"
> ALBUM="`id3info "$i" | grep '^=== TALB' | sed -e 's/.*: //g'`"
> YEAR="`id3info "$i" | grep '^=== TYER' | sed -e 's/.*: //g'`"
> GENRE="`eyeD3 "$i" | grep 'genre' | sed -e 's/.*: //g'  -e 's/(.*)//g'
> -e  's/^ *//;s/ *$//g' `"
>
> echo "$ARTIST $TITLE $ALBUM $YEAR $GENRE"
> mv "$i" "$ARTIST-$TITLE-$ALBUM-$YEAR-$GENRE.mp3"
>
> done
>
> echo "hint: rdimport --verbose --metadata-pattern=%a-%t-%l-%u.mp3
> --delete-source [GROUP] *.mp3"
>
>
>
> -snip
>
> all the usual caveats apply.
>
> regards
>
> Robert
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


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


Re: [RDD] File Name in RDLibrary

2018-05-29 Thread Robert Jeffares

Hi Seth,


On 30/05/18 02:08, Seth Stevenson wrote:

Is the metadata being lost because of the conversion.


Things to try:

use rdimport --verbose --delete-cuts --to-cart=[cartnum no leading 0] 
GROUP /path/to/file.mp3


with NO other switches and see what populates the Cart data.

rdimport reads some but not all variants of mp3 tag sometimes failing 
because of junk in the tag file.


rdimport on the command line is a lot easier to tune then the GUI.

Also:
Look at the file and try and locate the tag data. Tags can be ID3v1, 
ID3v2.3, ID3v2.4 and  can contain characters which upset the importer.
Some rippers include tag data with ~!@#$%^&*()_+|"?>< ®¥ and other 
symbols which bash looks at as commands.
Somewhere I have a script that sets ALL tags to 'null' except Artist and 
Title  which I run before the audio is imported.


Meanwhile this code helped me import a bunch of files which had tag issues.

-snip


#! /bin/bash
# you need to have id3info and eyeD3 installed
# copy the files you want to import into a local folder and run this 
script from within the folder

# this script will extract the Artist etc from the mp3 tag including GENRE

# and make a label on the file that can be used to put the data in the 
Rivendell database
# using rdimport --verbose --metadata-pattern=%a-%t-%l-%u.mp3 GROUP the 
GENRE gets put on the user line

# there is an upper limit as to how many you can do at once

# WARNING do this on COPIES of the files

# If the files are coming from i tunes check the GENRE has been written 
to the mp3 tags


echo "Extracting tags..."
for i in *.mp3
do

TITLE="`id3info "$i" | grep '^=== TIT2' | sed -e 's/.*: //g'`"
ARTIST="`id3info "$i" | grep '^=== TPE1' | sed -e 's/.*: //g'`"
ALBUM="`id3info "$i" | grep '^=== TALB' | sed -e 's/.*: //g'`"
YEAR="`id3info "$i" | grep '^=== TYER' | sed -e 's/.*: //g'`"
GENRE="`eyeD3 "$i" | grep 'genre' | sed -e 's/.*: //g'  -e 's/(.*)//g'   
-e  's/^ *//;s/ *$//g' `"


echo "$ARTIST $TITLE $ALBUM $YEAR $GENRE"
mv "$i" "$ARTIST-$TITLE-$ALBUM-$YEAR-$GENRE.mp3"

done

echo "hint: rdimport --verbose --metadata-pattern=%a-%t-%l-%u.mp3 
--delete-source [GROUP] *.mp3"



-snip

all the usual caveats apply.

regards

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


Re: [RDD] File Name in RDLibrary

2018-05-29 Thread Seth Stevenson
Ok, I used the %t and it labeled the cart name with the correct current cut
title. However when you open the cart and look at the cuts, they are not
titled, for instance in the description field. They are coming in from the
ftp server as mp3's and rivendell is converting them to .wav files. Is the
metadata being lost because of the conversion.

On Thu, May 24, 2018 at 8:17 PM Geoff Barkman 
wrote:

> Hi Seth. Another thing you can try is %a - %t or %f in the meta field a =
> artist, t = song title or f = file name.
>
> On May 25, 2018 8:19 AM, "Seth Stevenson"  wrote:
>
>> I think that will work.
>>
>> On Thu, May 24, 2018, 4:13 PM Geoff Barkman 
>> wrote:
>>
>>> Hi Seth
>>> I have my drop boxes set up to use the meta information with %i (lower
>>> cast letter I) or %l (lower case letter L). I think that is what you are
>>> wanting to do?
>>> Many thanks
>>> Geoff
>>>
>>> On Fri, May 25, 2018 at 7:45 AM, Seth Stevenson 
>>> wrote:
>>>
 Hi,

 I am having trouble with my file names showing up in rdlibrary. I am
 using .wav files. It shows the cart number/cut number, but no matter how I
 manipulate the file it doesn't seem to tag it. I am using the dropbox
 feature to import. I even used a third party software to try and tag it
 before importing. Any idea what to do? I am using the cart chunk feature in
 dropbox. Thanks.

 --
 Seth Stevenson

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


>>>

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


Re: [RDD] File Name in RDLibrary

2018-05-24 Thread Geoff Barkman
Hi Seth. Another thing you can try is %a - %t or %f in the meta field a =
artist, t = song title or f = file name.

On May 25, 2018 8:19 AM, "Seth Stevenson"  wrote:

> I think that will work.
>
> On Thu, May 24, 2018, 4:13 PM Geoff Barkman 
> wrote:
>
>> Hi Seth
>> I have my drop boxes set up to use the meta information with %i (lower
>> cast letter I) or %l (lower case letter L). I think that is what you are
>> wanting to do?
>> Many thanks
>> Geoff
>>
>> On Fri, May 25, 2018 at 7:45 AM, Seth Stevenson 
>> wrote:
>>
>>> Hi,
>>>
>>> I am having trouble with my file names showing up in rdlibrary. I am
>>> using .wav files. It shows the cart number/cut number, but no matter how I
>>> manipulate the file it doesn't seem to tag it. I am using the dropbox
>>> feature to import. I even used a third party software to try and tag it
>>> before importing. Any idea what to do? I am using the cart chunk feature in
>>> dropbox. Thanks.
>>>
>>> --
>>> Seth Stevenson
>>>
>>> ___
>>> 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] File Name in RDLibrary

2018-05-24 Thread Seth Stevenson
I think that will work.

On Thu, May 24, 2018, 4:13 PM Geoff Barkman  wrote:

> Hi Seth
> I have my drop boxes set up to use the meta information with %i (lower
> cast letter I) or %l (lower case letter L). I think that is what you are
> wanting to do?
> Many thanks
> Geoff
>
> On Fri, May 25, 2018 at 7:45 AM, Seth Stevenson 
> wrote:
>
>> Hi,
>>
>> I am having trouble with my file names showing up in rdlibrary. I am
>> using .wav files. It shows the cart number/cut number, but no matter how I
>> manipulate the file it doesn't seem to tag it. I am using the dropbox
>> feature to import. I even used a third party software to try and tag it
>> before importing. Any idea what to do? I am using the cart chunk feature in
>> dropbox. Thanks.
>>
>> --
>> Seth Stevenson
>>
>> ___
>> 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] File Name in RDLibrary

2018-05-24 Thread Geoff Barkman
Hi Seth
I have my drop boxes set up to use the meta information with %i (lower cast
letter I) or %l (lower case letter L). I think that is what you are wanting
to do?
Many thanks
Geoff

On Fri, May 25, 2018 at 7:45 AM, Seth Stevenson  wrote:

> Hi,
>
> I am having trouble with my file names showing up in rdlibrary. I am using
> .wav files. It shows the cart number/cut number, but no matter how I
> manipulate the file it doesn't seem to tag it. I am using the dropbox
> feature to import. I even used a third party software to try and tag it
> before importing. Any idea what to do? I am using the cart chunk feature in
> dropbox. Thanks.
>
> --
> Seth Stevenson
>
> ___
> 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] File Name in RDLibrary

2018-05-24 Thread drew Roberts
You could try converting the wavs to flac and making sure the flac is
tagged.

all the best,

drew

On Thu, May 24, 2018 at 3:45 PM, Seth Stevenson  wrote:

> Hi,
>
> I am having trouble with my file names showing up in rdlibrary. I am using
> .wav files. It shows the cart number/cut number, but no matter how I
> manipulate the file it doesn't seem to tag it. I am using the dropbox
> feature to import. I even used a third party software to try and tag it
> before importing. Any idea what to do? I am using the cart chunk feature in
> dropbox. Thanks.
>
> --
> Seth Stevenson
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>


-- 
Enjoy great *Bahamian Music* at:
Bahamian Or Nuttin - http://www.bahamianornuttin.com

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


[RDD] File Name in RDLibrary

2018-05-24 Thread Seth Stevenson
Hi,

I am having trouble with my file names showing up in rdlibrary. I am using
.wav files. It shows the cart number/cut number, but no matter how I
manipulate the file it doesn't seem to tag it. I am using the dropbox
feature to import. I even used a third party software to try and tag it
before importing. Any idea what to do? I am using the cart chunk feature in
dropbox. Thanks.

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