OS4 DepotLogo by Alkaron 
(anonymous IP: 18.97.14.84,2260) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1014)
   o Graphics (501)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4403

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Utility » Script » cmg.lha

CreateMovieGuide.py

Description: Create an amigaguide file to play videos
Download: cmg.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 3kb
Version: 0.6
Date: 08 Mar 2015
Author: Nick Clover
Submitter: Nick Clover
Category: utility/script
Replaces: utility/script/cmg.lha
License: Freeware
Distribute: yes
Min OS Version: 4.1
FileID: 9198
 
Comments: 1
Snapshots: 0
Videos: 0
Downloads: 127  (Current version)
179  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
CreateMovieGuide.py, freeware, use and abuse it as you want but don't
blame me if you break it.

This script scans multiple partitions or drawers and builds an amigaguide
document listing all video files found.

Create Movie Guide V0.1 (05-Mar-2015)
Usage: SOURCE, DEST, DUAL/S, ICON/S

SOURCE: Partition(s) or drawer(s) to scan, must end in : or /
        Enter mutiple sources with a space between them eg.
        Multimedia:Films/ Multimedia:pron/ TV:
DEST: Name and path of guide file to create, .guide extension optional
DUAL: Create dual play buttons giving option for fullscreen or window mode
      guide files are much bigger with this option.
ICON: copy env:sys/def_guide.info to the guide file

All arguments are optional and can be entered in any order, the default
behaviour is to scan the current drawer and create Movie.guide with a single
play button in the current drawer.

The original directory structure is NOT retained. Movies are sorted
alphabetically, movies that begin with 'The' or 'A' are sorted by the
second word. and the 'The' or 'A' is appended to the end of the name
after a comma.

Videos are detected by the extension, supported extensions are:
mp4, m4v, avi, mpg, mpeg, wmv, mov, flv, mkv, 3gp, vob, divx &  xvid

C:Mplayer is used to play the videos.

srt subtitles are supported, if a .srt file exists with the same name
as a video it will be added to the mplayer command line as

	-sub "<full path>/<movie filename>.srt"

Use 'v' to toggle subtitles in mplayer.

A Summary is printed when scanning is completed eg.

419 videos found, 22 with subtitles.

I add an alias to s:shell startup to make things easier eg.

alias films python:scripts/CreateTVGuide Movies: Data:Movies/ [] Ram:Movies icon

Note:

I recommend that you use my CleanName.py script on your drawers and movies
before
using this script to make the guides look better and to sort properly.



Copyright © 2004-2024 by Björn Hagström All Rights Reserved