@SuppressWarnings("static-access")
    private void updateVisibleSelectedPlaylist() {
        if(!LockedPlaylistValueAccess.lockedPlaylist) {
            String[] splitStringTotal = null;
            String[] splitStringCurrent = null;
            splitStringTotal = getTrackLength().split(":");
            splitStringCurrent = getCurrentPosition().split(":");

            if(splitStringTotal[0].equals(splitStringCurrent[0]) 
                    && ((Integer.parseInt(splitStringTotal[1]) -1) == (Integer.parseInt(splitStringCurrent[1])))) {
                try {
                    musicThread.sleep(500);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                newIndex = true;
                mediaPlayer.stop();
                mediaListPlayer.playNext();
            }

            if(newIndex) {
                playContentsJList.setSelectedIndex(playContentsJList.getSelectedIndex() + 1);
                playContentsJList.repaint();
                newIndex = false;
            } 
        }
    }