• Home
  • Blog
  • Add-ons
  • Forum
  • Wiki
  • Developers
Nightingale - The tune of life, the tune of yours
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
Guest Hi, Guest
  • Login
  • Register
Login
Username:
Password: Lost Password?
 
Nightingale Forums Nightingale Feedback & Suggestions Smart playlist condition: # of tracks per album

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Smart playlist condition: # of tracks per album
3×5 Offline
Member
***
Posts: 50
Threads: 12
Joined: Oct 2012
Reputation: 0
#1
12-28-2015, 06:18 PM
I don't know how possible this would be, but I would like to be able to create playlists of full albums or of EPs. So if an album had 7 or more tracks, it's an album; if it's 5 to 7, it's an EP; and if it's less than 5 it's a single.

This way I could filter to only albums, only EPs and so on. Would it be possible to add this criterion to the playlist?
Find
Reply
freaktechnik Offline
CCO (Chief Crashing Officer)
*******
Posts: 498
Threads: 24
Joined: Sep 2010
Reputation: 11
#2
12-30-2015, 05:39 AM
So essentially expose the number of tracks field to the smart playlists? Because that's the only reliable source for album size and we already have that field, though I'm not sure it's indexed in the DB at the moment.
freaktechnik
Website Find
Reply
3×5 Offline
Member
***
Posts: 50
Threads: 12
Joined: Oct 2012
Reputation: 0
#3
12-30-2015, 07:03 AM
freaktechnik, I'm not sure how that field works. But if you have two tracks off a live double album in your collection, even if the songs you have are track 12 and 13, you don't have an album there. So the way I'm envisioning it, this wouldn't show up in a smart playlist as an album.

If the field you're talking about calculates the number of tracks in an album, and this is different than 'track number', then we're talking about the same thing.
Find
Reply
freaktechnik Offline
CCO (Chief Crashing Officer)
*******
Posts: 498
Threads: 24
Joined: Sep 2010
Reputation: 11
#4
12-30-2015, 10:47 PM
The field doesn't calculate anything. It's only saving the amount of tracks on an album ("album size"). Calculating the size of an album with respects of how many tracks of it are in your library is pretty much impossible without compilations or Album Artist trickery. There are also other edge cases. I've looked into this a lot for MediaFlow and there is no absolute solution to have a definition of "Album" that satisfies everyone.
freaktechnik
Website Find
Reply
3×5 Offline
Member
***
Posts: 50
Threads: 12
Joined: Oct 2012
Reputation: 0
#5
12-31-2015, 03:08 AM
So, is 'album size' a tag that's embedded into every file that belongs to that album? How does it find the amount of tracks on an album?
Find
Reply
freaktechnik Offline
CCO (Chief Crashing Officer)
*******
Posts: 498
Threads: 24
Joined: Sep 2010
Reputation: 11
#6
12-31-2015, 08:55 AM
(12-31-2015, 03:08 AM)3×5 Wrote: So, is 'album size' a tag that's embedded into every file that belongs to that album? How does it find the amount of tracks on an album?

Yes, it's a tag that has to be manually set, like all other tags. Like there's a tag for the amount of discs of an album (since strictly speaking the track number is per disc and the disc number is per album).
freaktechnik
Website Find
Reply
3×5 Offline
Member
***
Posts: 50
Threads: 12
Joined: Oct 2012
Reputation: 0
#7
12-31-2015, 09:32 AM
I see. I think it would be nice to have either an add-on, or a value set in about:config, that exposes all possible tags to the front end. I would like to edit metadata and have as many tags as nightingale can possibly recognize. Same with smart playlists.
Find
Reply
freaktechnik Offline
CCO (Chief Crashing Officer)
*******
Posts: 498
Threads: 24
Joined: Sep 2010
Reputation: 11
#8
01-01-2016, 03:13 AM (This post was last modified: 01-01-2016, 03:14 AM by freaktechnik.)
These two tags are already editable. There's also an advanced tab coming that will allow you to edit all editable fields in the database. And there's work I should complete for an overview of some notable read-only tags.
EDIT: I thinkt here already is an about:config pref to show an earlier version of the advanced tab.

I don't know the smart-playlist logic well enough to know how easy it would be to add new fields.
freaktechnik
Website Find
Reply
3×5 Offline
Member
***
Posts: 50
Threads: 12
Joined: Oct 2012
Reputation: 0
#9
01-01-2016, 03:59 AM
(01-01-2016, 03:13 AM)freaktechnik Wrote: These two tags are already editable.
I see it now. under metadata, it has track number, then a slash, then the total number of tracks. I'm sure, theoretically, it would be possible to update this value based on the number of files related to a given album, but I'm afraid that's probably beyond me.

(01-01-2016, 03:13 AM)freaktechnik Wrote: EDIT: I thinkt here already is an about:config pref to show an earlier version of the advanced tab.

I see it: songbird.trackeditor.enableAdvancedTab. This exposes two new fields: source and keywords. I don't know what source is, but keywords could be very useful for cross-categorization. Source might be a good place to list the record label.
Find
Reply
freaktechnik Offline
CCO (Chief Crashing Officer)
*******
Posts: 498
Threads: 24
Joined: Sep 2010
Reputation: 11
#10
01-03-2016, 01:10 AM
Source is set for tracks downloaded from websites within Nightingale. So it's a tag indicating where the file has been downloaded from.
freaktechnik
Website Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 05-21-2022, 01:35 PM Powered By MyBB, © 2002-2022 MyBB Group.
Design By AliReza_Tofighi In WhiteCrow Software Group.
white outlined nightingale project logo

Nightingale is free!
It is an Open Source project released under the terms of the GNU General Public License v2 (GPL v2).
For more details, please read the license information.

Follow us!
f  g  t

Support
  • Community Forum
  • Official Blog
  • Add-ons
  • Wiki
  • Help Forum
Contribute
  • Developer's Center
  • Translate Nightingale
  • Source Code
  • Report a Bug
Ressources
  • Download Nightingale
Linear Mode
Threaded Mode