INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: FLAC filtering  (Read 2021 times)

CADmonkey

  • Guest
FLAC filtering
« on: November 27, 2013, 06:10:14 am »

Hi,

I like to listen to one complete album after another. I like the Album selection to be shuffled, but not the tracks. Winamp had a plugin for this. (I've just jumped ship after 15+ years - go easy on me!)

I have a set of expressions that:
1. filters for FLAC filetypes
2. then lists and plays 5 random full albums in normal track order

The problem is that the FLAC filter seems to be ignored. I get MP3 files in the list from matching albums in that format (so that every track is doubled; first the MP3 then the FLAC)

I've tried applying the rules in Audio and Playlists.

I've tried varying the filter (filetype=FLAC, compression+FLAC)

Here is the expression:
[Compression]=[FLAC] ~sort=Random ~limit=5,1,[album],[album artist (auto)] ~a


I have a main library full of MP3s, and also a seperate folder called 'FLAC' with all my lossless encoded tunes. All FLAC files have a matching MP3 in the main library.






 
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42388
  • Shoes gone again!
Re: FLAC filtering
« Reply #1 on: November 27, 2013, 06:18:11 am »

Welcome.

Things with a tilde are called post processors, and ~a is one of the few that can add files.  Post processors are evaluated _after_ the search terms like '[Compression]=[FLAC]'.

One way to do what you want is to make two Smartlists:
A: ~sort=Random ~limit=5,1,[album],[album artist (auto)] ~a
B: Playlist=A [Compression]=[FLAC]

Another way is to use the stack system for your MP3 files so they're hidden from view and searches unless you explicitly expand a stack.
Logged
Matt Ashland, JRiver Media Center

CADmonkey

  • Guest
Re: FLAC filtering
« Reply #2 on: November 27, 2013, 06:49:34 am »

Matt,

Thanks for that...it seems to be giving me what I want although I have to double-click both playlists.

What would be really great would be if a new album was chosen once the last track had played.

I'm surprised that 'album shuffle' isn't more in demand.
Logged

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: FLAC filtering
« Reply #3 on: November 27, 2013, 02:14:18 pm »

How about this Cad monkey ...

Code: [Select]
-[File Type]=[mp3] ~sort=Random ~limit=5,1,[album],[album artist (auto)] ~a
This works for me by removing the file type rather than filter for a file type or compression; set it up in a pane view grouped by album for info

The only issue is Multi CD sets if you have not renumbered all the track sequentially (eg if  CD 2 has track 20-15, instead of 1-15 it will work) .. you could create a separate field for this if its important and do not want your track field renumbered I think
Logged

CADmonkey

  • Guest
Re: FLAC filtering
« Reply #4 on: November 27, 2013, 02:57:53 pm »

-[File Type]=[mp3] ~sort=Random ~limit=5,1,[album],[album artist (auto)] ~a

You'd think this would work just fine, but it doesn't.

I think the ~a Modifier disregards the  filetype Rule. If the Rule happened after the Modifier, maybe it would work.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: FLAC filtering
« Reply #5 on: November 27, 2013, 03:15:05 pm »

Thanks for that...it seems to be giving me what I want although I have to double-click both playlists.

No.  You can use one Smartlist as a filter on another.

Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: FLAC filtering
« Reply #6 on: November 28, 2013, 05:26:03 am »

-[File Type]=[mp3] ~sort=Random ~limit=5,1,[album],[album artist (auto)] ~a

You'd think this would work just fine, but it doesn't.

hmm then why does it work for me?? maybe you can't just import the code but must set up a pane view first??
see screens below please --

@Glynor - thats very cool, thank you for the screen shots! ... now I understand what Mr C was trying to tell me about making two lists ... so all you have to do is combine them using "\" in the wizard? Do they have to be grouped under the same parent, the smartslists
Logged

kamimeguro

  • Junior Woodchuck
  • **
  • Posts: 78
Re: FLAC filtering
« Reply #7 on: November 28, 2013, 09:15:06 am »

Hi Arindelle,

Thanks for the tip.
As for multi CD albums, since I fill the disc # and keep the same album name, your expression returns complete albums whatever the number of CD and from the file type I selected.

Merci!
Logged
Win 10 pro, Oppo 105, Onkyo TX-NR818, Elipson Axial 160, B&W 805S, Linn 5150, Yamaha GT750, Sony KDL-55W900A...
Pages: [1]   Go Up