maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   how to hide video files (https://talk.maemo.org/showthread.php?t=39832)

dongzhe 2010-01-09 08:05

how to hide video files
 
Hi

I have a question about how to hide vedio files...

there are some videos that i don't want them to be listed in Media Player. I have tried to put videos in any locations ,but they are still listed in media player......


help?

deanoman99 2010-01-09 09:30

Re: how to hide video files
 
If you have a windows pc open the command prompt and type
cd\ enter
md .videos enter

You then should have a directory on the c drive called .videos
put your videos in there and then copy over the directory to n900 in mass storage mode.
to play videos you must use the web browser.

file:///media/mmc1 (memory card)
file:///home/user/MyDocs (internal memory)

dongzhe 2010-01-10 23:57

Re: how to hide video files
 
have you tried? it sounds strange to me..
I have create a folder in my memory card and put all the videos in.
all of the videos still listed in media player

Elhana 2010-01-11 00:06

Re: how to hide video files
 
Basically folder name starting with dot is hidden - if media player ignoring that fact, it is either by design or a bug. Report to bugtracker and see what you get.
Other that that copying file to /home/user or tar-ing it might help.
If you are not familiar with console - install xarchiver and just zip videos

freshhawk 2010-01-11 04:05

Re: how to hide video files
 
You already have a .videos folder in MyDocs. Its where your videos go. Its the standard place for them and it's not hidden at all. That's what the "Video Clips" folder in the file browser (only with an english language n900 i think) If deanoman99 meant to put a .videos folder in the .videos folder then that would actually work, but seems pretty confusing.

You can either rename the files you want to hide to start them with a '.' or you can make a ".hidden" folder. I created a .hidden folder along with a bookmark to open "file:///home/user/MyDocs/.videos/.hidden" with the browser (that's a good tip deanoman, thanks for that) and the files are completely missing from both the file browser and the media player but i can play them from the browser listing.

So I actually tried that out and it definitely worked for me, i could hide and unhide any video files just by renaming and starting with a '.' or not so it should work to hide your porn, err, i mean, hidden videos.

EDIT: I was playing around with .dotfiles for fun (second day with my n900), Higgsboson has a post with the correct way of doing this.

trotor 2010-01-11 04:21

Re: how to hide video files
 
Besides that .hidden trick, there is probabaly way to tweak search engine through .config and tracker file. You can tell the media indexing engine to skip certain directories.

There is more talk about that option here on the forums if you search.

HRZ 2010-01-11 05:18

Re: how to hide video files
 
Quote:

Originally Posted by freshhawk (Post 463302)
You already have a .videos folder in MyDocs. Its where your videos go. Its the standard place for them and it's not hidden at all. That's what the "Video Clips" folder in the file browser (only with an english language n900 i think) If deanoman99 meant to put a .videos folder in the .videos folder then that would actually work, but seems pretty confusing.

You can either rename the files you want to hide to start them with a '.' or you can make a ".hidden" folder. I created a .hidden folder along with a bookmark to open "file:///home/user/MyDocs/.videos/.hidden" with the browser (that's a good tip deanoman, thanks for that) and the files are completely missing from both the file browser and the media player but i can play them from the browser listing.

So I actually tried that out and it definitely worked for me, i could hide and unhide any video files just by renaming and starting with a '.' or not so it should work to hide your porn, err, i mean, hidden videos.

how did you manage to do this. Neither Windows nor the N900 will let me create a folder or rename a file that starts with a "."
??

quangmach 2010-01-11 07:05

Re: how to hide video files
 
Quote:

Originally Posted by HRZ (Post 463368)
how did you manage to do this. Neither Windows nor the N900 will let me create a folder or rename a file that starts with a "."
??

use windows cmd then command "md .hidden" to create folder .hidden
look at the nearly 1st post ;)

ossipena 2010-01-11 07:09

Re: how to hide video files
 
so much work just to hide pr0n..

MrGrim 2010-01-11 07:14

Re: how to hide video files
 
Don't hide your pr0n, be proud of it! :p

choubbi 2010-01-11 10:48

Re: how to hide video files
 
under xterm, type these commands :
Code:

mkdir /home/user/.porn
vim /home/user/

add to the file (if you don't know vim, just push the key "i" and start typing) :
Code:

alias hideporn='mv /home/user/MyDocs/porn/* /home/user/.porn/; rmdir /home/user/MyDocs/porn/'
alias showporn='mkdir /home/user/MyDocs/porn/; mv /home/user/.porn/* /home/user/MyDocs/porn/'

now when you want to look at them or access the directory from windows, type "showporn" in xterm, they will be shown in the "porn" directory in the file manager. Don't forget to type "hideporn" when you want to hide it.

naabi 2010-01-11 10:55

Re: how to hide video files
 
If you don't want your phones player to show some files, I think the answer is the config file /home/user/.config/tracker/tracker.cfg. There you should be able to specify some folders that are not indexed by the tracker. Can't really test that right now, since my N900 was stolen... There are also some config examples in this forum.

MaemoGuy 2010-01-11 11:14

Re: how to hide video files
 
This is all very strange. When I copied my video folder from the PC to the root directory of N900, the video files don't show up in Media Player list. To make them available, I have to copy them to .video folder on the N900.

I then checked my tracker.cfg as naabi suggested and I found that there is a NoWatchDirectory entry and it includes a directory called $HOME/MyDocs/tmp.

And it just so happens that the folder that I copied over from my PC was called tmp and it was sitting on the root directory!!

What coincidence!

Anyway, I've renamed the tmp directory so now all my videos appear in the Media Player list.

So, if you want to hide your videos then you simply have to either add an entry like naabi suggested or change ur video folder to tmp. :D

Hooryder 2010-01-11 20:32

Re: how to hide video files
 
I just used the "." in front of the file names in a new folder and placed the folder in .video using windows. This worked fine then just use the web browser as the other poster instructed and make the bookmark...simple as pie.

I assume the same can be done with the .images folder as well.

Thx again for all the input folks.

dongzhe 2010-01-12 00:13

Re: how to hide video files
 
Quote:

Originally Posted by trotor (Post 463315)
Besides that .hidden trick, there is probabaly way to tweak search engine through .config and tracker file. You can tell the media indexing engine to skip certain directories.

There is more talk about that option here on the forums if you search.

man I did not find any post about this, can you elaborate?

dongzhe 2010-01-12 00:17

Re: how to hide video files
 
Quote:

Originally Posted by naabi (Post 463808)
If you don't want your phones player to show some files, I think the answer is the config file /home/user/.config/tracker/tracker.cfg. There you should be able to specify some folders that are not indexed by the tracker. Can't really test that right now, since my N900 was stolen... There are also some config examples in this forum.

can i access this path on the device?

WhiteWolf 2010-01-12 11:42

Re: how to hide video files
 
Write in xterminal:

vi /home/user/.config/tracker/tracker.cfg

lbthomsen 2010-02-26 03:00

Re: how to hide video files
 
It would appear the tracker avoids folders named "Private" and it would appear this works for both images and videos. Discovered this by accident really. And it's a bit odd since the private folder is not mentioned in the tracker.cfg.

More on: http://maemo-experience.blogspot.com...your-porn.html

CrashandDie 2010-02-26 05:51

Re: how to hide video files
 
Fap fap fap fap fap fap


... on the train

Arrancamos 2011-02-19 01:45

Re: how to hide video files
 
moving pr0n to tmp folder is very simple :) to hide from mplayer xD TY MaemoGuy

robs4u4 2011-07-05 00:35

Re: how to hide video files
 
Still I am not clear with,
how we can create a hidden folder or make a folder hidden, in my Nokia N900 (maemo), so that we can save certain photos or documents, which are not to be seen by any other people, who may handle my phone.
and also how to retrieve those photos or folders wen I need it..???

plz do reply......

TomJ 2011-07-05 01:20

Re: how to hide video files
 
Quote:

Originally Posted by robs4u4 (Post 1044815)
Still I am not clear with,
how we can create a hidden folder or make a folder hidden, in my Nokia N900 (maemo), so that we can save certain photos or documents, which are not to be seen by any other people, who may handle my phone.
and also how to retrieve those photos or folders wen I need it..???

plz do reply......

I suspect you're not comfortable with the commandline, so:

Get a decent file manager such as CuteExplorer

Rename the folder containing the files to start with a . For example, change folder to .folder

Your folder is now hidden.

To see it again, navigate to the folder containing .folder and from the top menu select "Show hidden". Open the folder and open the files from there, or rename the folder to unhide it, wait for tracker to reindex the files and view from Photos/Media Player as normal.

flipalong 2011-07-05 01:36

Re: how to hide video files
 
make a folder called Private in MyDocs. it has to have a capital P. then just move the videos to there and they should be hidden :)
but make sure that their only location is the Private folder.

michaaa62 2011-07-05 07:19

Re: how to hide video files
 
Use the above method with the dot.folder to hide it in the build-in HildonFileManager, but also use trackercfg from the extras repository to hide the folder from trackerd, which listseach and every file on your MyDocs and external microSD.

mooglez 2011-07-05 07:29

Re: how to hide video files
 
if you really want to hide something, use truecrypt, and then do a mount script to easily mount the hidden volume when needed.

this is what i do to store my bank one time pads on device.

Boemien 2011-07-05 09:10

Re: how to hide video files
 
Quote:

Originally Posted by mooglez (Post 1044917)
if you really want to hide something, use truecrypt, and then do a mount script to easily mount the hidden volume when needed.

this is what i do to store my bank one time pads on device.

This solution is a little bit too geeky for me. :D

shallimus 2011-07-05 12:59

Re: how to hide video files
 
Quote:

Originally Posted by robs4u4 (Post 1044815)
Still I am not clear with,
how we can create a hidden folder or make a folder hidden, in my Nokia N900 (maemo), so that we can save certain photos or documents, which are not to be seen by any other people, who may handle my phone.
and also how to retrieve those photos or folders wen I need it..???

plz do reply......

Try posting a clear description of what happens when you try to follow the instructions already posted in this thread.

How can we help you hide your pr0n if we don't know what issue you're experiencing? :rolleyes:

matthew maude 2011-07-05 16:47

Re: how to hide video files
 
all this confusion over nothing???

rename whatever you want to hide to add a "." in front of it
e.g. porn.flv needs to be called .porn.flv

the command to do this is

mv porn.flv .porn.flv

it works on any file
then to see hidden files/folders run

ls -a

trashcanman 2011-07-05 17:03

Re: how to hide video files
 
I just keep all my porn movies/clips in a folder named Private and it doesnt show up in media player.

turbovomit 2011-07-06 11:44

Re: how to hide video files
 
three pages for this !
The private folder is want yu want dude.

arief 2011-08-23 00:14

Re: how to hide video files
 
The easy way is... put all your files into available ext2/3 partition, and use mount / dismount command to show / hide them.


All times are GMT. The time now is 11:28.

vBulletin® Version 3.8.8