How does sopcast network TV customize the live source?

Source: Internet
Author: User

How does sopcast network TV customize the live source? Many netizens struggled to find Sopcast's live source, but immediately encountered a new problem, that is sopcast how to customize the live source. In today's tutorial, we will give you a Sopcast custom live source method, including: Sopcast Batch Import and edit the live source method, I hope you will like!

Sopcas

Sopcast the way to customize a live feed:

The first step is to make the Sopcast live source list into an XML file, such as the first image; (Recommended: Professional and useful XML editor recommended)

The second step, has been made into XML files, copy Favorites.xml to sopcast installation directory to cover the original file, run Sopcast after clicking My collection, you can see the custom of more than 100 channels.

Sopcast

Sopcast the principle of custom live Source:

Sopcast is a compact live TV software that supports user-defined sop://protocol addresses to watch related programs. But the Sopcast software only offers a version of Windows and an Android phone version, and no Android TV version is available. The release of the Windows version and the Android version supports the manual collection of customized TV channels. But this collection way, must be one in the mobile phone or the computer sopcast software hand-edited. Quite troublesome. And the software does not do import, export function. So it is quite inconvenient to use sopcast.

Sopcast Windows version

In Windows version, to have your customized channel appear in the My Favorites icon, you need to edit the Favorites.xml file in the Sopcast installation directory. The file is located under the Sopcast installation directory. For example: C:Program filessopcast

Because the Windows version of the collection file uses XML format. So you can simply open the Favorites.xml file with Notepad or WordPad to edit it.

The format of the XML file is:

①favorite marks the first and last line of the XML file that appears.

②tem the information that a live channel is placed between the tag pairs.

③item ID number, you can customize it, but please note that the ID number as far as possible in this XML file do not repeat.

④name mark on the inside please fill in the name of the channel and the name you fill out will appear in the Spotcast Windows version of the Live channel list.

⑤address tags to the inside place you collect the live source address, and the address must be SOP agreement, an addressing mark to the inside can only place a SOP address.

Sopcast Android version

Sopcast's Android version offers only a mobile version, with no dedicated TV version. But it can still be installed on an Android phone or an Android box or Android Smart TV. Installing on a box or TV also supports remote control operations. But because it's not a special TV version. Therefore, the remote control is not too convenient to operate. It is more urgent to import custom program source functionality.

In the Android version, to have your customized channel appear in the Favorites icon, you need to replace the files in the installation directory. The file is located in the/data/data/org.sopcast.android/files directory and the file name is favlist. The favlist file does not exist when you have not collected any of the channels. The Android version automatically creates a favlist file in the/data/data/org.sopcast.android/files folder only after you have collected the channel.

Because it's troublesome to manually edit collections on mobile phones, TV boxes, and smart TVs, the best way to do this is to make a favlist file on a computer and push it to a cell phone, a TV box, or a smart TV/data/data/org.sopcast.andorid/ In the files directory, replace the original favlist file in this directory.

If this approach is to be achieved. You first want to ensure that several preconditions are complete:

① will have an Android device already root.

② gives the/data/data/org.sopcast.android/files directory the permissions that any user can read and write.

(This method recommends that your Android device root, install an ES folder browser to set the folder read and write permissions, after the modification, the cell phone restart.) )

The ③ computer is best equipped with a ADB tool that can wirelessly connect to an Android device (the Android Debug Bridge).

The format for making favlist files on your computer is shown in the following illustration:

① must be a screenshot of the template, indicating the 1.0 version of XML, encoded using UTF-8

②channels tags are placed on all channels inside. The last line of the file ends with/channels.

③ Each channel must be placed inside the channel tag. And each channel tag pair can only send one SOP address.

The ID and chid of the ④channel tag are generally the same value, the IDs and Chid can be customized by you, type needs to enter the address of the 0,addr= followed by the SOP, and enter the name of the channel between the channel and the/channels tag pair.

When you have finished typing, remember to save the file in utf-8 format, the filename is called favlist, and delete the file suffix name. You can use the ADB's push directive to favlist files. For example, you save a favlist file made on your computer in the root directory of the C disk. You can enter the directory where the Adb.exe files are located by typing the cmd window of the Windows computer.

Input: adb push c:favlist/data/data/org.sopcast.android/files

Then enter to copy the file from your PC to an Android device.

Problems encountered

① Some people may find that after you have set up your favlist files on your computer and copied them to an Android device, after you open your favorites in the Android version of Sopcast file, you find that the channel content in the Favlist file you made is not displayed. Most of the cases are due to the wrong encoding of the files stored on the PC computer, when making favlist files, it is recommended to use notepad++ software to make favlist files, save the contents of the file as UTF-8 for BOM format before saving.

Note: UTF-8 is not available in the BOM format, not the UTF-8 format. You can only select UTF-8 or Ascⅱ encoding if you save a file with Notepad in Windows. And Notepad to save the UTF-8 is definitely with the BOM. With the BOM format coding often can not be based on Linux systems, such as the Android system is well recognized and supported. As a result, the Favlist file content is not recognized by the Sopcast Android version of the Favorites folder.

②root's Android device is not connected with the ADB command.

Many times, the Android device, although root, does not automatically open its ADB function. In this case, if you enter the ADB connect IP address Such an instruction, the command line returns unable to connect to the Android device. If this is the case, you will need to install a terminal emulator app on your Android device. Enter the instructions in the app to enable your Android device to turn on the ADB feature.

③ Other issues

When Abd connect an Android device, you may encounter various kinds of abnormal error prompts. This is due to the more fragmented Android devices, the type of root of various types of Android devices, or the different permissions given by the original manufacturer. When this kind of error prompts, please actively in Baidu, Google, Bing, Sogou, Yahoo and other search engines to find the answer.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.