Skipping within an MP3 just starts playback from the beginning.
If you press any of the numbers on the remote control then playback should start from a percentage ranging from 10% to 90%, depending upon which button is pressed.
However, although the OSD and tje timing bar at the bottom of the screen indicates that the song should have skipped, playback seems to only start from the beginning again.
However, although the OSD and tje timing bar at the bottom of the screen indicates that the song should have skipped, playback seems to only start from the beginning again.
Leave a comment
This appears to only be a problem when using Simese.
Further investigations shows that the $_SERVER['HTTP_RANGE'] parameter is not set, therefore stream.php cannot return the portion of the file requested.
Here's the request that gets sent to Simese:
GET /stream.php?session_ih1. cbc4f0b24106e7494ffc3c4110cfae5bmedia_type1idh1. 0ext.mp3 HTTP/1.0
User-agent: Syabas/08-45-050106-11-PIN-101-000/11-PIN (uCOS-II v2.05;NOS;KA9Q; 624x496,HiColor; www.syabas.com)
Accept:* /*
Host: 192.168.0.3:8080
Cookie: IDHTTPSESSIONIh1. NrDAGLe72WO6eAq; PHPSESSIDcbc4f0b24106e7494ffc3c4110cfae5b
Range: bytes=1155507-
Here's the parameters that I see from within PHP:
Array
(
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.JS;.WS
[PROMPT] => $P$G
[SERVER_SOFTWARE] => Simese 1.39
[HTTP_CONTENT_TYPE] =>
[CONTENT_TYPE] =>
[URL] => stream.php
[PHPRC] =>
[REDIRECT_STATUS] => 200
[HTTP_REDIRECT_STATUS] => 200
[REDIRECT_URL] => stream.php
[CONTENT_LENGTH] =>
[HTTP_CONTENT_LENGTH] =>
[SERVER_NAME] => 192.168.0.3:8080
[SERVER_PROTOCOL] => HTTP/1.0
[SERVER_PORT] => 8080
[GATEWAY_INTERFACE] => CGI/1.1
[REQUEST_METHOD] => GET
[SCRIPT_NAME] => stream.php
[QUERY_STRING]h1. > session_idcbc4f0b24106e7494ffc3c4110cfae5bmedia_typh1. 1idx0ext=.mp3
[REMOTE_ADDR] => 192.168.0.7
[SystemRoot] => C:\\WINDOWS
[COMSPEC] => C:\\WINDOWS\\system32\\cmd.exe
[WINDIR] => C:\\WINDOWS
[PATH] => C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Subversion\\bin
[PATH_INFO] => stream.php
[REQUEST_URI] => stream.php
[PATH_TRANSLATED] => C:\\Documents and Settings\\All Users\\Application Data\\Simese\\Data\\stream.php
[SCRIPT_FILENAME] => C:\\Documents and Settings\\All Users\\Application Data\\Simese\\php\\php.exe
[HTTP_DATE] =>
[HTTP_CACHE_CONTROL] =>
[HTTP_ACCEPT] =>* /*
[HTTP_FROM] =>
[HTTP_HOST] => 192.168.0.3:8080
[HTTP_IF_MODIFIED_SINCE] =>
[HTTP_REFERER] =>
[HTTP_CONTENT_ENCODING] =>
[HTTP_CONTENT_VERSION] =>
[HTTP_DERIVED_FROM] =>
[HTTP_EXPIRES] =>
[HTTP_TITLE] =>
[HTTP_CONNECTION] =>
[HTTP_AUTHORIZATION] =>
[HTTP_ACCEPT_LANGUAGE] =>
[HTTP_ACCEPT_ENCODING] =>
[HTTP_USER_AGENT] => Syabas/08-45-050106-11-PIN-101-000/11-PIN (uCOS-II v2.05;NOS;KA9Q; 624x496,HiColor; www.syabas.com)
[HTTP_COOKIE]h1. > IDHTTPSESSIONIDNrDAGLe72WO6eAq; PHPSESSID=cbc4f0b24106e7494ffc3c4110cfae5b
[SERVER_ADDR] => 192.168.0.3
[DOCUMENT_ROOT] => C:\\Documents and Settings\\All Users\\Application Data\\Simese\\Data\\
[SERVER_ADMIN] => admin@server
[PHP_SELF] => stream.php
[argv] => Array
(
revision:0h1. > session_idcbc4f0b24106e7494ffc3c4110cfae5bmedia_typh1. 1idx0ext=.mp3
)
[argc] => 1
)
Further investigations shows that the $_SERVER['HTTP_RANGE'] parameter is not set, therefore stream.php cannot return the portion of the file requested.
Here's the request that gets sent to Simese:
GET /stream.php?session_ih1. cbc4f0b24106e7494ffc3c4110cfae5bmedia_type1idh1. 0ext.mp3 HTTP/1.0
User-agent: Syabas/08-45-050106-11-PIN-101-000/11-PIN (uCOS-II v2.05;NOS;KA9Q; 624x496,HiColor; www.syabas.com)
Accept:* /*
Host: 192.168.0.3:8080
Cookie: IDHTTPSESSIONIh1. NrDAGLe72WO6eAq; PHPSESSIDcbc4f0b24106e7494ffc3c4110cfae5b
Range: bytes=1155507-
Here's the parameters that I see from within PHP:
Array
(
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.JS;.WS
[PROMPT] => $P$G
[SERVER_SOFTWARE] => Simese 1.39
[HTTP_CONTENT_TYPE] =>
[CONTENT_TYPE] =>
[URL] => stream.php
[PHPRC] =>
[REDIRECT_STATUS] => 200
[HTTP_REDIRECT_STATUS] => 200
[REDIRECT_URL] => stream.php
[CONTENT_LENGTH] =>
[HTTP_CONTENT_LENGTH] =>
[SERVER_NAME] => 192.168.0.3:8080
[SERVER_PROTOCOL] => HTTP/1.0
[SERVER_PORT] => 8080
[GATEWAY_INTERFACE] => CGI/1.1
[REQUEST_METHOD] => GET
[SCRIPT_NAME] => stream.php
[QUERY_STRING]h1. > session_idcbc4f0b24106e7494ffc3c4110cfae5bmedia_typh1. 1idx0ext=.mp3
[REMOTE_ADDR] => 192.168.0.7
[SystemRoot] => C:\\WINDOWS
[COMSPEC] => C:\\WINDOWS\\system32\\cmd.exe
[WINDIR] => C:\\WINDOWS
[PATH] => C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Subversion\\bin
[PATH_INFO] => stream.php
[REQUEST_URI] => stream.php
[PATH_TRANSLATED] => C:\\Documents and Settings\\All Users\\Application Data\\Simese\\Data\\stream.php
[SCRIPT_FILENAME] => C:\\Documents and Settings\\All Users\\Application Data\\Simese\\php\\php.exe
[HTTP_DATE] =>
[HTTP_CACHE_CONTROL] =>
[HTTP_ACCEPT] =>* /*
[HTTP_FROM] =>
[HTTP_HOST] => 192.168.0.3:8080
[HTTP_IF_MODIFIED_SINCE] =>
[HTTP_REFERER] =>
[HTTP_CONTENT_ENCODING] =>
[HTTP_CONTENT_VERSION] =>
[HTTP_DERIVED_FROM] =>
[HTTP_EXPIRES] =>
[HTTP_TITLE] =>
[HTTP_CONNECTION] =>
[HTTP_AUTHORIZATION] =>
[HTTP_ACCEPT_LANGUAGE] =>
[HTTP_ACCEPT_ENCODING] =>
[HTTP_USER_AGENT] => Syabas/08-45-050106-11-PIN-101-000/11-PIN (uCOS-II v2.05;NOS;KA9Q; 624x496,HiColor; www.syabas.com)
[HTTP_COOKIE]h1. > IDHTTPSESSIONIDNrDAGLe72WO6eAq; PHPSESSID=cbc4f0b24106e7494ffc3c4110cfae5b
[SERVER_ADDR] => 192.168.0.3
[DOCUMENT_ROOT] => C:\\Documents and Settings\\All Users\\Application Data\\Simese\\Data\\
[SERVER_ADMIN] => admin@server
[PHP_SELF] => stream.php
[argv] => Array
(
revision:0h1. > session_idcbc4f0b24106e7494ffc3c4110cfae5bmedia_typh1. 1idx0ext=.mp3
)
[argc] => 1
)
Updating tickets (#63, #65, #75, #84, #87, #89, #93, #185, #10, #57, #64, #69, #70, #74, #79, #80, #82, #83, #85, #86, #88, #90, #91, #96, #97, #98, #99, #100, #101, #104, #105, #109, #115, #116, #117, #120, #126, #128, #130, #131, #133, #135, #153, #163, #169, #171, #173, #179, #180, #181, #184, #187, #188, #194, #195, #198, #203, #205, #218, #220, #226, #231, #236, #239, #240, #242, #247, #252, #5, #6, #11, #20, #25, #26, #27, #29, #30, #38, #40, #42, #43, #44, #46, #49, #50, #51, #52, #53, #55, #58, #59, #60, #61, #71, #92, #102, #103, #106, #107, #108, #112, #113, #114, #118, #119, #121, #129, #137, #140, #141, #144, #145, #146, #147, #149, #150, #151, #152, #154, #156, #157, #158, #160, #161, #162, #165, #167, #168, #172, #176, #182, #183, #191, #192, #193, #196, #197, #204, #206, #210, #215, #217, #222, #228, #230, #232, #234, #235, #237, #243, #249, #1, #4, #9, #12, #13, #16, #62, #78, #164, #166, #189, #190, #199, #200, #208, #209, #211, #212, #19, #47, #48)