LinuxMCE Forums
May 25, 2013, 08:50:37 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: [SOLVED] 'Hide' the tnj-files in network share  (Read 704 times)
brononius
Guru
****
Posts: 360


Trying to keep it simple and centralized...


View Profile WWW
« on: October 06, 2012, 07:51:33 am »

Hey,

Linuxmce is created tnj files of all images. No problem so far.
But it's a bit annoying when you browse your files, all these tnj-files are also shown.

Is there a way to make them hidden?
« Last Edit: October 09, 2012, 04:40:50 pm by brononius » Logged

Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #1 on: October 07, 2012, 08:56:41 am »

Look at man 5 smb.conf hide files. Maybe that gives you a hint or two. Just make sure that whatever change you make is carried out in /etc/samba/smb.conf and in /usr/pluto/templates/smb.conf.template.
Logged

tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #2 on: October 08, 2012, 08:59:29 pm »

Should we do this by default?

-Thom
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #3 on: October 08, 2012, 10:32:23 pm »

It never bothered me...
Logged

brononius
Guru
****
Posts: 360


Trying to keep it simple and centralized...


View Profile WWW
« Reply #4 on: October 09, 2012, 11:28:51 am »

My girlfriend goes crazy when she wants to browse/search some pictures.  Lips sealed
'Double' files when she's searching something.
A picture viewer/slideshow gives 2 images each time (good quality and bad one)... I've also noticed this with fe the PS3 as client.

I think it's better to add this by default to have a userfriendly system, no?
If we're not able to provide a 'nice and clean' system to the dummies, they simply won't use it...



Next to it, i'm trying the option hide file out:
Quote
hide files = /.*/*.tnj/*.id3/
This evening, i'll give it a try when i've got access to a windows machine.
Logged

Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02
brononius
Guru
****
Posts: 360


Trying to keep it simple and centralized...


View Profile WWW
« Reply #5 on: October 09, 2012, 04:40:28 pm »

Ok, it works... Wink

What i've done is added the line 'hide file' at the end of the global section:

sudo vi /etc/samba/smb.conf
Quote
[global]
        hide files = /.*/*.tnj/*.id3/

sudo vi /usr/pluto/templates/smb.conf.template
Quote
[global]
        hide files = /.*/*.tnj/*.id3/

Next a restart of the service, and it works great.
Quote
sudo service smbd restart

Logged

Version: linuxMCE 1004 (v 2012-07-01)
Extra's: Cacti, webmin, phpmyadmin, joomla

Server: MSI MS-7519 / E7400 2,8GB / 4GB / SSD 60GB / Radeon HD4350 / RTL8111 - 3C905C-TX
Orbiters: HTC Desire Z, HP PocketPC, Samsung Galaxy S, iPAD, ASUS eeePAD
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7940, Cisco 7960
Camera's: IPCAM02
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #6 on: October 09, 2012, 07:29:48 pm »

Nice. tnj's I might be able to understand. ID3 I would *NOT* exclude, as there might be things that want the ID3 files.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!