expressions.txt 818 B

12345678910111213141516171819202122232425262728293031
  1. IfElse(
  2. IsEqual([Media Type], Audio),
  3. If(IsEqual([Media Sub Type], Podcast),
  4. podcasts/Clean([Album],3),
  5. music/Clean([Album Artist (auto)],3)/[[Year]] Clean([Album],3)),
  6. IsEqual([Media Sub Type], Movie),
  7. movies/Clean([Name], 3),
  8. IsEqual([Media Sub Type], TV Show),
  9. tv/Clean([Series],3)/Season PadNumber([Season], 2)
  10. )
  11. IfElse(
  12. IsEqual([Media Type], Audio),
  13. If(IsEmpty([Disc #],1),
  14. 1[Track #],
  15. [Disc #][Track #]) - Clean([Artist] - [Name],3),
  16. IsEqual([Media Sub Type], Movie),
  17. Clean([Name],3) [[Year]],
  18. IsEqual([Media Sub Type], TV Show),
  19. Clean([Series] - S[Season]E[Episode] - [Name],3)
  20. )
  21. Music\Clean([Album Artist (auto)],3)\[[Year]] Clean([Album],3)
  22. If(IsEmpty([Disc #],1), 1[Track #], [Disc #][Track #]) - Clean([Artist] - [Name],3)