Bash/Shell Script - modify plain text documents (AWK/SED/DIFF)
$10-30 USD
Завершено
Опублікований almost 10 years ago
$10-30 USD
Оплачується при отриманні
I'm working on music/audio project and I need to be able to create CUSTOM PLAYLISTS, based on other existing playlists.
If you have experience with bash/shell scripting and using AWK, SED, DIFF this will probably be a piece of cake.
For example I have 5 playlist: PL1, PL2, PL3, PL4, C1 (Commercials )
I now need a script to create a new playlist based on these existing playlists
New Playlist = PL1, PL2, PL3 , PL4, C1
- no repeats on PL1, PL2, PL3 , PL4
- repeats only on commercials (C1)
- time based (duration of the playlist) -- I already have a script to get the duration of each track.
Functionality example:
#! /bin/sh
mainplaylist=/home/[login to view URL]
duration=12 #hours
playlist1=/home/[login to view URL]
playlist2=/home/[login to view URL]
playlist3=/home/[login to view URL]
C1=/home/[login to view URL]
mainscript= add 1 line from file [ $playlist1 $playlist2 $playlist3 ] + $C1
repeat until time=$duration
I need a few different versions of this script, so this project will lead to more job.
Thanks!
Hello,
I work as a Linux/Unix system administrator for the past 11 years and have all the necessary skills and hands-on experience to complete the task.
Can you provide samples of the playlists (C1, PL1) please?
Hope to hear from you soon.
Hello,
I am the premier shell scripting expert on these freelancing sites. I am confident that I have the skills and experience for your task. I will revise my bid when you define what is required.
Let's suppose you have PL1, PL2, PL3,... PLn and C1.
Each time through the loop you want the next item from each PLx and then an item from C1. Items are taken from PLx without replacement (so they won't play again) and from C1 with replacement (because you never run out of commercials). I intend to take items from all lists in order.
There is a timing element. How are times presented? If the time for each item from a list is given in minutes, then 12 hours should be converted to minutes before running the rest of the script.
This bid will be for one of these scripts. I'll revise my bid when you confirm this is the script you want (or suggest something else).
A milestone payment for the full budget for your project must be deposited with this site before your offer can be accepted.
Alan Idler
Chief Software Architect
Idleswell Software Creations
Hi, sir.
I am a Linux system manage and programming expert.
I have an experience 12 years of the Linux programming.
I can provide you good credit and high quality about my work and can help you to finish your program in short time.
Thanks.
Best Regards.
From Wang B.