bigdaddydad / android-xbmcremote

Automatically exported from code.google.com/p/android-xbmcremote
0 stars 0 forks source link

Hide *.nfo *.tbn files #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would like there to be a option or to defaultly hide the nfo and tbn
files for videos as I have all my movies and tv setup like this and creates
triple listing when browsing files.

Original issue reported on code.google.com by JDun...@gmail.com on 19 Nov 2009 at 9:45

GoogleCodeExporter commented 9 years ago
you talking about the file view?

Original comment by phree...@gmail.com on 20 Nov 2009 at 9:33

GoogleCodeExporter commented 9 years ago
yes in the file view, I am sorry I did not specify that. for example when you 
are
viewing files you will see the following

|
|-> movie.avi
|-> movie.nfo
|-> movie.tbn
|

Original comment by JDun...@gmail.com on 20 Nov 2009 at 9:37

GoogleCodeExporter commented 9 years ago
okay.

Original comment by phree...@gmail.com on 23 Nov 2009 at 10:45

GoogleCodeExporter commented 9 years ago
Also *.sfv files please.

Original comment by bolin.andreas@gmail.com on 23 Nov 2009 at 10:49

GoogleCodeExporter commented 9 years ago
So basically everything that's not media? More of a whitelist than a blacklist 
then?

Original comment by phree...@gmail.com on 24 Nov 2009 at 8:53

GoogleCodeExporter commented 9 years ago
that would work work great! jsut dont forget about white listing my mkv files :P

Original comment by JDun...@gmail.com on 24 Nov 2009 at 10:10

GoogleCodeExporter commented 9 years ago

Original comment by phree...@gmail.com on 5 Mar 2010 at 3:57

GoogleCodeExporter commented 9 years ago
I've compiled a white list. Please indicate which ones should NOT be in this 
list and if 
something is missing, please add to it:

Images:
bmp, jpg, jpeg, gif, png

Audio:
wav, mp3, ogg, ac3, ... .midi LOL

Video:
avi, mpg, mpeg, mp4, mkv, mov

I saw THOUSANDS of "common" file extensions when googling for a list, so please 
if this 
isn't enought, list them here!

Original comment by aaronab...@gmail.com on 6 Mar 2010 at 2:02

GoogleCodeExporter commented 9 years ago
.tbn and .nfo are two for me

Original comment by JDun...@gmail.com on 6 Mar 2010 at 3:27

GoogleCodeExporter commented 9 years ago
@JDunn82: I think you're misunderstanding the white list vs. black list. A 
black list would be 
a list of extensions you DONT want (like .tbn and .nfo etc) but I think 
freezy's point is that 
its easier to make a WHITE list which would contain extensions you DO want. 
Look at my list of 
extensions and list any extensions you DO use that are not listed there.

Thanks,
Aaron

Original comment by aaronab...@gmail.com on 6 Mar 2010 at 4:26

GoogleCodeExporter commented 9 years ago
ya i did misunderstand lol  i cant think of any others to be whitelisted off 
the top
of my head.  question though will there be a way to blacklist whitelisted 
files? for
example I have all my season dvd cover thumbs as .jpg but really don't want them
showing up :)

Original comment by JDun...@gmail.com on 6 Mar 2010 at 5:15

GoogleCodeExporter commented 9 years ago
Yeah, have you seen some apps like Windows Media Player or VLC where when you 
install it, 
during the install process you get to decide what files are associated with it 
and which 
ones aren't? It could be set up like that in your preferences.

Also, I get what you are saying about cover art and I'm thinking that when you 
are using the 
file explorer and searching videos, that only video extensions should show up. 
So when you 
click Music, you would see your Music sources... go into those directories and 
only mp3s 
oggs etc would be visible.

I don't know if you have a PS3 or not, but I connect an external HDD to it 
sometimes and 
watch stuff thats on there. When I'm searching it only shows files that are 
related to what 
I was looking at. Does that make sense?

--Aaron

Original comment by aaronab...@gmail.com on 6 Mar 2010 at 5:25

GoogleCodeExporter commented 9 years ago
.rar, .zip, .iso, img, .ts, .flac, .m2ts, .vob

Original comment by bolin.andreas@gmail.com on 6 Mar 2010 at 1:50

GoogleCodeExporter commented 9 years ago
I found these on xbmc's wiki:

Image extensions:
.cbr, .cbz, .ico, .pcx, .raw, .tif, .tiff, .tga

Audio:
.cdda, .wave, .aiff, .mp2, .wma, .ra, .ram, .dts, .aac, .m4a, .qcp, .avs, .mpc, 
.ape, .shn, 
.alac, .mlp, .amv, .8svx, .qdm2, .tta, .sid, .ym, .nsf, .spc, .gym, .adx, .ast, 
.adp, .dsp, 
.ymf, .hps, .mod, .amf, .669, .dmf, .far, .gdm, .imf, .it, .m15, .med, .okt, 
.s3m, .stm, 
.sfx, .utl, .uni, .xm, aax, .asd, .asr, .ass, .bgw, .bh2pcm, .capdsp, .ccc, 
.dcs, .de2, 
.emff, .fag, .gbts, .gca, .gsb, .idsp, .idvi, .isd, .joe, .kraw, .mihb, .msvp, 
.mwv, .omu, 
.p2bt, .pdt, .rnd, .rwar, .rwav, .sap, .seg, .smp, .spd, .spsd, .spsd, .spw, 
.ss7, .ssm, 
.thp, .vgs, .vs, .waa, .wac, .wad, .wam, .xa2, .xmu, .xsf, .xvas, .ydsp, .ymf, 
.zwdsp

Video:
.rv, .rmvb, .svcd, .dvd, .dv, .ty, .xvid, .divx, .wmv, .3ivx, .3vi1, .smc, 
.qdrw, .avs, 
.nuv, .viv, .yuv, cyuv, .cvid, .asv1, .asv2, .qpeg, .vixl, .wnv1, .loco, .tscc, 
.ulti, 
.aasc, .fli, .flc

... and this is just the extensions I could figure out from their wiki. Some of 
them are 
codecs and not file extensions. Since there is such an exhaustive list of 
different file 
types that can be supported, I'm thinking that we should also allow the user to 
add custom 
white list extensions.

Original comment by aaronab...@gmail.com on 7 Mar 2010 at 7:50

GoogleCodeExporter commented 9 years ago
Any timeframe for this featuer?

Original comment by phree...@gmail.com on 21 Apr 2010 at 8:21

GoogleCodeExporter commented 9 years ago
I'll try to get this done by the end of the week! Is the given list ok?

Original comment by stefan.k...@gmail.com on 27 Apr 2010 at 2:57

GoogleCodeExporter commented 9 years ago
Hi, I've actually done this awhile back but didn't have the time to check & 
submit the 
patch. Hopefully there is no duplication of work with Stefan.

I've added the "filter" in fillUp() of the FileListController class. Basically, 
it 
checks the type of the file list (mMediaType) against the media type set by the 
FileLocation class. 

The "white list" is really those extensions already listed in setMediaType() of 
the 
FileLocation class. Any missing extensions can be easily added there, though I 
think 
the default (listed below) is quite sufficient.

Music:
mp3, ogg, flac and m4a

Video:
avi, mov, flv, mkv, wmv, mp4

Pics:
jpg, jpeg, bmp, gif, png, tbn

Original comment by lewin....@gmail.com on 29 Apr 2010 at 5:15

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry lewin, I needed to clear my head from this project a few days. Your patch 
looks 
good but I think those extensions are defined at another place as well (need to 
fix 
that).

Will review and then commit. Thanks, really appreciated! :)

Original comment by phree...@gmail.com on 5 May 2010 at 6:52

GoogleCodeExporter commented 9 years ago
No problem. Let me know if you need help with this:)

Original comment by lewin....@gmail.com on 8 May 2010 at 10:53

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r741.

Original comment by phree...@gmail.com on 20 Feb 2011 at 10:39