IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

Prefer flac over mp3 for the same title in media library, [Support is not for how-to questions/TOS #6]
olfab
post Jan 27 2013, 23:23
Post #1





Group: Members
Posts: 3
Joined: 27-January 13
Member No.: 106234



Hi forum,

I ripped all my CDs into flac files for playback on my stereo on transcoded the flac files to mp3 for playback on the radio on my car. The folder structure is like this: Artist/Album/["flac files", Mp3/"mp3 files"]. Consequently each title shows up twice in the media library once as flac file and once as mp 3 file.

Is there a way to setup a filter that prefers flac files over mp3 files if there are two files with the same name?

If there is no way, any suggestions how to cope with the problem?

Thanks,
Fabian
Go to the top of the page
+Quote Post
 
Start new topic
Replies
olfab
post Jan 29 2013, 23:06
Post #2





Group: Members
Posts: 3
Joined: 27-January 13
Member No.: 106234



Thank you for your answers!

@Mike: I really appreciate your solution since it circumvents the limitations of foobar in an easy way. But I just don't want to cope with twice the directory structures. If I listen at home to music (flac file) and decide to include it on the next cd for the radio in my car I would have to go all the way to the correspondent mp3 file. This is pretty tedious.

@BenB: I think this doesn't work since I use the DarkOne theme. What a pity.
Go to the top of the page
+Quote Post
BenB
post Jan 30 2013, 01:56
Post #3





Group: Members
Posts: 752
Joined: 17-April 12
Member No.: 98921



QUOTE (olfab @ Jan 29 2013, 16:06) *
@BenB: I think this doesn't work since I use the DarkOne theme. What a pity.

It (or a modification thereof) would likely still work, but the problem would be locating the relevant title formatting for that skin. If you are inclined to go that route, I suggest contacting the theme's developer on how to go about doing it.

On the other hand, the theme makes use of the Quick Search Toolbar component (it's the search located in the upper right corner). A query such as:

CODE
"$if($strcmp(%directoryname%,Mp3),true,false)" IS false

should filter out your mp3 duplicates and, of course, changing the query to:

CODE
"$if($strcmp(%directoryname%,Mp3),true,false)" IS true

should return only your mp3 duplicates.

EDIT:
You might also try one of the following:

CODE
NOT directoryname IS Mp3
NOT %directoryname% IS Mp3


This post has been edited by BenB: Jan 30 2013, 02:01
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th October 2014 - 14:23