ArdiArtani / Photo-Google-Player-Script

Get Photo Google streaming links
https://photo-google-player-script.now.sh
GNU General Public License v3.0
48 stars 45 forks source link

quality problem #2

Closed nanoeray closed 7 years ago

nanoeray commented 7 years ago

i'm using the latest version but now i have a problem. Players HD button shows reverse qualities. When u click HD button and activate it, player plays 360p, when u deactivate plays 720p. Here is an example,

click to go

Leonsss commented 7 years ago

@nanoeray I think u can fix your problem by switching the places of the qualities at gp.php From if($count > 4) { $v1080p = $decode.'=m37'; $v720p = $decode.'=m22'; $v360p = $decode.'=m18'; $linkDownload['1080p'] = $v1080p; $linkDownload['720p'] = $v720p; $linkDownload['360p'] = $v360p; } if($count > 3) { $v720p = $decode.'=m22'; $v360p = $decode.'=m18'; $linkDownload['720p'] = $v720p; $linkDownload['360p'] = $v360p; } if($count > 2) { $v360p = $decode.'=m18'; $linkDownload['360p'] = $v360p; } To: if($count > 2) { $v360p = $decode.'=m18'; $linkDownload['360p'] = $v360p; }

if($count > 3) {
    $v720p = $decode.'=m22';
    $v360p = $decode.'=m18';
    $linkDownload['720p'] = $v720p;
    $linkDownload['360p'] = $v360p;

}

if($count > 4) {
    $v1080p = $decode.'=m37';
    $v720p = $decode.'=m22';
    $v360p = $decode.'=m18';
    $linkDownload['1080p'] = $v1080p;
    $linkDownload['720p'] = $v720p;
    $linkDownload['360p'] = $v360p;
}   
nanoeray commented 7 years ago

thanks, fixed.