Archive:IOS FAQ: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{mininav|[[IOS]]|page=iOS FAQ}}
{{notice|v14.2 "Helix" will be the last version of Kodi to run on the '''Apple TV 2'''. For more information read the announcement '''[http://kodi.tv/farewell-to-future-appletv2-development/ here]'''.
{{atv2 farewell}}
''Other iOS devices (iPhone, iPad, etc) will still be supported.''}}




{{Kodi FAQ}}


<section begin="intro" />'''F'''requently '''A'''sked '''Q'''uestions for iOS, including [[w:iDevices|iDevices]] and [[w:Apple TV|Apple TV]].<section end="intro" />
<section begin="intro" />'''F'''requently '''A'''sked '''Q'''uestions for iOS, including [[w:iDevices|iDevices]] and [[w:Apple TV|Apple TV]].<section end="intro" />
Line 10: Line 9:
{{-}}
{{-}}
== General FAQ (all devices) ==
== General FAQ (all devices) ==
:{{big|''See also: '''[[All platforms FAQ]]''' for FAQs that apply to all versions of Kodi.''}}


{| cellborder="0" cellpadding="5" cellspacing="0"
{| cellborder="0" cellpadding="5" cellspacing="0"
Line 27: Line 25:
| Question= SSH
| Question= SSH
| Answer=
| Answer=
* [[SSH|Secure Shell (SSH)]] is used to send remote commands to iOS devices. You might need this for some Kodi related tasks detailed on this page. For SSH access you can use [http://www.chiark.greenend.org.uk/~sgtatham/putty/ putty] or [http://www.bitvise.com/tunnelier.html Tunnelier] on Windows, Terminal.app in Mac OS X, or any standard terminal/shell in Linux.
* Secure Shell (SSH) is used to send remote commands to iOS devices. You might need this for some Kodi related tasks detailed on this page. For SSH access you can use [http://www.chiark.greenend.org.uk/~sgtatham/putty/ putty] or [http://www.bitvise.com/tunnelier.html Tunnelier] on Windows, Terminal.app in Mac OS X, or any standard terminal/shell in Linux.
* To SSH into an iOS device open your SSH application and type in:
* To SSH into an iOS device open your SSH application and type in:
:<pre>ssh [email protected]</pre>
:<pre>ssh [email protected]</pre>
Line 62: Line 60:
| Question= Accessing media
| Question= Accessing media
| Answer=
| Answer=
:{{See also|Adding videos to the library|File sharing}}
* Most users just connect to media that's being shared from a computer, HTPC, or NAS device on your local network. iPad and other iDevices can store files locally, and the iPad specifically can also use the Apple Camera Kit to use USB drive and SD cards.
* Most users just connect to media that's being shared from a computer, HTPC, or NAS device on your local network. iPad and other iDevices can store files locally, and the iPad specifically can also use the Apple Camera Kit to use USB drive and SD cards.
}}
}}
Line 87: Line 84:
| Question= Touch screen controls
| Question= Touch screen controls
| Answer=
| Answer=
:{{Main|Touch controls}}
* '''Context menu:''' Single-finger long tap or two-finger single tap the menu item.
* '''Context menu:''' Single-finger long tap or two-finger single tap the menu item.
* '''Go Back:''' Two finger swipe left.
* '''Go Back:''' Two finger swipe left.
Line 100: Line 96:
| Answer=
| Answer=
* Direct '''touch screen''' input
* Direct '''touch screen''' input
* '''[[Web interface]]''', including add-on interfaces
* '''Web interface''', including add-on interfaces
* Kodi '''[[:Category:Smartphone and tablet remotes|smartphone and tablet remote apps]]'''.
* Kodi smartphone and tablet remote apps.
* Bluetooth keyboards can be used for navigation and playback, in addition to text entry.
* Bluetooth keyboards can be used for navigation and playback, in addition to text entry.
* Headphone remote control of Apple headphones or on bluetooth headphones can control play/pause and next/previous item (playlist or auto play next).
* Headphone remote control of Apple headphones or on bluetooth headphones can control play/pause and next/previous item (playlist or auto play next).
Line 145: Line 141:


== Troubleshooting ==
== Troubleshooting ==
{{see also|Troubleshooting}}
{| cellborder="0" cellpadding="5" cellspacing="0" width="100%"
{| cellborder="0" cellpadding="5" cellspacing="0" width="100%"
Have you tried switching it off then on again?
Have you tried switching it off then on again?
Line 160: Line 155:
| Question= Userdata folder and logs
| Question= Userdata folder and logs
| Answer=
| Answer=
:{{see also|HOW-TO:Submit a proper bug report|Log file/Easy}}
:{{see also|HOW-TO:Submit_a_bug_report|Log file/Easy}}


* [[Userdata]]: {{highlight|/var/mobile/Library/Preferences/Kodi/userdata/}}
* [[Userdata]]: {{highlight|/var/mobile/Library/Preferences/Kodi/userdata/}}
Line 181: Line 176:
* Settings or sources not stored and updates are failing? This can happen when the setting xml files are manipulated outside Kodi. Connect to your iPad/ATV2 as root using an ssh client and repair file permissions.
* Settings or sources not stored and updates are failing? This can happen when the setting xml files are manipulated outside Kodi. Connect to your iPad/ATV2 as root using an ssh client and repair file permissions.


* Run the following [[#SSH|SSH]] command on the iOS device:
* Run the following SSH command on the iOS device:


<pre>chown -R mobile:mobile /private/var/mobile/Library/Preferences/Kodi/</pre>
<pre>chown -R mobile:mobile /private/var/mobile/Library/Preferences/Kodi/</pre>
Line 213: Line 208:
| Question=Not enough space/memory
| Question=Not enough space/memory
| Answer= <!-- Please keep some of the troubleshooting ATV2 stuff for a while. We might even spit it off onto a legacy ATV2 page. -->
| Answer= <!-- Please keep some of the troubleshooting ATV2 stuff for a while. We might even spit it off onto a legacy ATV2 page. -->
* Have you run out of space on your ATV2? Check with (via [[#SSH|SSH]]) the <code>df -k</code> command. If any /dev/disk* filesystems are at 100%, use <code>du -h /</code> to see what's taking up space. or to show which files are, for example, bigger then 9 Mb do <code>find / -size +9000b</code>
* Have you run out of space on your ATV2? Check with (via SSH) the <code>df -k</code> command. If any /dev/disk* filesystems are at 100%, use <code>du -h /</code> to see what's taking up space. or to show which files are, for example, bigger then 9 Mb do <code>find / -size +9000b</code>
* First places to check are:
* First places to check are:
{{note|you can clear out the files in these folders, but don't delete the folders themselves}}
{{note|you can clear out the files in these folders, but don't delete the folders themselves}}
Line 220: Line 215:
** {{highlight|/private/var/mobile/Library/Caches/AppleTV/Video/Other}}
** {{highlight|/private/var/mobile/Library/Caches/AppleTV/Video/Other}}
** {{highlight|/private/var/cache/apt/archives/}}
** {{highlight|/private/var/cache/apt/archives/}}
* See also [[#Thumbnails]] for saving space with smaller thumbs or moving them to a network location.
}}
}}


Line 227: Line 221:
| Question= Thumbnails taking up too much space or are causing long loading times
| Question= Thumbnails taking up too much space or are causing long loading times
| Answer=
| Answer=
{{See|HOW-TO:Reduce disk space usage}}
HOW-TO:Reduce disk space usage
}}
}}


Line 234: Line 228:
| Question= Audio issues and/or slow video playback
| Question= Audio issues and/or slow video playback
| Answer=  
| Answer=  
{{See also|Settings/System#Audio output}}
* Make sure that your audio settings are correct. Wrong audio settings will have severely negative effects on video playback.
* Make sure that your audio settings are correct. Wrong audio settings will have severely negative effects on video playback.
:* Check to see if your speaker setup is really correct
:* Check to see if your speaker setup is really correct
:* If passthrough: make sure you '''only''' enable the audio codecs your receiver supports.
:* If passthrough: make sure you '''only''' enable the audio codecs your receiver supports.
:* Select the correct audio output device for analog and passthrough.
:* Select the correct audio output device for analog and passthrough.
{{#lst:Frodo issues|Mac audio}}
* Not actually an issue with Kodi: Apple does not provide support for HD-audio passthrough in their audio API, CoreAudio.
* Not actually an issue with Kodi: Apple does not provide support for HD-audio passthrough in their audio API, CoreAudio.
}}
}}
Line 253: Line 245:
* Disable playback sync completely, Kodi -> Settings -> Video -> Playback -> turn off "Sync playback to display"
* Disable playback sync completely, Kodi -> Settings -> Video -> Playback -> turn off "Sync playback to display"
* If you are having buffering issues using a Time Capsule on WiFi, try [[forumpost s:959135|this]].
* If you are having buffering issues using a Time Capsule on WiFi, try [[forumpost s:959135|this]].
** See also [[#Thumbnails]] for speeding up the GUI when it's loading large/lots of thumbnails.
** See also Thumbnails for speeding up the GUI when it's loading large/lots of thumbnails.
* Make sure the video isn't interlaced.
* Make sure the video isn't interlaced.
* If the video is in HD, make sure it is using the h.264 codec (up to High Profile. Hi10P will not work, [[MediaInfo]] can help).
* If the video is in HD, make sure it is using the h.264 codec (up to High Profile. Hi10P will not work, MediaInfo can help).
;ATV2 <!-- Please keep some of the troubleshooting ATV2 stuff for a while. We might even spit it off onto a legacy ATV2 page. -->
;ATV2 <!-- Please keep some of the troubleshooting ATV2 stuff for a while. We might even spit it off onto a legacy ATV2 page. -->
* Use a wired network connection (if possible, even if just for testing to rule out wireless network issues).
* Use a wired network connection (if possible, even if just for testing to rule out wireless network issues).
Line 269: Line 261:
| Answer=
| Answer=
;General
;General
* Check your [[#Logs|logs]] for clues.
* Check your logs for clues.
* Have you [[#repair_settings|tried to repair permissions on Kodi's settings]]?
* Have you [[#repair_settings|tried to repair permissions on Kodi's settings]]?
* Are you using a feature rich skin? Check to see if you're running [http://forum.kodi.tv/showpost.php?p=883003&postcount=86 out of memory].
* Are you using a feature rich skin? Check to see if you're running [http://forum.kodi.tv/showpost.php?p=883003&postcount=86 out of memory].
* Does your kodi.log have any SQL errors ("database disk image is malformed")? Remove your databases and reboot: (via [[#SSH|SSH]]) <code>rm -f /private/var/mobile/Library/Preferences/Kodi/userdata/Database/*db</code> . {{highlight|color=orange|'''Warning:''' This will reset your video and music libraries}}.
* Does your kodi.log have any SQL errors ("database disk image is malformed")? Remove your databases and reboot: (via SSH) <code>rm -f /private/var/mobile/Library/Preferences/Kodi/userdata/Database/*db</code> . {{highlight|color=orange|'''Warning:''' This will reset your video and music libraries}}.
* Try turning off thumbnail generation (does not affect thumbnails from a library scan), Kodi > Settings > Video > File and deselect 'generate thumbnails'.
* Try turning off thumbnail generation (does not affect thumbnails from a library scan), Kodi > Settings > Video > File and deselect 'generate thumbnails'.
* Are you using AFP file sharing? If you're seeing LIBAFPCLIENT errors in your logs you may want to switch to a different protocol. AFP is generally stable but [http://forum.kodi.tv/showthread.php?t=109723&page=21 development] is orphaned at the moment.
* Are you using AFP file sharing? If you're seeing LIBAFPCLIENT errors in your logs you may want to switch to a different protocol. AFP is generally stable but [http://forum.kodi.tv/showthread.php?t=109723&page=21 development] is orphaned at the moment.
Line 286: Line 278:
: Due do a server issue, the Team Kodi Cydia repo is having problems. Jailbroken iOS users can still manually install Kodi v16. See '''[[HOW-TO:Install Kodi for iOS]]''' for more info.
: Due do a server issue, the Team Kodi Cydia repo is having problems. Jailbroken iOS users can still manually install Kodi v16. See '''[[HOW-TO:Install Kodi for iOS]]''' for more info.


{{Helix updated}}
 
{{DISPLAYTITLE:iOS FAQ}}
{{DISPLAYTITLE:iOS FAQ}}


[[Category:Manual]]
[[Category:FAQ|IOS]]
[[Category:Apple]]
[[Category:Apple]]
[[Category:Troubleshooting]]

Latest revision as of 20:23, 11 December 2020

Emblem-important-yellow.png NOTICE:
v14.2 "Helix" will be the last version of Kodi to run on the Apple TV 2. For more information read the announcement here.

Other iOS devices (iPhone, iPad, etc) will still be supported.


Frequently Asked Questions for iOS, including iDevices and Apple TV.


General FAQ (all devices)

Installing and updating Kodi for iOS

Link

Requirements:

SSH

Link
  • Secure Shell (SSH) is used to send remote commands to iOS devices. You might need this for some Kodi related tasks detailed on this page. For SSH access you can use putty or Tunnelier on Windows, Terminal.app in Mac OS X, or any standard terminal/shell in Linux.
  • To SSH into an iOS device open your SSH application and type in:
ssh [email protected]
  • For most things you can and should use "mobile" as the user, as shown above. For some tasks, such as upgrading Kodi itself, you will need to replace "mobile" with "root".
  • The default password (for "mobile" or "root") will be alpine

Is Kodi for iOS different from normal Kodi?

Link
  • The current stable version of Kodi for iOS is Kodi v20.5 Nexus. This is the same code that all of the other platforms (Linux, Mac, Windows) are using.

How do I find out what version of Kodi am I running?

Link
  • Kodi -> Main menu -> System -> Lower submenu -> System info. Note the build date.

Formats and resolutions iOS devices can playback

Link
  • Kodi on iOS can playback most formats supported by Kodi in standard definition.
  • H.264 (up to High Profile) encoded videos that are not interlaced are supported for high definition (720P and up) using hardware video decoding.
    • The iPad 2 (and later) and iPhone 4S (and later) are the only exceptions to this and will play some other HD codecs due to the more powerful CPU inside using software video decoding.
  • Videos with 16 reference frames will not playback correctly (using 16 ref frames is out of spec for most codec standards anyways)
  • Videos at 60FPS may not playback correctly for reasons not yet known (possible hardware limitation).

Accessing media

Link
  • Most users just connect to media that's being shared from a computer, HTPC, or NAS device on your local network. iPad and other iDevices can store files locally, and the iPad specifically can also use the Apple Camera Kit to use USB drive and SD cards.

Add-ons and skins

Link
  • Kodi for iOS is a full version of Kodi and will be able to use all non-platform specific Add-ons and Skins. For iPad users, a "Re-Touched" skin is included in Kodi that makes the device easier to use. See Skins for more info about switching to other skins.

Backing up Kodi's settings

Link
  • Most users will just want to use the backup add-on from within Kodi. See Backup for more general backup information, including the add-on.
  • Users can also manually copy the Userdata (via iFile or other file manager app from Cydia) from the iOS device to another computer:
/private/var/mobile/Library/Preferences/Kodi/ for all of your Kodi data, add-ons, skins, etc, or just
/private/var/mobile/Library/Preferences/Kodi/userdata/ for just the settings files themselves (which takes up less space, but means you would have to re-download add-ons, etc).

Touch screen controls

Link
  • Context menu: Single-finger long tap or two-finger single tap the menu item.
  • Go Back: Two finger swipe left.
  • Zoom into/out of Image: Pinch.
  • Slide out menus: Hold the menu item to bring it up, then swipe right to access the sub content.
  • iDevices can use the multitasking player control bar and lockscreen controls for music.

Remotes for iDevices

Link
  • Direct touch screen input
  • Web interface, including add-on interfaces
  • Kodi smartphone and tablet remote apps.
  • Bluetooth keyboards can be used for navigation and playback, in addition to text entry.
  • Headphone remote control of Apple headphones or on bluetooth headphones can control play/pause and next/previous item (playlist or auto play next).

Resolutions iDevices can play and output

Link
  • iDevices can playback most videos as high as 1080p.
  • Retina and widescreen is fully supported on iPhone 4, 4S, 5, 5c, 5S and iPod touch 4, 5.
  • Retina GUI is supported for iPad 3, 4, iPad Air, and iPad mini 2 (Retina) but video playback is still clamped to 720, pending some issues.
  • Native video out as of v12 (Frodo) is now supported for HDMI adapter, VGA adapter, and AirPlay mirroring (to ATV2/3 only for mirroring). See #iOS to TV.

How to use video output to a TV

Link

Native video out as of XBMC v12 (Frodo) is now supported for HDMI adapter, VGA adapter, and AirPlay mirroring (to ATV2/3 only for mirroring). Currently limited to 720P outout:

HDMI/VGA adapter (A4 processor or higher) AirPlay mirroring (requires A5 processor or higher)

1. Before opening XBMC, first plug in the video out adapter and connect it to the display

1. Before opening XBMC enable global AirPlay mirroring

On iOS 6: Double-tapping the home button, swiping from left to right to bring up the volume control and AirPlay icon, and selecting your Apple TV from the options.

On iOS 7/8: Bring up the Control Center by swiping from the bottom of the screen to the top, and then selecting AirPlay, and then select Apple TV from the options.

2. Go to Settings -> Appearance -> Skin and change the skin to something like Confluence (not required, but makes operating XBMC on a TV easier).
3. Go to Settings -> System -> Video output and change it to "Display #2"
4. Now you can use the iDevice screen for directional navigation by swiping. Tap to select things, two finger tap to go back.

Note: AirPlay mirroring only works from an iDevice with an A5 or higher SoC (iPhone 4S, iPad 2/3), and will only stream to the native AirPlay feature of Apple TV 2 and 3 (in other words, it won't work with XBMC's AirPlay server as a target).

iPad camera connector for USB and SD cards

Link
  • Kodi for iOS can read videos and files via the iPad Camera Connector Kit though the SD card reader or the USB port adapter (drives must be self powered or hub powered). Files should show up under /var/mnt/mount1/.
  • As of iOS 8.1.x, it seems that mounting only Apple HFS(+) formatted SD cards is supported.
  • There are limited reports of success mounting FAT32 or exFAT formatted SD cards, even those less than 4 GB in size. Previous versions of iOS (7.x) appear to have supported more file systems.
  • As of iOS 8.1.4, a known good workflow to use an HFS+ formatted SD card as a video source is:
  1. Double-press the Home button to launch the App Switcher and swipe up to close Photos and Kodi, if open already.
  2. Insert the Camera Connection Kit with SD card installed.
  3. Wait several seconds until the message appears: "Cannot Use Device - USB Storage: The connected device is not supported." This may not appear if using a powered USB hub and separate card reader.
  4. Launch the Photos app. It may appear unresponsive and even terminate and re-launch automatically. It should take less than 30 seconds in total for the activity to subside.
  5. Launch Kodi.
  6. If the screen is black for 5-10 seconds after launching Kodi, then double-press the Home button twice, launch the App Switcher, swipe up to close Kodi, and then re-launch Kodi.
  7. Once in Kodi, add a Video source with the path /var/mnt/mount1 to view videos stored on the SD card.

Troubleshooting

Have you tried switching it off then on again?

Getting more help with Kodi for iOS

Link

Userdata folder and logs

Link
  • Userdata: /var/mobile/Library/Preferences/Kodi/userdata/
  • Log_file: /var/mobile/Library/Preferences/kodi.log
  • Syslog: /var/log/syslog
  • CrashReporter: /var/mobile/Library/Logs/CrashReporter/*.plist

Errors while installing

Link
  • Check out this guide for help with SSH/install errors.

Repair settings

Link
  • Settings or sources not stored and updates are failing? This can happen when the setting xml files are manipulated outside Kodi. Connect to your iPad/ATV2 as root using an ssh client and repair file permissions.
  • Run the following SSH command on the iOS device:
chown -R mobile:mobile /private/var/mobile/Library/Preferences/Kodi/

Stuck on a bad skin

Link
  • If you changed skins and now can't navigate back to change it back, delete the guisettings.xml file:

rm /private/var/mobile/Library/Preferences/Kodi/userdata/guisettings.xml

No sound with DTS or AC3

Link
  • It's probably not the Kodi software on your ATV2, but has to do with your receiver. Try this solution.

AC3 files stutter or have static noise

Link
  • AC3 Audio (without using passthrough) can stutter and pause video.
  • Audio output could also be the culprit, go to Apple TV -> Settings -> Audio & Video -> Audio Output and set it to "16 bit".

Not enough space/memory

Link
  • Have you run out of space on your ATV2? Check with (via SSH) the df -k command. If any /dev/disk* filesystems are at 100%, use du -h / to see what's taking up space. or to show which files are, for example, bigger then 9 Mb do find / -size +9000b
  • First places to check are:

Note: you can clear out the files in these folders, but don't delete the folders themselves

    • /private/var/mobile/Library/Preferences/Kodi/addons/packages <- As of v12, this folder should be limited to 200 MB by default, and shouldn't need to be manually cleaned out.
    • /private/var/mobile/Library/Caches/AppleTV/Video/LocalAndRental
    • /private/var/mobile/Library/Caches/AppleTV/Video/Other
    • /private/var/cache/apt/archives/

Thumbnails taking up too much space or are causing long loading times

Link

HOW-TO:Reduce disk space usage

Audio issues and/or slow video playback

Link
  • Make sure that your audio settings are correct. Wrong audio settings will have severely negative effects on video playback.
  • Check to see if your speaker setup is really correct
  • If passthrough: make sure you only enable the audio codecs your receiver supports.
  • Select the correct audio output device for analog and passthrough.
  • Not actually an issue with Kodi: Apple does not provide support for HD-audio passthrough in their audio API, CoreAudio.

Performance: video buffering, stuttering, choppiness

Link
General
  • Switch to a different network protocol (especially if you are using SMB), i.e. NFS, FTP, WebDAV, etc.
  • Try sharing the media on another device to rule out a device-specific (or network) issue.
  • Turn off thumbnail generation (does not affect thumbnails from a library scan), Kodi -> Settings -> Video -> File lists -> and deselect 'Extract thumbnails and video information'.
  • Disable playback sync completely, Kodi -> Settings -> Video -> Playback -> turn off "Sync playback to display"
  • If you are having buffering issues using a Time Capsule on WiFi, try this.
    • See also Thumbnails for speeding up the GUI when it's loading large/lots of thumbnails.
  • Make sure the video isn't interlaced.
  • If the video is in HD, make sure it is using the h.264 codec (up to High Profile. Hi10P will not work, MediaInfo can help).
ATV2
  • Use a wired network connection (if possible, even if just for testing to rule out wireless network issues).
  • Configure Audio Output in Kodi -> Settings -> System -> Audio output -> Select "Optical/Coax", even if you are using HDMI (it will still work).
  • Set to 16-bit audio, Apple TV > Settings > Audio & Video > Audio Output and set it to "16 bit".
  • Try using an ATV iOS version before 4.4.4 to minimize system resource consumption.
  • Reboot to clear out the ATV2's RAM. Sometimes other "apps" like Netflix don't always release RAM when they are done.

Other crash reasons/fixes

Link
General
  • Check your logs for clues.
  • Have you tried to repair permissions on Kodi's settings?
  • Are you using a feature rich skin? Check to see if you're running out of memory.
  • Does your kodi.log have any SQL errors ("database disk image is malformed")? Remove your databases and reboot: (via SSH) rm -f /private/var/mobile/Library/Preferences/Kodi/userdata/Database/*db . Warning: This will reset your video and music libraries.
  • Try turning off thumbnail generation (does not affect thumbnails from a library scan), Kodi > Settings > Video > File and deselect 'generate thumbnails'.
  • Are you using AFP file sharing? If you're seeing LIBAFPCLIENT errors in your logs you may want to switch to a different protocol. AFP is generally stable but development is orphaned at the moment.
  • If your Windows 7 SMB share stops streaming, try this fix
ATV2
  • Do you have Firecore Media Player installed? Try removing it and testing again.
  • Recent versions of Plex on ATV2 can cause Kodi to crash. [1]
  • Is an Apple software update crashing Kodi? Try blocking them.
  • Be sure to disable the native ATV2 AirPlay server in the ATV2's settings. Using the native AirPlay server will crash Kodi, so use Kodi's built in AirPlay server instead. See here.

v16 missing from Cydia

Due do a server issue, the Team Kodi Cydia repo is having problems. Jailbroken iOS users can still manually install Kodi v16. See HOW-TO:Install Kodi for iOS for more info.