[RDD] rdimport constant import error SOLVED !?!?! - I am not so sure.

Marius Radiokæll Qtronix qtronix at halden.net
Sat Nov 13 11:46:59 EST 2010


Yep, that's what I've been using. So it hasn't been a problem, but thought
I'd throw it out there for ya'll. ;)

-
Marius Radiokæll Qtronix

On lør, november 13, 2010 17:37, Frederick Henderson wrote:
> On Sat, 13 Nov 2010 17:31:19 +0100, Marius Radiokæll Qtronix
> <qtronix at halden.net> wrote:
>
>> I know this, Fred, but that doesn't help. Doesn't seem like the parser
>> accepted that. ;)
>>
>> -
>> Marius Radiokæll Qtronix
>
> Then try quotes like so:
>
> "Artist - Title.ext"
>
> If that does not work try using a file renaming tool to replace spaces
> with underscores.
>
> Frederick Henderson
>
>>
>> On lør, november 13, 2010 16:17, Frederick Henderson wrote:
>>> On Sat, 13 Nov 2010 15:33:02 +0100, Marius Radiokæll Qtronix
>>> <qtronix at halden.net> wrote:
>>>
>>>> Ok, all this metadata-parsing leads me to a question:
>>>>
>>>> Say I have filenames formatted with spaces around the delimiter like
>>>> Artist - Title.ext.
>>>> What would I have to specify in the metadata-argument of rdimport?
>>>> Can I somehow escape the spaces without the parser messing up?
>>>>
>>>
>>> It is called escaping. The spaces in
>>>
>>> Artist - Title.ext   would be escaped so,
>>>
>>> Artist\ -\ Title.ext
>>>
>>> Frederick Henderson
>>>
>>>> -
>>>> Marius Radiokæll Qtronix
>>>>
>>>> On lør, november 13, 2010 15:14, Frederick Henderson wrote:
>>>>> On Fri, 12 Nov 2010 16:45:42 +0100, VE4PER/Andy <ve4per at aim.com>
>>>>> wrote:
>>>>>
>>>>>> The /var/snd spec was included as explained below in the using linux
>>>>>> user
>>>>>> area so there is no chance of the import getting messed up from
>>>>>> importing
>>>>>> from a windows partition.
>>>>>
>>>>> I am not sure what you are talking about when you say "using linux
>>>>> user
>>>>> area". Where is this? Is this on the internet? If so please give a
>>>>> url.
>>>>>
>>>>>
>>>>>>
>>>>>> As for your comments about the data patterns, my understanding of
>>>>>> the
>>>>>> wording
>>>>>> of the help file was that whatever was used as a text delimiter in
>>>>>> the
>>>>>> original filename
>>>>>> had to be used the same when you set the pattern in the rdimport
>>>>>> statement.
>>>>>
>>>>> This is absolutely correct. In my tests if it was a  dash (-) between
>>>>> the
>>>>> artist and title that is what I need to put in the wildcard. If
>>>>> importing
>>>>> a wave file and I did not want the .wav added to the last section I
>>>>> needed
>>>>> to put a literal period (.).
>>>>>
>>>>>
>>>>>>
>>>>>> ie if my orignial filename was "My Artist-My Song-My Album-My
>>>>>> Genre.wav"
>>>>>> then I should
>>>>>> set the metadata pattern to  "%a-%t-%l-%u.wav". Because this was the
>>>>>> way
>>>>>> I understood/interpreted
>>>>>> the help file, the hyphen was the delimiter I used when I initially
>>>>>> ripped the CD library into
>>>>>> my windows library.
>>>>>>
>>>>>> Instead, I discovered that the parser was misinterpreting my hyphens
>>>>>> such that it was not considering
>>>>>> them as proper delimiters and I ended up having to use commas to get
>>>>>> the
>>>>>> selections imported. I am using
>>>>>> MYSQL query browser, as explained in the new thread email as tips
>>>>>> for
>>>>>> newbies, to correct the parsing
>>>>>> without having to go back and rename a 1000's of files using the
>>>>>> underscore in the filename and re-importing
>>>>>> them all a second time. I suspect if I had understood the underscore
>>>>>> delimiter, as necessary and used
>>>>>> it in the original names, it would have parsed it correctly.
>>>>>>
>>>>>>
>>>>>> So that leads me to ask which version of Rivendell are your running?
>>>>>> Is
>>>>>> this one of the two BETA versions?  If so then this is most likely a
>>>>>> issue
>>>>>> than needs take care of.
>>>>>
>>>>> Which version of Rivendell are you using?
>>>>>
>>>>>>
>>>>>>
>>>>>> Do chown so that the -R recursive owner:group of /var/music and
>>>>>> /var/snd  are  chown -R currentloggedinLinux user:rivendell
>>>>>> /var/music
>>>>>> and  chown -R currentloggedinLinux user:rivendell /var/snd do the
>>>>>> batch
>>>>>> import
>>>>>> as above then chown them back recursively to rduser:rivendell for
>>>>>> both.
>>>>>>
>>>>>> If you want to avoid chowning, you can do an su to rduser, but then
>>>>>> can't su back out when done.
>>>>>>
>>>>>>
>>>>>> Sorry, but if you need to do all this it sounds like you are trying
>>>>>> to
>>>>>> import files as a different user and group that is setup in
>>>>>> /etc/rd.conf
>>>>>> by AudioOwner= and AudioGroup= .  If you are using a version 1.*
>>>>>> series
>>>>>> of
>>>>>> Rivendell the question is why? You should be running as the user in
>>>>>> rd.conf
>>>>>>
>>>>>> However, if you are using the BETA 2.* versions then you should
>>>>>> never
>>>>>> log
>>>>>> in as the user and nor the group set up in /etc/rd.conf and any
>>>>>> linux
>>>>>> user
>>>>>> should be able to import audio using rdimport. The user and group
>>>>>> setup
>>>>>> in
>>>>>> /etc/rd.conf should be a system user that is not used by anything
>>>>>> but
>>>>>> Rivendell. And by the way it can not be root. I saw this in the
>>>>>> code,
>>>>>> smart programmer.
>>>>>>
>>>>>> Greetings,
>>>>>>
>>>>>> Frederick Henderson
>>>>>> Rivendell has an irc channel for help, question and discussion too.
>>>>>> #rivendell on irc.freenode.net
>>>>>> You are correct Frederick, I am logged on using a different Linux
>>>>>> User
>>>>>> to complete the initial imports
>>>>>> as my library backup is sitting on a windows NTFS partition on the
>>>>>> same
>>>>>> PC and I have to be logged
>>>>>> in as the same user/pw  (Windows & Linux) to be able to access and
>>>>>> mount
>>>>>> that volume to be able to
>>>>>> import the library into the RD Linux default folders.
>>>>>
>>>>>
>>>>> Ok, I think you have a real mess here with trying to import as a
>>>>> different
>>>>> Linux User that the Rivendell one defined in /etc/rd.conf  Can you
>>>>> try
>>>>> something for me? Copy some files from your ntfs partion over to
>>>>> where
>>>>> the
>>>>> rivendell linux user can get at them to import them then try using
>>>>> the
>>>>> dashes(-) in the wildcard. I would be interested to know if that
>>>>> solves
>>>>> the problem.
>>>>>
>>>>> One way to do this would be to create group then add both linux users
>>>>> (the
>>>>> rivendell one and the one were you can access your files) to the
>>>>> group.
>>>>> Then create a folder and change the group to that group and make
>>>>> every
>>>>> thing read/write for the group.
>>>>>
>>>>> As it is I do not believe you have the import parameters correct when
>>>>> you
>>>>> send email to the list telling how to correct the fact that
>>>>> everything
>>>>> got
>>>>> imported into Title. That just shows that that your commas are NOT
>>>>> being
>>>>> used as a delimiters but the first commas is telling the import to
>>>>> wait
>>>>> for a comma and since it never finds one it puts everything in the
>>>>> title.
>>>>>
>>>>> I feel for you. The command line is a hard place. One missing space
>>>>> or
>>>>> dash will mess the whole thing up.
>>>>>
>>>>> Greetings,
>>>>>
>>>>> Frederick Henderson
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Frederick Henderson
>>>>>
>>>>>
>>>>> Take the pledge!
>>>>> http://www.emailetiquettepledge.com/take-the-pledge
>>>>>
>>>>> This email sent from Opera's revolutionary e-mail client,
>>>>> http://www.opera.com/mail/
>>>>> and typed on the Dvorak keyboard. http://dvzine.org
>>>>>
>>>>> Want to learn a new language the way you learned your first?
>>>>> Try LingQ for free!   ==>
>>>>> http://www.lingq.com/?referral=frederickjh
>>>>> _______________________________________________
>>>>> Rivendell-dev mailing list
>>>>> Rivendell-dev at lists.rivendellaudio.org
>>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Rivendell-dev mailing list
>>>> Rivendell-dev at lists.rivendellaudio.org
>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>
>>>
>>> --
>>> Frederick Henderson
>>>
>>>
>>> Take the pledge!
>>> http://www.emailetiquettepledge.com/take-the-pledge
>>>
>>> This email sent from Opera's revolutionary e-mail client,
>>> http://www.opera.com/mail/
>>> and typed on the Dvorak keyboard. http://dvzine.org
>>>
>>> Want to learn a new language the way you learned your first?
>>> Try LingQ for free!   ==>
>>> http://www.lingq.com/?referral=frederickjh
>>> _______________________________________________
>>> Rivendell-dev mailing list
>>> Rivendell-dev at lists.rivendellaudio.org
>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>
>>
>>
>>
>> _______________________________________________
>> Rivendell-dev mailing list
>> Rivendell-dev at lists.rivendellaudio.org
>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>
>
> --
> Frederick Henderson
>
>
> Take the pledge!
> http://www.emailetiquettepledge.com/take-the-pledge
>
> This email sent from Opera's revolutionary e-mail client,
> http://www.opera.com/mail/
> and typed on the Dvorak keyboard. http://dvzine.org
>
> Want to learn a new language the way you learned your first?
> Try LingQ for free!   ==>       http://www.lingq.com/?referral=frederickjh
> _______________________________________________
> Rivendell-dev mailing list
> Rivendell-dev at lists.rivendellaudio.org
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>





More information about the Rivendell-dev mailing list