Jump to content

SORTED: WMP Skipping though tracks/movies


Recommended Posts

Posted

Wicked just worked out something great taking the work of Chris Benjaminsen one step further.

Over at microsoft their is this "Knowledge Base Article - 285841 - Starting Playback at a Specific Point in a File" this is for asx files and takes playlisting one step further chris already showed us how to use an ASX file to create a playlist but i found out that you can also specify points to start a song using asx files the article details this:

Ok now the above code would start the file test asf at exactly 1minute and 30seconds into the file so if i do this:

Their are now 2 skippable points in the file test.asf so if i play the asx file and press fowards button it skips to 1minute and 30 seconds into the file, obviously you can stick as many points as u like in, but supose you are half way though a south park episode and a call comes in, you are at 20mins into the episode simply re-run the asx file and skip to the interval you have chosen! Great :D I know its an arsey solution but ive found it works great!

DJ Hope

Posted

Absolute LEGEND!!!

I posted a question about this in other thread only to find your solution 2min after!! Good job!!

Posted

Now that's working great, but I would like to split audio into tracks, is there some kind of 'endtime' string for that?? (endtime doesn't seem to work). thanks.

Posted

Heres a list of all the parameters you can use

Element Description

ABSTRACT Contains text that represents a description of the associated ASX, or ENTRY element. ASX Defines a file as an ASX file.

AUTHOR Contains a text string representing the name of the author of an ASX file or media clip.

BASE Defines a URL string appended to the front of URLs sent to the WMP control.

COPYRIGHT Defines a text string specifying the copyright information for an ASX or ENTRY element.

DURATION Defines the length of time the WMP control will render a stream.

ENDMARKER Specifies a marker at which the WMP control will stop rendering the stream.

ENTRY Defines a clip.

ENTRYREF Links to the ENTRY elements in an external ASX file.

EVENT Defines a behavior or action taken by the WMP control when it receives a script command labeled as an event.

MOREINFO Specifies a URL to a Web site, e-mail address, or script command associated with a show or clip.

PARAM Defines an custom parameter associated with a clip.

REF Specifies a URL for a piece of media content.

REPEAT Defines the number of times the WMP control repeats one or more ENTRY or ENTRYREF elements.

STARTMARKER Specifies a marker from which the WMP control will start rendering the stream.

STARTTIME Defines a time index from which the WMP control will start rendering the stream.

TITLE Defines a text string specifying the title for an ASX or ENTRY element.

More info can be found here:

http://msdn.microsoft.com/library/en-us/wc....asp?frame=true

NOTE: I couldnt seem to get all the parameters to work, but then i could be doing something wrong, experiment and see guys!

BTW, to open an asx file you must eathier insert it as a link into a html file or use ALL-Explore to run, i personally have set up a html file with all my playlists in it which automatically launch into windows media player, i can now skip through my movies/music using the playlists!

Enjoy!!

DJ Hope

Posted

Here's an example of what i've done, works great on spv, though my PC win.media player seems a bit odd on track changes... well, u can have a decent playlist for that one at least....

 

 

 

   

 

 

 

 

 

thanks DJ

Guest Shuflie
Posted
BTW, to open an asx file you must eathier insert it as a link into a html file or use ALL-Explore to run, i personally have set up a html file with all my playlists in it which automatically launch into windows media player, i can now skip through my movies/music using the playlists!

Just thought I'd let you know that you can use Activesync to create a shortcut to your .asx files (right click the .asx file and select create shortcut). Now you can create a folder in your /ISPM/Windows/Start Menu/ folder (Call it music or Videos or whatever takes your fancy) and drag your shortcuts to it then reboot the phone. Now you can start your video/play list from the programs menu. Much neater than going through All explorer or Internet Explorer.

  • 2 weeks later...
Guest Jakster
Posted

Madukrainian!!! Ive used your playlist generator :D to set up a .asx file to skip through sections on an album (saved as 1 .wma file) put it in the same folder as the wma file and set up a shortcut to it which is now in a folder on the Start menu called playlists(!) when I try to run the file from the shortcut it it can now find and start to run the album but each segment is the full album (ive replicated this on the PC to check)??? What am I doing wrong??? I'm following these posts blindly as I have no idea what im doing :oops:

Help please :(

  • 1 month later...
Guest lenpegg
Posted

Sorry I may seem simple but I dont understand this - how do i create an .asx file

Guest casper508
Posted

Just copy the following code into notepad and save it as a .asx file.

You will need to change the filename to the one you wish to run and you can also change the duration value.

Cheers

Cas

<asx version="3">


<entry> 


<starttime value = "0:0.0"/> 


<DURATION VALUE="5:00.0" /> 


<ref href = "test.wma"/> 


</entry> 




<entry> 


<starttime value = "5:00.0"/> 


<ref href = "test.wma"/> 


<DURATION VALUE="5:00.0" /> 


</entry> 




<entry> 


<starttime value = "10:00.0"/> 


<ref href = "test.wma"/> 


<DURATION VALUE="5:00.0" /> 


</entry> 




</asx>

  • 2 weeks later...
Guest lenpegg
Posted

Now I may seem really stupid but I am still struggling with this - I can create an .asx file, I have copied my .wmv file to my storage card but still no joy.

PLEASE can anyone put a simple step by step guide together for me as I am sick of watching the sam bit of film over and over again.

  • 3 weeks later...
Guest Flash
Posted

I would appreciate some help if possible on this one.

So far I am unable to get anything working on the phone - when I press the forward button it just goes to the next track. I tried it on the computer and, although it lists my (5) stops, if I press the forward button it just ignores them all (with red exclamation marks!!)

As with lenpegg above - if anyone would have the time to do a full step-by-step guide it would be much appreciated.

EDIT - I think I'm there :) However I do have one request - instead of an individual 'track' count, it would be nice to see the overall count. ie. at the start of the 5th duration the timer shows 0:00, where the actual figue would be ie. 20:30

Guest yatpeak
Posted

There's no way to get a scroll bar as of yet, is there?

Thanks,

Wyatt

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.