User Tools

Site Tools


forum:inews:multiple-video-ids

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

forum:inews:multiple-video-ids [2008/03/20 11:37]
andreas
forum:inews:multiple-video-ids [2023/11/19 22:46] (current)
Line 1: Line 1:
 <- [[:​forum:​inews]] <- [[:​forum:​inews]]
 +
 +
 +
 +
  
  
Line 13: Line 17:
 Yes, but again not with built-in components of iNEWS. The idea behind this solution is the same as for the single video id script (see [[forum:​inews:​video-ids]]). Yes, but again not with built-in components of iNEWS. The idea behind this solution is the same as for the single video id script (see [[forum:​inews:​video-ids]]).
  
-There is one strict ​limitation ​so far: You have to create stories for different rundowns in separate folders. It is not possible to choose the relevant show during the video id assignment.+:!: There are two strict ​limitations ​so far: 
 +  * You have to create stories for different rundowns in separate folders. It is not possible to choose the relevant show during the video id assignment
 +  * Name((Strictly spoken the last part of a queue name - i.e. show.1800.**rundown**)) of queues where video ids are assigned in must have exactly a given length. Otherwise the macro will fail. The given macros below assume a queue name with seven characters like ''​rundown''​.
  
 At all you need a combination of a Linux shell script and a macro inside iNEWS. At all you need a combination of a Linux shell script and a macro inside iNEWS.
Line 29: Line 35:
     * Place one story inside this queue which contains the description of each rundown or folder where video ids for a given show have to be assigned. If there are more than one story in this queue all stories are processed.     * Place one story inside this queue which contains the description of each rundown or folder where video ids for a given show have to be assigned. If there are more than one story in this queue all stories are processed.
     * All empty lines and strings after semicolon (;) are ignored. Also the program proofs the format of the remaining lines and only valid ones are taken.     * All empty lines and strings after semicolon (;) are ignored. Also the program proofs the format of the remaining lines and only valid ones are taken.
-    * The valid format is<​code>​+    * The format ​of each line is<​code>​
 <​rundown>​ <show string> <date format></​code>​ <​rundown>​ <show string> <date format></​code>​
-    ​* The ''<​rundown>''​ is the queue where video ids are assigned. Its parent folder must contain a hidden folder with a video-id queue inside. See next point how to create it. +      ​* The ''<​rundown>''​ is the queue where video ids are assigned. Its parent folder must contain a hidden folder with a video-id queue inside. See next point how to create it. 
-    * The ''<​show string>''​ is a string containing only characters A-Z, a-z and 0-9 and especially it must contain no spaces. +      * The ''<​show string>''​ is a string containing only characters A-Z, a-z and 0-9 and especially it must contain no spaces. 
-    * The ''<​date format>''​ refers to the linux strftime format. Call ''​man strftime''​ on the iNEWS server console to get more help.+      * The ''<​date format>''​ refers to the linux strftime format. Call ''​man strftime''​ on the iNEWS server console to get more help. 
 +      * Here is a sample story for description of some rundowns:<​code>​ 
 +; This story must contain the list of all rundown queues. 
 +; It is used by the linux script /​site/​scripts/​video-ids/​video-ids.sh. 
 +; All rundowns must be named "​RUNDOWN"​. 
 +; There must be a HIDDEN.VIDEO-IDS queue in each show directory. 
 +; Format of the entries is: 
 +; <​rundown>​ <​show string>​ <​date format>​ 
 + 
 +news.1800.rundown N18 %d%m%y 
 + 
 +news.2130.rundown N21 %d%m%y 
 + 
 +features.business.rundown FB %d%m%y</​code>​
   - Video-id queues - inside iNEWS Client   - Video-id queues - inside iNEWS Client
     * Create a new folder ''​hidden''​ in each show directory (see previous point) inside iNEWS database.     * Create a new folder ''​hidden''​ in each show directory (see previous point) inside iNEWS database.
forum/inews/multiple-video-ids.1206013029.txt.gz · Last modified: 2023/11/19 22:45 (external edit)