Extension for generate a folder content?

Discussions about using 3rd party extension with OpenOffice.org
Post Reply
patthe
Posts: 5
Joined: Fri Jun 11, 2010 12:30 am

Extension for generate a folder content?

Post by patthe »

I have a bunch of movie from my dvd collection that i transfer to a home server at home, so easier to access everywhere at home.
So i wonder
i have a big collection, over 500 movie at least, i will like to have a program to generate a list, so i can print it and be able to change the way the list show

will like to have something that can look like this :
this is just a example even if its doest not show the sound option i will be appy
program.jpg
OpenOffice.org 3.2.1
User avatar
TheGurkha
Volunteer
Posts: 6482
Joined: Thu Mar 13, 2008 12:13 pm
Location: North Wales, UK.

Re: Extention for generate a folder content?

Post by TheGurkha »

What OS is your server running?
Ubuntu 14.10 Utopic Unicorn, LibreOffice Version: 4.3.3.2
Gurkha Welfare Trust
User avatar
RoryOF
Moderator
Posts: 35203
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Extention for generate a folder content?

Post by RoryOF »

I wouldn't bother reinventing the wheel. Google search for some freeware/shareware DVD/CD cataloging program.
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
User avatar
Hagar Delest
Moderator
Posts: 33614
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Extention for generate a folder content?

Post by Hagar Delest »

+1.
There are macros to get the list of a folder IIRC but it will only give the basic properties of the file (file name, size, date, owner), that's all.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
patthe
Posts: 5
Joined: Fri Jun 11, 2010 12:30 am

Re: Extention for generate a folder content?

Post by patthe »

TheGurkha wrote:What OS is your server running?
Windows home server :s
OpenOffice.org 3.2.1
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Extention for generate a folder content?

Post by acknak »

Almost any system should be able to give you a text/tabular listing of the directory contents as a text file; something like dir >listing.txt should still work for Windows. You can then import that text file into Calc to give you separate fields/columns.

However, I agree with the first advice: don't reinvent the wheel--there are lots of good media cataloging applications available.
AOO4/LO5 • Linux • Fedora 23
patthe
Posts: 5
Joined: Fri Jun 11, 2010 12:30 am

Re: Extention for generate a folder content?

Post by patthe »

Hagar de l'Est wrote:+1.
There are macros to get the list of a folder IIRC but it will only give the basic properties of the file (file name, size, date, owner), that's all.
Where can i found that Macros ?
OpenOffice.org 3.2.1
User avatar
TheGurkha
Volunteer
Posts: 6482
Joined: Thu Mar 13, 2008 12:13 pm
Location: North Wales, UK.

Re: Extention for generate a folder content?

Post by TheGurkha »

This is why I asked you what OS you are running.

If it is a Windows based system, you can do the following in the same folder as your films are stored and it will give you a list of the filenames, the extensions and other data as a text file. You can then do what you want that data - edit it as text, copy it to Calc etc.

dir > filelist.txt

(But the best and easiest way is to just use a ready-made and free solution.)
Ubuntu 14.10 Utopic Unicorn, LibreOffice Version: 4.3.3.2
Gurkha Welfare Trust
patthe
Posts: 5
Joined: Fri Jun 11, 2010 12:30 am

Re: Extention for generate a folder content?

Post by patthe »

well im running windows Seven
my server windows home server.

i did :
its does like chineve and put some wierd number like that : 14ÿ828ÿ980ÿ749 ????? or 305ÿ011ÿ675ÿ595 octets ????
dir /s > filelist.txt
and the list look like this :

2009-05-19 06:34 14ÿ828ÿ980ÿ749 xxxxxxx.mkv
2010-06-13 20:38 <REP> xxx
2010-06-24 18:27 <REP> xxxx
2008-11-15 07:54 8ÿ529ÿ670ÿ427 xxxxx.mkv
2009-02-05 23:27 9ÿ386ÿ072ÿ351 xxxxxx.mkv
45 fichier(s) 305ÿ011ÿ675ÿ595 octets

R‚pertoire de Z:\Videos\Movie\HD\xxx

2010-06-14 00:48 <REP> .
2010-06-14 00:48 <REP> ..
2009-01-29 14:48 4ÿ686ÿ800ÿ831 xxxx.mkv
2009-01-29 14:48 4ÿ682ÿ365ÿ259 xxx.mkv
2 fichier(s) 9ÿ369ÿ166ÿ090 octets

R‚pertoire de Z:\Videos\Movie\HD\xxxxx

2010-06-24 17:47 <REP>






i will like to have something more simple, even ifs i have like 30 Folder, i want them all to be in 1 list in alphabetical Order.

01 : Movie.mkv 700 MB
02 : Movie.avi 1.2 Gb
03 : HD movie.mkv 5.4 gb
04 : ETC, ETC, ETC
OpenOffice.org 3.2.1
User avatar
TheGurkha
Volunteer
Posts: 6482
Joined: Thu Mar 13, 2008 12:13 pm
Location: North Wales, UK.

Re: Extention for generate a folder content?

Post by TheGurkha »

Then you're going to have to hand-edit the file, I think.
Ubuntu 14.10 Utopic Unicorn, LibreOffice Version: 4.3.3.2
Gurkha Welfare Trust
patthe
Posts: 5
Joined: Fri Jun 11, 2010 12:30 am

Re: Extention for generate a folder content?

Post by patthe »

TheGurkha wrote:Then you're going to have to hand-edit the file, I think.
i know that long :(
for over 500 Movie ! :(
lol
im pretty shure they is a faster way, a small script, just i did not found it yet :( snif snif
OpenOffice.org 3.2.1
User avatar
TheGurkha
Volunteer
Posts: 6482
Joined: Thu Mar 13, 2008 12:13 pm
Location: North Wales, UK.

Re: Extention for generate a folder content?

Post by TheGurkha »

It is sometimes faster and easier to just getthe data as best as you can and then use teh capabilities of a good programmer's editor to rapidly knock it into the shape you want. Some of them have very powerful macro and macro recording capabilities and powerful regular expression search/replace features, column mode, etc. The one I use is called UltraEdit. They give you a free trial so you can try that if you like.
UltraEdit.
Ubuntu 14.10 Utopic Unicorn, LibreOffice Version: 4.3.3.2
Gurkha Welfare Trust
Post Reply