UPDATE 1-Mexico's Televisa says court ruled against Office Depot on Roku ban

(Adds detail on companies, background on legal fight)

MEXICO CITY, June 30 (Reuters) - A cable operator belonging to Mexico's largest television network said on Friday it won court rulings against requests by Office Depot and Radio Shack to resume sales of Roku video streaming devices after another court banned them.

Cablevision, a cable TV provider owned by Televisa , told Reuters via email the judgments were made by a civil appeals court on Thursday. They were the latest in a legal fight by Cablevision to stop the importation and distribution of Roku devices in Mexico on the grounds that they are sometimes hacked to allow users view pirated channels.

An Office Depot spokesman did not immediately respond to a request for comment and a Radio Shack spokesman could not immediately be reached.

Connected to televisions, Roku devices provide access to Netflix, Hulu, Amazon, Starz and other services over the internet.

Cablevision called on Roku to change its software to make it unusable by hackers selling illegal content, the Mexican company told Reuters in an emailed statement.

Hackers in Mexico use messaging app WhatsApp to offer Roku owners illegal access to monthly packages of hundreds of television channels, including Televisa's, HBO, ESPN and others.

On Wednesday, a court reaffirmed a previous court order halting the importation of distribution of the devices in Mexico. Roku had won a suspension. (Reporting by Noel Randewich; Editing by Frank Jack Daniel and Meredith Mazzilli)