Hi Dave...

I see it now.  There is a CLI command to adjust the play rate:
---
<playerid> rate <rate|?>

The "rate" command returns or sets the current play rate for the player. 
1 is normal, 2 is 2x fast forward, 0 is paused, -1 is rewind, etc.

Example:

     Request: "04:20:00:12:23:45 rate ?<LF>"
     Response: "04:20:00:12:23:45 rate 1<LF>"

     Request: "04:20:00:12:23:45 rate -4<LF>"
     Response: "04:20:00:12:23:45 rate -4<LF>"
---
...but to do this, it would appear I would have to "go behind 
slimserver's back" and do some local processing of the FF key (i.e. I 
need to capture a "held key").  I think there is enough here to go on. 
That is, the "hold the key" behavior is not in the server but in the 
client - as far as I can tell - and I'll need this description to 
emulate what is expected.

On the other hand, the mvpmc box does have different keys for FF and 
F-to-the-end.  Both of which, if I recall correctly, are mapped to 
simply F-to-the-end of a track.  Perhaps it would be best to modify the 
mvpmc code to reserve the FF key for the new behavior.  Yes, I like that 
the best.

  -R


Dave Ansell wrote:
> Thanks for that.
> On further investigations there are actually 2 skip behaviors on 
> SlimServer(6.5.0 - 9916 - Linux - EN - utf8)/SoftSqueeze(3.3, Java 1.5.0_02)
> 
> Firstly when listening to mp3 music files, etc as in my last post,
>      HOLD the fwd button and the display shows "Now Scanning", 2x, 3x, 4x, 
> etc.
>      RELEASE the button and the song skips through at whatever pace was 
> selected
>      PRESS play when you want to continue normally
> 
> Secondly when listening to "Listen Again" radio streams
>      HOLD the fwd button and the display shows "Skip", 1m, 2m, 3m, 4m, 5m, 
> 10m, 15m etc.
>      RELEASE the button and the stream moves that far forward.
> 
> Both do the same in reverse (Rew).
> 
> 
> Telnet ouputs are listed below.
> Output 1 is moving to 4x scan in an mp3 then pressing play to revert to 
> normal.
> Output 2 is skiping forward 5 mins in a listen again stream.
> 
> Not sure what I am looking at but presumably the "rate 2" "rate 4" and "rate 
> 1" commands are important.
> Interesting in output 2 it never goes beyond "rate 2" although I did skip 
> more than 2 mins.
> 
> I will leave you to draw your own conclusions as I am really not familiar 
> with the workings.
> 
> Let me know if you want any more experimentation.
> 
> cheers,
> Dave
> 
> 
> 
> Output 1 ...............
> listen 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 579.465
> 8f%3A01%3A49%3Aee%3A76%3A30 button  579.465 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 579.555
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 579.645
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 579.735
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 579.825
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 579.915
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 580.005
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 580.095
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 580.186
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 580.276
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 580.386
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 580.476
> 8f%3A01%3A49%3Aee%3A76%3A30 button scan_fwd 580.476 1
> 8f%3A01%3A49%3Aee%3A76%3A30 rate 2
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 580.566
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 580.656
> 8f%3A01%3A49%3Aee%3A76%3A30 playlist newsong
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 580.746
> 8f%3A01%3A49%3Aee%3A76%3A30 playlist open 
> file%3A%2F%2F%2Ffileserver%2FMusic%2FT
> he%2520Fratellis%2520-%2520Chelsea%2520Dagger.mp3
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 580.857
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 581.027
> 8f%3A01%3A49%3Aee%3A76%3A30 button  581.027 1
> 8f%3A01%3A49%3Aee%3A76%3A30 playlist newsong
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 581.117
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 581.207
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 581.297
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 581.467
> 8f%3A01%3A49%3Aee%3A76%3A30 button  581.467 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 581.558
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 581.648
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 581.738
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 581.828
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 581.918
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 582.008
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 582.098
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 582.188
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 582.289
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 582.379
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 582.469
> 8f%3A01%3A49%3Aee%3A76%3A30 button scan_fwd 582.469 1
> 8f%3A01%3A49%3Aee%3A76%3A30 rate 4
> 8f%3A01%3A49%3Aee%3A76%3A30 playlist open 
> file%3A%2F%2F%2Ffileserver%2FMusic%2FT
> he%2520Fratellis%2520-%2520Chelsea%2520Dagger.mp3
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 582.569
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 582.659
> 8f%3A01%3A49%3Aee%3A76%3A30 playlist newsong
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 582.749
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 582.97
> 8f%3A01%3A49%3Aee%3A76%3A30 button  582.97 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 583.06
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 583.15
> 8f%3A01%3A49%3Aee%3A76%3A30 button jump_fwd 583.482 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 768910ef 592.193
> 8f%3A01%3A49%3Aee%3A76%3A30 button  592.193 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 768910ef 592.283
> 8f%3A01%3A49%3Aee%3A76%3A30 button play 592.449 1
> 8f%3A01%3A49%3Aee%3A76%3A30 rate 1
> 8f%3A01%3A49%3Aee%3A76%3A30 playlist open 
> file%3A%2F%2F%2Ffileserver%2FMusic%2FT
> he%2520Fratellis%2520-%2520Chelsea%2520Dagger.mp3
> 8f%3A01%3A49%3Aee%3A76%3A30 playlist newsong
> 
> 
> Output 2..........
> listen 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 287.463
> 8f%3A01%3A49%3Aee%3A76%3A30 button  287.463 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 287.553
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 287.643
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 287.734
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 287.824
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 287.914
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.004
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.094
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.184
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.274
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.364
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.455
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.545
> 8f%3A01%3A49%3Aee%3A76%3A30 button scan_fwd 288.545 1
> 8f%3A01%3A49%3Aee%3A76%3A30 rate 2
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.635
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 288.635 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.725
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 288.725 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.815
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 288.815 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.905
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 288.905 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 288.995
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 288.995 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 289.085
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 289.085 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 289.176
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 289.176 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 289.266
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 289.266 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 289.356
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 289.356 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 289.446
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 289.446 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 289.536
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 289.536 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 289.626
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 289.626 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 289.716
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 289.716 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 289.806
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 289.806 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 289.897
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 289.897 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 289.987
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 289.987 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 290.077
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 290.077 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 290.167
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 290.167 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 290.257
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 290.257 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 290.347
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 290.347 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 290.437
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 290.437 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 290.528
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 290.528 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 290.618
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 290.618 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 290.708
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 290.708 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 290.798
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 290.798 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 290.888
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 290.888 1
> 8f%3A01%3A49%3Aee%3A76%3A30 ir 7689a05f 290.978
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_fwd 290.978 1
> 8f%3A01%3A49%3Aee%3A76%3A30 button skip_release 291.463 1
> 8f%3A01%3A49%3Aee%3A76%3A30 playlist play 
> rtsp%3A%2F%2Frmv8.bbc.net.uk%2Fradio2%
> 2Fr2_brand.ra%3Fstart%3D00%3A45%3A28.0
> 8f%3A01%3A49%3Aee%3A76%3A30 playlist open 
> rtsp%3A%2F%2Frmv8.bbc.net.uk%2Fradio2%
> 2Fr2_brand.ra%3Fstart%3D00%3A45%3A28.0
> 8f%3A01%3A49%3Aee%3A76%3A30 playlist load_done
> 8f%3A01%3A49%3Aee%3A76%3A30 playlist newsong
> 
> 
> 
> ----- Original Message ----- 
> From: "stuart" <[EMAIL PROTECTED]>
> To: "Dave Ansell" <[EMAIL PROTECTED]>; <[email protected]>
> Sent: Sunday, January 14, 2007 9:22 PM
> Subject: Re: [Mvpmc-users] Skip on MClient
> 
> 
>> Hi Dave...
>>
>> Unlike other mvpmc applications (features), almost all mclient commands 
>> are processed by slimserver its self.  So, I would expect if slimserver's 
>> fast forward feature has been enhanced, the enhancement would work from 
>> mvpmc as well.  The largest single exception is the mvpmc or rather the 
>> MediaMVP's audio buffer.  The delay through this buffer leads to behavior 
>> that appear unresponsive.  I can reset the buffer and eliminate the 
>> behavior.  However, doing this cuts off the first few seconds of any song 
>> which follow a command like play.  I am just this close to re-instating 
>> the reset again as this would improve response and get rid of repeating 
>> the first few seconds of the first song selected - very annoying.
>>
>> Wow, I guess this is a big issue w/Roku hardware as well.  Anyone know if 
>> the Roku people have solved this?
>>
>> Well, Dave, first things first.  Is this a slimserver feature or is it a 
>> client feature?  To find out, I started a java copy of softsqueeze then 
>> pressed the forward button with my mouse for several seconds.  The applet 
>> froze. Nice, I think I have some issues with Java that I will have to 
>> resolve.
>>
>> If you want to do us a favor - as it looks like when you run a copy of 
>> softsqueeze you can emulate this 1x 2x 3x feature you are talking about - 
>> telnet to your slimserver's port 9090 and type "listen 1" (if I remember 
>> right).  You should be able listen in on the conversation this server is 
>> having with it's client.  Then hold FF and tell us if you see anything. 
>> If you do, then slimserver is probably doing the FF feature. If not, then 
>> the client is doing the FF feature.
>>
>> Moving on, what version of slimserver are you rinning.  I am running:
>> VERSION INFO
>> SlimServer Version: 6.5.0 - 9916 - Linux - EN - utf8
>>
>> I have some speculations after searching the web to find next to nothing. 
>> I think this feature is implemented in the client.  That is, the 
>> slimserver is open sourced but the slimdevices clients are not.  As such, 
>> you wouldn't expect to see much on the web regarding specific client 
>> technical feature.
>>
>> If this is true, there may be some tricks the mvpmc box can pull.  If we 
>> flush the buffer I spoke of above and ask for more data we might be able 
>> to get the server to supply us with data at a rate faster then normal. I 
>> am guessing at the result, but I think with every buffer flush we will 
>> appear to be skipping forward about 3 to 5 seconds.  The amount of 
>> material we would then play would depend on how much we delay between the 
>> skips.  If this work, we may only be able to impliment something that 
>> looks like (guessing) 3x.
>>
>> But all this is just guessing.  We still need to answer the question of 
>> how 1x, 2x and 3x are implemented between slimserver and a slimdevices 
>> client (or as you pointed out, a softsqueeze client).
>>
>>
>> Dave Ansell wrote:
>>> Hi,
>>>     Sorry, it is a while since you wrote this replay, but thanks!
>>>
>>>     I have actually found that this *is* supported in slimserver.
>>>
>>>    If you *hold down* the FWD button the client moves to fast forward 
>>> mode 1x, 2x, 4x etc then when you release it continues fast-forwarding 
>>> through the track until you press play again.
>>>
>>>    If you just press FWD once it skips to the nex item on the playlist. 
>>> (this is what MClient does regardless)
>>>
>>>     Not sure if you can implement the "hold down" behavior in the MVP 
>>> MClient but it certainly works in Softsqueeze.
>>>
>>> cheers,
>>> Dave
>>>
>>>
>>> ----- Original Message ----- From: "stuart" <[EMAIL PROTECTED]>
>>> To: "Dave Ansell" <[EMAIL PROTECTED]>
>>> Cc: <[email protected]>
>>> Sent: Sunday, November 26, 2006 8:52 PM
>>> Subject: Re: [Mvpmc-users] Skip on MClient
>>>
>>>
>>>> Hi Dave...
>>>>
>>>> This would really be a feature for slimserver (the server for MClient). 
>>>> Currently, I don't believe there is a way.  However, I haven't looked 
>>>> for this feature in the last several releases of slimserver (been 
>>>> looking more at the CLI features of slimserver lately).  If you find 
>>>> something let me know I I'll try to map a mvpmc remote control key to 
>>>> the feature.
>>>>
>>>>     ...Rick
>>>>
>>>>
>>>> Dave Ansell wrote:
>>>>> Hi,
>>>>>
>>>>>      Is it possible to skip forward and back with mclient?
>>>>>
>>>>>      I am listening to rtsp stream from Alien BBC "Listen Again" show. 
>>>>> When I press skip on the remote it just restarts the show from the 
>>>>> beginning. You can skip the same stream OK when listening on the PC 
>>>>> with realplayer.
>>>>>
>>>>>
>>>>> thanks,
>>>>> Dave
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Mvpmc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mvpmc-users
> mvpmc wiki: http://mvpmc.wikispaces.com/
> 
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to