INTERACT FORUM

Please login or register.

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

Author Topic: NFO as Default File Type  (Read 1170 times)

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
NFO as Default File Type
« on: May 03, 2018, 05:37:47 pm »

I've been adding this file type manually for years, but each time I upgrade to a new major version of MC, it erases my changes and I get angry and have to do it again. I just discovered the same thing for MC24, so I'm going to ask...

Can you make NFO an available file type by default? They're text files. I like to import them so that I can auto-delete them via my automatic Junk File smartlist tool, but it doesn't work if they don't import.

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

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

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72267
  • Where did I put my teeth?
Re: NFO as Default File Type
« Reply #1 on: May 03, 2018, 05:47:32 pm »

Yes.  Feel free to remind us.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42262
  • Shoes gone again!
Re: NFO as Default File Type
« Reply #2 on: May 04, 2018, 11:20:17 am »

So NFO is just a text file and should be added as next to this entry in file assocations:
Text Files (txt,rtf,log)

Thanks.
Logged
Matt Ashland, JRiver Media Center

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: NFO as Default File Type
« Reply #3 on: May 07, 2018, 10:04:40 am »

Sorry. I didn't have notifications turned on for this thread, apparently.

In mine I've been using for eons:
Code: [Select]
<Data>Text Files (txt,rtf,log,nfo)</Data>
<MimeAssociations>
     <Data>
          <Item Name="nfo">text/plain</Item>
     </Data>
</MimeAssociations>
Logged
"Some cultures are defined by their relationship to cheese."

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

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42262
  • Shoes gone again!
Re: NFO as Default File Type
« Reply #4 on: May 07, 2018, 10:07:19 am »

Thanks Glynor.

We'll have this in the next build.
Logged
Matt Ashland, JRiver Media Center

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: NFO as Default File Type
« Reply #5 on: May 07, 2018, 11:13:18 am »

Thank you, Matt!

If anyone is curious about how I'm doing this, I have a "Junk File Remover" smartlist:
Code: [Select]
([File Type]=[nfo] or [Filename]=".unwanted" or ([File Type]=[txt] [Filename]="RARBG") or ([File Type]=[txt] [Filename]="Downloaded") or ([File Type]=[url] [Filename]="M:\Incoming") or ([File Type]=[sfv] [Filename]="M:\Incoming") or ([Media Type]=[Image] [Filename]="screenshot" [Filename]="M:\Incoming")) ~sort=[Date Imported]-d
Then, I have a job in the Windows Task Scheduler which runs MCFileRemover.exe once per week, pointed it at that smartlist. This is a little utility I made that can remove files from MC's Library (optionally deleting the files from disk, along with sidecar files), so that you can automate deleting of junk files, and also do cool things like "expire" content.

More info on that tool:
https://blog.glynor.com/mcfileremover
Logged
"Some cultures are defined by their relationship to cheese."

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

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2246
Re: NFO as Default File Type
« Reply #6 on: May 07, 2018, 03:19:10 pm »

Nice tip. Handy stuff.
Logged
MC31, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT
Pages: [1]   Go Up