How to add music via web interface from Kofi

Max2Play Home 2016 (en) Forums Max2Play on Raspberry PI How to add music via web interface from Kofi

This topic contains 9 replies, has 3 voices, and was last updated by  Heiner Moderator 4 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • 13. May 2017 at 20:37 #28833

    Hi,

    I am using a Raspberry Pi 3 with Hifiberry DAC + pro. I have
    – removed MPD plugin
    – activated Web Interface from Kodi
    – mounted my data via NFS

    I can see the data in the mountpoint /mnt/share in a shell via ssh.

    When I am in the Web Gui from Kodi I do not see any data files. I am not able to enter anything to access my music or video files.

    What do I have to do that I can see and play my music?

    Best regards

    15. May 2017 at 12:36 #28845

    Hi Tecuma,

    How have you activated the web interface form Kodi ? or do you mean that you have activated KODI using the web interface ?

    Could you send us the debug info from the KODI webpage ?

    Best Regards,
    Mohammad Mbydeen

    18. May 2017 at 9:15 #28892

    Hello Mohammad,

    thank you for your answer.

    I have activated the web interface from KODI.

    I have enabled debug logging in the web interface and rebooted the pi.

    Where can I find the logs? How can I upload them for you?

    Best regards

    18. May 2017 at 10:57 #28900

    Hi Tecuma,

    You can find the debug info by clicking on DEBUG Information, and copy it and then past it in your next reply, you can check the below screenshot:

    debug

    Best Regards,
    Mohammad Mbydeen

    30. May 2017 at 18:43 #29120

    Hello Mohammad,

    when I try to enter the web interface “Kodi / XBMC” the page is now empty. The other menu points show content.
    I will reboot the pi tomorrow and check it again.

    Best regards

    31. May 2017 at 9:05 #29124

    Hi,

    after editing my last post twice it is not shown any more. When I reenter it again I get an error about double entry ???

    Best regards

    • This reply was modified 4 months, 2 weeks ago by  Tecuma.
    31. May 2017 at 9:06 #29126

    next try

    Hi Mohammad,

    I have rebooted the system several times. The “Kodi / XBMC” the page was still empty. I logged in via ssh and checked the system. I found that the kodi.log file was very large.

    [email protected]:~/.kodi/temp $ ls -la kodi_log.20170530 
    -rw-r--r-- 1 pi pi 187834980 May 30 18:46 kodi_log.20170530
    

    I moved this file and created a new empty log file. After this and a reboot the “Kodi / XBMC” is back again and I get the debug information.

    
    #### KODI_LOG ####
    08:47:42.131 T:1945817760  NOTICE: special://profile/ is mapped to: special://masterprofile/
    08:47:42.132 T:1945817760  NOTICE: -----------------------------------------------------------------------
    08:47:42.132 T:1945817760  NOTICE: Starting Kodi (17.1 Git:20170401-7804a92-dirty). Platform: Linux ARM 32-bit
    08:47:42.132 T:1945817760  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
    08:47:42.132 T:1945817760  NOTICE: Kodi compiled Apr  2 2017 by GCC 4.9.2 for Linux ARM 32-bit version 3.16.7 (200711)
    08:47:42.132 T:1945817760  NOTICE: Running on Raspbian GNU/Linux 8 (jessie), kernel: Linux ARM 32-bit version 4.4.41-v7+
    08:47:42.139 T:1945817760  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
    08:47:42.139 T:1945817760  NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
    08:47:42.139 T:1945817760  NOTICE: ARM Features: Neon enabled
    08:47:42.139 T:1945817760  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
    08:47:42.139 T:1945817760  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
    08:47:42.139 T:1945817760  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
    08:47:42.139 T:1945817760  NOTICE: special://masterprofile/ is mapped to: /home/pi/.kodi/userdata
    08:47:42.139 T:1945817760  NOTICE: special://envhome/ is mapped to: /home/pi
    08:47:42.139 T:1945817760  NOTICE: special://home/ is mapped to: /home/pi/.kodi
    08:47:42.139 T:1945817760  NOTICE: special://temp/ is mapped to: /home/pi/.kodi/temp
    08:47:42.139 T:1945817760  NOTICE: special://logpath/ is mapped to: /home/pi/.kodi/temp
    08:47:42.139 T:1945817760  NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi_v7.bin
    08:47:42.139 T:1945817760  NOTICE: Local hostname: max2play
    08:47:42.140 T:1945817760  NOTICE: Log File is located: /home/pi/.kodi/temp//kodi.log
    08:47:42.140 T:1945817760  NOTICE: -----------------------------------------------------------------------
    08:47:42.567 T:1945817760   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property CanSuspend
    08:47:42.568 T:1945817760   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property CanHibernate
    08:47:42.577 T:1945817760  NOTICE: load settings...
    08:47:42.900 T:1945817760  NOTICE: Found 2 Lists of Devices
    08:47:42.900 T:1945817760  NOTICE: Enumerated PI devices:
    08:47:42.900 T:1945817760  NOTICE:     Device 1
    08:47:42.901 T:1945817760  NOTICE:         m_deviceName      : HDMI
    08:47:42.901 T:1945817760  NOTICE:         m_displayName     : HDMI
    08:47:42.901 T:1945817760  NOTICE:         m_displayNameExtra:
    08:47:42.901 T:1945817760  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
    08:47:42.901 T:1945817760  NOTICE:         m_channels        : FL,FR
    08:47:42.901 T:1945817760  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
    08:47:42.901 T:1945817760  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_RAW
    08:47:42.902 T:1945817760  NOTICE:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512
    08:47:42.902 T:1945817760  NOTICE:     Device 2
    08:47:42.902 T:1945817760  NOTICE:         m_deviceName      : Analogue
    08:47:42.902 T:1945817760  NOTICE:         m_displayName     : Analogue
    08:47:42.902 T:1945817760  NOTICE:         m_displayNameExtra:
    08:47:42.902 T:1945817760  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
    08:47:42.902 T:1945817760  NOTICE:         m_channels        : FL,FR
    08:47:42.902 T:1945817760  NOTICE:         m_sampleRates     : 48000
    08:47:42.902 T:1945817760  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
    08:47:42.902 T:1945817760  NOTICE:         m_streamTypes     : No passthrough capabilities
    08:47:42.902 T:1945817760  NOTICE:     Device 3
    08:47:42.902 T:1945817760  NOTICE:         m_deviceName      : Both
    08:47:42.902 T:1945817760  NOTICE:         m_displayName     : HDMI and Analogue
    08:47:42.902 T:1945817760  NOTICE:         m_displayNameExtra:
    08:47:42.903 T:1945817760  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
    08:47:42.903 T:1945817760  NOTICE:         m_channels        : FL,FR
    08:47:42.903 T:1945817760  NOTICE:         m_sampleRates     : 48000
    08:47:42.903 T:1945817760  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
    08:47:42.903 T:1945817760  NOTICE:         m_streamTypes     : No passthrough capabilities
    08:47:42.903 T:1945817760  NOTICE: Enumerated ALSA devices:
    08:47:42.903 T:1945817760  NOTICE:     Device 1
    08:47:42.903 T:1945817760  NOTICE:         m_deviceName      : @
    08:47:42.903 T:1945817760  NOTICE:         m_displayName     : Default (snd_rpi_hifiberry_dacplus Analog)
    08:47:42.903 T:1945817760  NOTICE:         m_displayNameExtra:
    08:47:42.903 T:1945817760  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
    08:47:42.903 T:1945817760  NOTICE:         m_channels        : FL,FR
    08:47:42.903 T:1945817760  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000
    08:47:42.903 T:1945817760  NOTICE:         m_dataFormats     : AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
    08:47:42.903 T:1945817760  NOTICE:         m_streamTypes     : No passthrough capabilities
    08:47:42.976 T:1945817760  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
    08:47:42.976 T:1945817760  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                                <?xml version="1.0" encoding="UTF-8" ?>
                                                <advancedsettings>
                                                  <fanartres>720</fanartres>
                                                  <imageres>540</imageres>
                                                  <video>
                                                    <busydialogdelayms>750</busydialogdelayms>
                                                  </video>
                                                  <samba>
                                                    <clienttimeout>30</clienttimeout>
                                                  </samba>
                                                  <cache>
                                                    <memorysize>31457280</memorysize>
                                                  </cache>
                                                </advancedsettings>
    08:47:42.979 T:1945817760  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
    08:47:42.979 T:1945817760  NOTICE: Default Video Player: VideoPlayer
    08:47:42.980 T:1945817760  NOTICE: Default Audio Player: paplayer
    08:47:42.980 T:1945817760  NOTICE: Disabled debug logging due to GUI setting. Level 0.
    08:47:42.980 T:1945817760  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
    08:47:42.980 T:1945817760  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
    08:47:42.983 T:1945817760  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
    08:47:42.986 T:1945817760  NOTICE: Loaded playercorefactory configuration
    08:47:42.986 T:1945817760  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
    08:47:42.986 T:1945817760  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
    08:47:43.062 T:1945817760  NOTICE: Running database version Addons27
    08:47:43.426 T:1945817760  NOTICE: ADDONS: Using repository repository.xbmc.org
    08:47:43.627 T:1945817760  NOTICE: Raspberry PI firmware version: Jan 12 2017 16:26:58 
                                                Copyright (c) 2012 Broadcom
                                                version fb625007a0f3b64082b41e15f73c08960376289a (clean) (release)
    08:47:43.627 T:1945817760  NOTICE: ARM mem: 880MB GPU mem: 128MB MPG2:0 WVC1:0
    08:47:43.627 T:1945817760  NOTICE: cache.memorysize: 30MB libass.cache: 0MB
    08:47:43.627 T:1945817760  NOTICE: Config:
                                                arm_freq=1200
                                                audio_pwm_mode=1
                                                config_hdmi_boost=5
                                                core_freq=400
                                                desired_osc_freq=0x36ee80
                                                disable_commandline_tags=2
                                                disable_l2cache=1
                                                enable_uart=1
                                                force_eeprom_read=1
                                                force_pwm_open=1
                                                framebuffer_ignore_alpha=1
                                                framebuffer_swap=1
                                                gpu_freq=300
                                                hdmi_force_cec_address=65535
                                                init_uart_clock=0x2dc6c00
                                                lcd_framerate=60
                                                over_voltage_avs=37500
                                                over_voltage_avs_boost=37500
                                                overscan_bottom=32
                                                overscan_left=32
                                                overscan_right=32
                                                overscan_top=32
                                                pause_burst_frames=1
                                                program_serial_random=1
                                                sdram_freq=450
                                                temp_limit=85
    08:47:43.628 T:1945817760  NOTICE: Config:
                                                device_tree=-
    08:47:43.628 T:1945817760  NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
    08:47:43.629 T:1945817760  NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480i @ 60.000000 Hz
    08:47:43.629 T:1945817760  NOTICE: Found ([email protected]) at 16, setting to RES_DESKTOP at 16
    08:47:43.629 T:1945817760  NOTICE: Checking resolution 16
    08:47:43.660 T:1945817760  NOTICE: GL_VENDOR = Broadcom
    08:47:43.660 T:1945817760  NOTICE: GL_RENDERER = VideoCore IV HW
    08:47:43.660 T:1945817760  NOTICE: GL_VERSION = OpenGL ES 2.0
    08:47:43.660 T:1945817760  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
    08:47:43.660 T:1945817760  NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_APPLE_rgb_422 GL_EXT_debug_marker
    08:47:45.061 T:1806693296  NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
    08:47:45.063 T:1781527472   ERROR: CecLogMessage - RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
    08:47:45.064 T:1781527472   ERROR: CecLogMessage - Open - vc_cec could not be initialised
    08:47:45.064 T:1781527472   ERROR: CecLogMessage - could not open a connection (try 1)
    08:47:45.072 T:1924010928  NOTICE: Running database version Addons27
    08:47:45.076 T:1924010928  NOTICE: Running database version ViewModes6
    08:47:45.081 T:1924010928  NOTICE: Running database version Textures13
    08:47:45.104 T:1924010928  NOTICE: Running database version MyMusic60
    08:47:45.142 T:1924010928  NOTICE: Running database version MyVideos107
    08:47:45.148 T:1924010928  NOTICE: Running database version TV29
    08:47:45.158 T:1924010928  NOTICE: Running database version Epg11
    08:47:45.164 T:1945817760  NOTICE: start dvd mediatype detection
     
    
    	

    Best regards

    31. May 2017 at 11:47 #29133

    Hi Tecuma,

    Your log does not have any anomalies. However, your issues with the Kodi web interface menu are problematic. We cannot recreate these easily. Can you still access the Kodi HDMI output normally? If so, please check what folder hierarchy shows up when you look for your mounted folder and share it.

    9. June 2017 at 6:53 #29437

    Hello Heiner,

    thank you for your feedback.

    According to an entry in the kodi forum there is a user of raspbian who has the same problem.
    kodi-forum-webinterface

    I have now rebuild the library for videos and music new via hdmi+keyboard. In Kodi I can see the folders I have mounted from my nas like I can see it in the shell under /mnt/share.

    Best regards

    12. June 2017 at 11:54 #29504

    Hi Tecuma,

    Great to hear you resolved your issues.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Register here