Search Results

Search: Posts Made By: MrZehl
12,156
Posted By MrZehl
Thanks. It seemed I needed that for ogg files. I...
Thanks. It seemed I needed that for ogg files. I added support for ogg and it works.
I renamed the mp3 and flac variables to id3 and vorbis, which are the names of the tag format. And I messed up...
12,156
Posted By MrZehl
In the latest version there is only an extra...
In the latest version there is only an extra function call, so it's no big deal anymore. Before that it was a lot of extra code. I don't know yet if that will be a problem with the other formats yet....
12,156
Posted By MrZehl
Hmm isn't it possible to include echo 'start' and...
Hmm isn't it possible to include echo 'start' and echo 'end' in the exec part of find? If you can process the current data, the part after 'END' can be removed.

Maybe even something like echo...
12,156
Posted By MrZehl
Thanks for the explanation. So it's just a...
Thanks for the explanation.
So it's just a complex way to say 'f=1-f'. :)
Or if it's possible in awk: even shorter f=!f

Aha, but why not just process the current data?
12,156
Posted By MrZehl
Still running fine here.
Still running fine here.
12,156
Posted By MrZehl
I can't find anything not working perfectly on...
I can't find anything not working perfectly on this one.
It's just working fine.
12,156
Posted By MrZehl
Yes ,this works. Thanks. Let's see if I...
Yes ,this works. Thanks. Let's see if I understand what's happening. (Hmm.. there still is a little hickup. See the bottom for that.)

find . -type f -name '*.[Mm][Pp]3' -exec id3 -Rl {} + -o \
...
12,156
Posted By MrZehl
Wow. All that in just one tiny line of commands....
Wow. All that in just one tiny line of commands. :)

This one does work perfect.
Nice output. Works perfectly on my test dir, so I did a run on my collection... I discovered I've really a lot of...
12,156
Posted By MrZehl
Yes. Indeed. If there is no id tag in the mp3 all...
Yes. Indeed. If there is no id tag in the mp3 all properties except 'Track' are in the output and filled with spaces. The property 'Track' isn't in the output at all.
But if there is an id3 tag, but...
12,156
Posted By MrZehl
This doesn't work yet. This is the output of a...
This doesn't work yet. This is the output of a mp3 that should be detected, since the tracknumber isn't filled:

$ id3 -Rl alex\ roeka\ -\ 1999\ \ -\ wildernis/04\ -\ Alex\ Roeka\ -\ Help\ me\,\...
12,156
Posted By MrZehl
Yes that works. But adding the track doesn't work...
Yes that works. But adding the track doesn't work yet because if the tracknumber is empty track isn't in the output. But it detects and displays the right files now.
12,156
Posted By MrZehl
Oh.. I've gawk installed. I even get the gawk...
Oh.. I've gawk installed. I even get the gawk manpage if I do 'man awk' :)

---------- Post updated at 10:32 PM ---------- Previous update was at 10:27 PM ----------



I find track 01 and 07....
12,156
Posted By MrZehl
Well, this is a learning fase for me. I just want...
Well, this is a learning fase for me. I just want to see if it's possible. It's eyeopening to work with streams. It's powerful and I want to get it. Playing with this helps.

So I played. And...
12,156
Posted By MrZehl
I tested with adding tee after the id3 call and...
I tested with adding tee after the id3 call and got the output from all mp3 files. So far so good. My guess: it's in the awk part.
12,156
Posted By MrZehl
The first command finds the mp3 files. The second...
The first command finds the mp3 files. The second command(after adding " {} + of course) gives no result. There should be found 4 or 5 for different reasons.
12,156
Posted By MrZehl
Strange. I just copy-pasted your line into the...
Strange. I just copy-pasted your line into the terminal. No error message. No output at all.
The first line you send found the files with 'track' or 'unknown' in it but returned the wrong lines....
12,156
Posted By MrZehl
Wow, that is an educating command for me. :eek: ...
Wow, that is an educating command for me. :eek:
I use Ubuntu 10.10 and this doesn't give an error, but it doesn't work properly either.

First it found nothing in my test directory, which contains...
12,156
Posted By MrZehl
How to find untagged audio files?
I've quite a collection audio files, mostly flac. In Rythmbox there are a files with no tags filled or filled with describing names as Track 01. I can look for properties to see which file it is and...
2,571
Posted By MrZehl
Oh, I'm sorry. Indeed, actually it works very...
Oh, I'm sorry. Indeed, actually it works very well. I thought I knew about '&" and thought it only executed the first following command. So I didn't test it. But it seems I was terribly mistaken. I'm...
2,571
Posted By MrZehl
Well as I said.. it's a simple example.. actually...
Well as I said.. it's a simple example.. actually this is in the middle of a process. And a lot of intructions follow. I can't use this trick. The script must be able to run until the end. And then...
2,571
Posted By MrZehl
How to start application and keep script running
What I'm looking for is best explained with a little example.

#!/bin/bash
gedit
echo "I need this message to appear while gedit is still running, but it appears only then when I close gedit."...
Showing results 1 to 21 of 21

 
All times are GMT -4. The time now is 01:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy