         return true
     }
 }
-

                return nil
            }
            self.f = {
                let vc = AVPlayerViewController()
                vc.player = AVPlayer(url: url)
                DispatchQueue.main.async {
                    Kitchen.navigationController.pushViewController(vc, animated: true)
                }
            }
        default:
            return nil

import UIKit
import TVMLKitchen

/// Custom Action struct
struct Action {
    private let f: (()->())
    func run() {
        f()
    }
    /// Parse string to a function.
    /// Returns nil if the parameter does not match expectation.
    /// - parameter string: comma separated string
    init?(string: String) {
        let ss = string.components(separatedBy: ",")
        guard ss.count == 2 else {
