Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1  Previous   Next
Anyone up to the challenge? Audio Clips/Theme Music
Author Message
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Anyone here with the know-how feel up to taking the challenge? I am looking for a way (html window?) to have mini player(s) in a small window where I can play audio clips (whether clips or theme or what have you) from movies/TV Shows. Something so that I can have more then one clip per profile. I would prefer to have maybe a player with a drop-down menu to choose the audio file.... but multiple player per window (with a place to tell what each is) would due if need be. Also the more file types it will play the better... but at least be able to play mp3 and wav files.

I tried playing with this some... but unfortunately I don't have enough know-how to make it work.
Pete
DVD Profiler Unlimited RegistrantStar Contributor?
?
Registered: March 14, 2007
Posts: 3,830
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
have you room over in your notes section? If you have your audio clips all in the same format you could just use a html link to the audio file(s) ? and double click those to start your audio clip?
Sources for one or more of the changes and/or additions were not submitted. Please include the sources for your changes in the contribution notes, especially for cast and crew additions.
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Not all the same format... have wavs and mp3.

I do have some listed in the notes field... but my notes are so cluttered with several different things I am trying to clean it out some and spread some things to html windows.
Pete
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
If anyone is interested... I was able to convert an old episode guide code I had to do what I wanted. It is a bit on the sloppy side...  and you do have to have an html file in the folder for it to work. It is less then perfect... but it works.



I would like to fix the background color... but when I put the code in the body tag it don't work. IF anyone is interested in improving the code or what have you... feel free to post it here. would appreciate any improvements.

Code I used:
Quote:
<HTML>
<HEAD>
<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
//-->

function showEPG()
{
var epg = ("F:/Sound Bites/sb-" + DP_UPC + ".html");
var notes = DP_Notes.indexOf("sb=1");
if (notes != -1) {
window.location.href= epg ;
}
else {
document.write("No Soundbites Available!");
}
}
</SCRIPT>
</HEAD>
<BODY onload="showEPG()">
</BODY>
</HTML>
Pete
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,461
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Hey, I know you found one based on epg, and I also sent you this one I modified from one of the trailer threads:

This one loads a m3U file (simple text list of filepaths) from c:\TrailerPark\upc.m3u.

<HTML>
<HEAD>

<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
//-->
</SCRIPT>

<HTML>
<HEAD>

<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
//-->
</SCRIPT>

</HEAD>
<BODY>
<SCRIPT>
document.write('<OBJECT id="VIDEO" style="position:absolute; left:0;top:0;" width="320" height="240" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">')
document.write('<PARAM NAME="URL" VALUE="C:/TrailerPark/' + DP_UPC + '.m3U"><PARAM NAME="AutoStart" VALUE="False">')
doucument.write('<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">')
document.write('<PARAM name="uiMode" value="mini"><PARAM name="PlayCount" value="1"><PARAM name="windowlessVideo" VALUE="True"></OBJECT>')
</SCRIPT>
</BODY>
</HTML>
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Thanks... but just looking for audio controllers... not the full video. Like youi see in my image above. it needs to fit in a small spot for me.

I got the background collor set right now... but just realized what I have works for wavs but not mp3s 
Pete
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
actually have the mp3 working too... just had a typo 
Pete
DVD Profiler Desktop and Mobile Registrantspecise_8472
It wasn't me...
Registered: January 27, 2009
New Zealand Posts: 181
Posted:
PM this userDirect link to this postReply with quote
You can do this easilty with XSPF plylists and a freeware flash player, XSPF player.swf.
I have modified the EPG code to do this, and it works perfectly. I also have a piccy of the album cover in there.
DVD Profiler Unlimited Registrantxyrano
41215.reg 70320.urk
Registered: March 13, 2007
Sweden Posts: 646
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting specise_8472:
Quote:
You can do this easilty with XSPF plylists and a freeware flash player, XSPF player.swf.
I have modified the EPG code to do this, and it works perfectly. I also have a piccy of the album cover in there.

I think we all are waiting for you to post the code
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
yup... lets see what you got... I want to see if it will work for what I was planning. 
Pete
DVD Profiler Desktop and Mobile Registrantspecise_8472
It wasn't me...
Registered: January 27, 2009
New Zealand Posts: 181
Posted:
PM this userDirect link to this postReply with quote
Information on the playlist format is at
http://www.xspf.org/
The player can be downloaded at
http://musicplayer.sourceforge.net/

To setup I just edited the EPG script - Replaced all occurences of EPG with STK. Then set the TAGS section the same as EPG but using "STK" instead. Because it is the same script, you can access the tracks via TAG, Notes, etc the same. Also setup the same way as the EPG guide.

My setup is a directory in C:\programs\dvd profiler\STK
This contains the HTML which points to the Cover picture, and the XSPF plylist (which I also store in this directory). I use the TAG feature to name these files. Also in this directory place the Flash Player files that you will find link to above.

An example HTML:
<html>
<body bgcolor="black">
<center>
<img src="024543004516.jpg">
<font color="red">
<h1>Conan The Destroyer</h1>

<object type="application/x-shockwave-flash" width="400" height="170"
data="xspf_player.swf?playlist_url=024543004516.xspf">
<param name="movie"
value="xspf_player.swf?playlist_url=024543004516.xspf" />
</object>

</center>
</body>
</html>

An example of the XSPF file is:
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
  <trackList>
    <track><location>file:///music/Basil Poledouris - Conan the Destroyer - 13. Conan and Bombaata Battle.mp3</location></track>
    <track><location>file:///music/conan the destroyer/Basil Poledouris - Conan the Destroyer - 12. Illusion's Lake.mp3</location></track>
    <track><location>file://3t-nas/public/_soundtracks/c/conan the Destroyer/11.Dueling_Wizards.mp3</location><title>Dueling Wizards</title><image>folder.jpg</image></track>
  </trackList>
</playlist>

The first 2 links are to local files on the same disk, and the 3rd was testing link to my 3 TB NAS store. Which worked perfectly BTW.
This works well, as I found that using JAVA enabled players did not work well within DVD Profiler, as they usually need permission to run, and I am not going to relax my security to allow all JAVA applets to run without permission.

Also there are freeware video flash players out there that can be used the same way to load Trailers etc!
DVD Profiler Unlimited Registrantxyrano
41215.reg 70320.urk
Registered: March 13, 2007
Sweden Posts: 646
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
DVD Profiler Desktop and Mobile Registrantspecise_8472
It wasn't me...
Registered: January 27, 2009
New Zealand Posts: 181
Posted:
PM this userDirect link to this postReply with quote
As I was setting up my Soundtracks to play as I described above, I became frustrated in the tedious work involved in editing the HTML file and renaming the JPG images.
So I threw together this little program to make life simpler for me.

http://homepages.paradise.net.nz/gsb/files/STK_Create.exe

It's basic purpose is to automate? the creation of the required files needed for my above method.

Upon sarting, you enter the Movie Name as will appear on the HTML page.

Then you enter the TAG (UPC) that the HTML, Image and XSPF files will have.

Then you enter the path to the exact directory where you have setup your file store for these files. I have preloaded the default that I use, you can edit to whatever you like - BUT make sure you add the / at the end!

You then load the cover image source from where ever on your HDD. Sorry, ONLY JPG's supported.

Then you hit Create and the HTML and image file will be created in the chosen directory.

I am working on a decent xspf creator, as all the ones out there are no good, FMPOW.

Just sharing as I have ~600 soundtracks to add, and I hate tedious work.

EDIT: I get my cover images from  http://www.soundtrackcollector.com/ These have a consistant good small size to them, plus there are not too many that I need that are not there.
 Last edited: by specise_8472
DVD Profiler Desktop and Mobile Registrantspecise_8472
It wasn't me...
Registered: January 27, 2009
New Zealand Posts: 181
Posted:
PM this userDirect link to this postReply with quote
I have finished a rough and ready XSPF creator.

http://homepages.paradise.net.nz/gsb/files/XSPF_Create.exe

Similar to the STK creator.
Enter directory to save the file. Preloaded as per my method above. If changed please remember to add the trailing \.
Enter UPC (TAG).
Load Music Files to be in the XSPF. IF the files are on a Network share tick the box.
Then Create.

Of course I can modify any of these two programs if asked. Even add features if interest is there.
I will modify the XSPF creator to be more fllexible, IE choose the save dir. via a dialog, but at the moment it is a quick way for me to get my own Soundtracks up and running.
Also looking at adding the Title field in the player via the ID tag settings.
This can create XSPF with ANY audio files. So you can create them with WAV, OGG, etc references so the playlists can be used in VLC and other players.
 Last edited: by specise_8472
    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1  Previous   Next