MySQL Datenbank wird nicht richtig verwendet

  • Hey Leute :)

    ich bin neu und ein Anfänger in diesen dingen. kann mir da jemand weiter helfen.

    zu meinem system. ich hab ein macbook pro. da ist XBMC installiert. ich hab eine nas ds212+ und ein appleTV2. da ist ebenfalls XBMC installiert. es geht ja eigentlich alles super außer das mit der Datenbank. Ich wollte halt alles auf der nas speichern.

    Ich hab auf der ds212+ die ganzen freigaben gemacht. also einen Benutzer erstellt einen Ordner erstellt und die freigaben für den Ordner eingestellt. Hab auch eine [definition='2','0']as.xml[/definition] gemacht:


    <[definition='2','1']advancedsettings[/definition]>
    <videodatabase>
    <type>mysql</type>
    <host>192.168.2.100</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
    </videodatabase>

    <musicdatabase>
    <type>mysql</type>
    <host>192.168.2.100</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
    </musicdatabase>


    <pathsubstitution>
    <substitute>
    <from>special://masterprofile/Thumbnails/</from>
    <to>smb://192.168.2.100/xbmcthumbs/Thumbnails/</to>
    </substitute>
    </pathsubstitution>
    </[definition='2','1']advancedsettings[/definition]>


    jetzt ist die frage woran erkenne ich das es geht. mein mac zeigt dich cover nicht an. wenn ich einen Datenbank über XBMC erstelle wird es immernoch auf meinem mac gespeichert. kann mir jemand weiter helfen. ich dreh noch durch.  :cursing: :cursing:

  • Schobsn: Habe daraus mal ein eigenes Thema gemacht.
    Wo du das XBMC Logfile findest wird hier beschrieben [FAQ] Wo finde ich das .log-File des XBMC?
    Dort drin sollte stehen was geht und was nicht.

    Amazon Fire TV 4k | KODI 17.X
    HTPC: ASUS F2A85-M LE | A6-5400K | 4GB DDR3-1866 | 128GB SSD | Windows 10 64 bit | KODI 17.X
    AVR: Onkyo TX-NR509 5.1 + Teufel Consono 35
    TV: Samsung UE55ES6300 55"
    FB: Harmony 785

    Wo finde ich das xbmc.log File?

    Wer einen Rechtschreibfehler findet darf ihn behalten !

  • Danke schon mal für eure Hilfe!!!!!!


    19:57:31 T:2905100992 NOTICE: -----------------------------------------------------------------------
    19:57:31 T:2905100992 NOTICE: Starting XBMC (11.0 Git:20120321-14feb09), Platform: Darwin OSX (11.4.0 x86_64, Version 10.7.4 (Build 11E53)). Built on Mar 21 2012
    19:57:31 T:2905100992 NOTICE: special://xbmc/ is mapped to: /Applications/http://XBMC.app/Contents/Resources/XBMC
    19:57:31 T:2905100992 NOTICE: special://xbmcbin/ is mapped to: /Applications/http://XBMC.app/Contents/Resources/XBMC
    19:57:31 T:2905100992 NOTICE: special://masterprofile/ is mapped to: /Users/Schobsn Mac/Library/Application Support/XBMC/userdata
    19:57:31 T:2905100992 NOTICE: special://home/ is mapped to: /Users/Schobsn Mac/Library/Application Support/XBMC
    19:57:31 T:2905100992 NOTICE: special://temp/ is mapped to: /Users/Schobsn Mac/.xbmc/temp
    19:57:31 T:2905100992 NOTICE: special://frameworks/ is mapped to: /Applications/http://XBMC.app/Contents/Frameworks
    19:57:31 T:2905100992 NOTICE: The executable running is: /Applications/http://XBMC.app/Contents/MacOS/XBMC
    19:57:31 T:2905100992 NOTICE: Local hostname: speedport_w723_v_typ_a_1_00_092
    19:57:31 T:2905100992 NOTICE: Log File is located: /Users/Schobsn Mac/Library/Logs/xbmc.[definition='1','0']log[/definition]
    19:57:31 T:2905100992 NOTICE: -----------------------------------------------------------------------
    19:57:31 T:2905100992 NOTICE: Setup SDL
    19:57:31 T:2905100992 NOTICE: load settings...
    19:57:31 T:2905100992 ERROR: Unable to load libcrystalhd.dylib, reason: dlopen(libcrystalhd.dylib, 1): image not found
    19:57:31 T:2905100992 NOTICE: special://profile/ is mapped to: special://masterprofile/
    19:57:31 T:2905100992 NOTICE: loading special://masterprofile/guisettings.xml
    19:57:31 T:2905100992 NOTICE: Getting hardware information now...
    19:57:31 T:2905100992 NOTICE: Checking resolution 12
    19:57:31 T:2905100992 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
    19:57:31 T:2905100992 NOTICE: Loaded playercorefactory configuration
    19:57:31 T:2905100992 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
    19:57:31 T:2905100992 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
    19:57:31 T:2905100992 NOTICE: No settings file to load (special://xbmc/system/[definition='2','1']advancedsettings[/definition].xml)
    19:57:31 T:2905100992 ERROR: Error loading special://profile/[definition='2','1']advancedsettings[/definition].xml, no <[definition='2','1']advancedsettings[/definition]> node
    19:57:31 T:2905100992 NOTICE: Default DVD Player: dvdplayer
    19:57:31 T:2905100992 NOTICE: Default Video Player: dvdplayer
    19:57:31 T:2905100992 NOTICE: Default Audio Player: paplayer
    19:57:31 T:2905100992 NOTICE: Disabled debug logging due to GUI setting. Level 0.
    19:57:31 T:2905100992 NOTICE: Log level changed to 0
    19:57:31 T:2905100992 NOTICE: Loading media sources from special://masterprofile/sources.xml
    19:57:31 T:2905100992 NOTICE: GL_VENDOR = NVIDIA Corporation
    19:57:31 T:2905100992 NOTICE: GL_RENDERER = NVIDIA GeForce GT 330M OpenGL Engine
    19:57:31 T:2905100992 NOTICE: GL_VERSION = 2.1 NVIDIA-7.18.18
    19:57:31 T:2905100992 NOTICE: GL_SHADING_LANGUAGE_VERSION = 1.20
    19:57:31 T:2905100992 NOTICE: GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_APPLE_aux_depth_stencil GL_APPLE_client_storage GL_APPLE_element_array GL_APPLE_fence GL_APPLE_float_pixels GL_APPLE_flush_buffer_range GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_packed_pixels GL_APPLE_pixel_buffer GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_specular_vector GL_APPLE_texture_range GL_APPLE_transform_hint GL_APPLE_vertex_array_object GL_APPLE_vertex_array_range GL_APPLE_vertex_point_size GL_APPLE_vertex_program_evaluators GL_APPLE_ycbcr_422 GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_IBM_rasterpos_clip GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fog_distance GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_point_sprite GL_NV_texgen_reflection GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
    19:57:32 T:2905100992 NOTICE: start dvd mediatype detection
    19:57:32 T:2905100992 NOTICE: initializing playlistplayer
    19:57:32 T:2905100992 NOTICE: DONE initializing playlistplayer
    19:57:32 T:2905100992 NOTICE: UpdateLibraries - Starting video library startup scan
    19:57:32 T:2905100992 NOTICE: initialize done
    19:57:32 T:2905100992 NOTICE: Running the application...
    19:57:32 T:2957119488 NOTICE: VideoInfoScanner: Starting scan ..
    19:57:32 T:2905100992 NOTICE: ES: Starting event server
    19:57:32 T:2959249408 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
    19:57:32 T:2959249408 NOTICE: UDP: Listening on port 9777
    19:57:32 T:2905100992 NOTICE: starting zeroconf publishing
    19:57:32 T:2961448960 NOTICE: -->Python Interpreter Initialized<--
    19:57:33 T:2957651968 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    19:57:50 T:2957119488 NOTICE: Previous line repeats 1 times.
    19:57:50 T:2957119488 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:17
    19:57:59 T:2905100992 NOTICE: Storing total System Uptime
    19:57:59 T:2905100992 NOTICE: Saving settings
    19:57:59 T:2905100992 NOTICE: stop all
    19:57:59 T:2905100992 NOTICE: ES: Stopping event server
    19:57:59 T:2905100992 NOTICE: stopping zeroconf publishing
    19:57:59 T:2959249408 NOTICE: ES: UDP Event server stopped
    19:57:59 T:2905100992 NOTICE: stop dvd detect media
    19:57:59 T:2905100992 NOTICE: stop sap announcement listener
    19:57:59 T:2905100992 NOTICE: clean cached files!
    19:57:59 T:2905100992 NOTICE: unload skin
    19:57:59 T:2905100992 NOTICE: stop python
    19:57:59 T:2905100992 NOTICE: stopped
    19:57:59 T:2905100992 NOTICE: destroy
    19:57:59 T:2905100992 NOTICE: unload sections
    19:58:00 T:2905100992 NOTICE: destroy
    19:58:00 T:2905100992 WARNING: Attempted to remove window 10013 from the window manager when it didn't exist
    19:58:00 T:2905100992 WARNING: Attempted to remove window 10014 from the window manager when it didn't exist
    19:58:00 T:2905100992 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
    19:58:00 T:2905100992 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
    19:58:00 T:2905100992 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
    19:58:00 T:2905100992 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
    19:58:00 T:2905100992 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
    19:58:00 T:2905100992 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
    19:58:00 T:2905100992 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
    19:58:00 T:2905100992 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
    19:58:00 T:2905100992 NOTICE: unload sections
    19:58:00 T:2905100992 NOTICE: application stopped...


    ist das so richtig?

  • Deine [definition='2','1']advancedsettings[/definition].xml wird nicht geladen weil offenbar der <[definition='2','1']advancedsettings[/definition]> Tag am Anfang und/oder der </[definition='2','1']advancedsettings[/definition]> Tag am Ende fehlt. Wenn beide doch vorhanden sein sollten, häng sie mal hier an.

  • Achso

    <[definition='2','1']advancedsettings[/definition]>
    <videodatabase>
    <type>mysql</type>
    <host>192.168.2.100</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
    </videodatabase>

    <musicdatabase>
    <type>mysql</type>
    <host>192.168.2.100</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
    </musicdatabase>


    <pathsubstitution>
    <substitute>
    <from>special://masterprofile/Thumbnails/</from>
    <to>smb://192.168.2.100/xbmcthumbs/Thumbnails/</to>
    </substitute>
    </pathsubstitution>
    </[definition='2','1']advancedsettings[/definition]>

    das ist meine [definition='2','1']advancedsettings[/definition].xml

  • Die sieht eigentlich OK aus.
    Da sie aber laut Logfile dennoch nicht geladen wird hast du sie wohl an der falschen Stellen bzw im falschen Ordner liegen.
    Wo hast du sie denn genau liegen ?
    Schau am besten dazu nochmal hier [FAQ] Die "[definition='2','1']advancedsettings[/definition].xml" und hier http://wiki.xbmc.org/index.php?title=Advancedsettings.xml dort wird jeweils beschrieben wo sie hin muss.

    Obwohl der Fehler aus dem Log

    Zitat

    19:57:31 T:2905100992 NOTICE: No settings file to load (special://xbmc/system/[definition='2','1']advancedsettings[/definition].xml)
    19:57:31 T:2905100992 ERROR: Error loading special://profile/[definition='2','1']advancedsettings[/definition].xml, no <[definition='2','1']advancedsettings[/definition]> node

    Eigentlich darauf hinweißt das die Datei an der richtigen Stelle liegt aber Fehlerhaft ist. Vielleicht hast du ja dort noch eine liegen die z.B. leer ist. Oder eben doch einen leicht anderen Inhalt hat.
    Oder du hast den Inhalt bereits angepasst. Wenn du den Fehler nicht findest wäre ein neues Log angebracht und dann bitte nicht direkt hier posten sondern bei http://xbmclogs.com/ wie es auch unter [FAQ] Wo finde ich das .log-File des XBMC? beschrieben wird.

    Amazon Fire TV 4k | KODI 17.X
    HTPC: ASUS F2A85-M LE | A6-5400K | 4GB DDR3-1866 | 128GB SSD | Windows 10 64 bit | KODI 17.X
    AVR: Onkyo TX-NR509 5.1 + Teufel Consono 35
    TV: Samsung UE55ES6300 55"
    FB: Harmony 785

    Wo finde ich das xbmc.log File?

    Wer einen Rechtschreibfehler findet darf ihn behalten !

  • Also hier mal die Pfade zur Advanced Settings...

    Linux /home/<user>/.<user>/userdata/
    AppleTV /User/Library/Preferences/XBMC/userdata/
    Macbook /Users/<user>/Library/Application Support/XBMC/userdata
    Windows7 C:\User\<user>\AppData\Roaming\XBMC\userdata

    Ich würde auch die Berechtigung prüfen, was mir bei Linux gerne mal passiert, ist dass ich die advancedxxx als root erstelle, wo der normale Benutzer keine berechtigung drauf hat.

    Rehctcshreifbehler düfren beahlten wedren

    Externer Inhalt www.speedtest.net
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
  • ja das mit der [definition='1','0']log[/definition] datei wollte ich ja so machen( http://xbmclogs.com/) hab es aber leider nicht so ganz hin bekommen. deswegen hab ich das dan so eingefügt. hab es aber leider nicht verstanden. also ich hab meine [definition='2','0']as.xml[/definition] in den richtigen ordner auf meinem mac eingefügt. die "[definition='2','1']advancedsettings[/definition].xml" anleitung hab ich schon gesehen.

    wie mach ich den einen neue [definition='1','0']log[/definition]?

  • da musst du nix machen außer XBMC starten und kurz laufen lassen. Das [definition='1','0']log[/definition] erzeugt XBMC von ganz alleine.

    Berechtigungen hast du auch geprüft ?

    Amazon Fire TV 4k | KODI 17.X
    HTPC: ASUS F2A85-M LE | A6-5400K | 4GB DDR3-1866 | 128GB SSD | Windows 10 64 bit | KODI 17.X
    AVR: Onkyo TX-NR509 5.1 + Teufel Consono 35
    TV: Samsung UE55ES6300 55"
    FB: Harmony 785

    Wo finde ich das xbmc.log File?

    Wer einen Rechtschreibfehler findet darf ihn behalten !

  • Sollte bei der [definition='2','1']advancedsettings[/definition].xml egal sein, da sie ja nur gelesen wird.

    Wenn du als root erstellst, geht es nicht... bin da schon das eine und andere mal reingedappt

    Rehctcshreifbehler düfren beahlten wedren

    Externer Inhalt www.speedtest.net
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
  • also entweder du zeigst uns hier das Log von einem anderem XBMC Client oder die [definition='2','1']advancedsettings[/definition].xml liegt definitiv FALSCH bzw hat ERRORS.

    Zitat

    hab die Berechtigungen auf meiner nas geprüft.


    Was hat die Berechtigung auf deiner NAS damit zu tun ? Die [definition='2','1']advancedsettings[/definition].xml muss lokal auf dem XBMC Client liegen, auf der NAS bringt dir die nichts.

    Schreibe mal ganz genau in welchen Ordner auf welchen Rechner die [definition='2','1']advancedsettings[/definition].xml bei dir liegt. Und füge genau diese Datei die dort in dem Ordner liegt an den Beitrag an. (Unter dem Feld wo du deine Nachricht eingibst gibt es ein paar Tabs eins davon heißt Dateianhänge dort kannst du die [definition='2','1']advancedsettings[/definition].xml hochladen.)

    Amazon Fire TV 4k | KODI 17.X
    HTPC: ASUS F2A85-M LE | A6-5400K | 4GB DDR3-1866 | 128GB SSD | Windows 10 64 bit | KODI 17.X
    AVR: Onkyo TX-NR509 5.1 + Teufel Consono 35
    TV: Samsung UE55ES6300 55"
    FB: Harmony 785

    Wo finde ich das xbmc.log File?

    Wer einen Rechtschreibfehler findet darf ihn behalten !

  • Gib mal auf deinem MacBook im Terminal (zu Finden unter Dienstprogramme) den Befehl "ls -la ~/Library/Application\ Support/XBMC/userdata/" ohne die Anführungszeichen ein und poste bitte die Ausgabe hier

  • Hab mal den code und die [definition='2','1']advancedsettings[/definition].xml gepostet. also im richtigen Pfad ist die [definition='2','0']as.xml[/definition] drin.


    Last login: Fri Jun 22 17:29:09 on ttys000
    Dominik-Schobers-MacBook-Pro:~ Schobsn Mac$ ls -la ~/Library/Application\ Support/XBMC/userdata/
    total 120
    drwxr-xr-x 15 Schobsn Mac staff 510 22 Jun 17:28 .
    drwxr-xr-x 10 Schobsn Mac staff 340 3 Jun 17:29 ..
    -rw-r--r--@ 1 Schobsn Mac staff 15364 22 Jun 17:28 .DS_Store
    drwxr-xr-x 10 Schobsn Mac staff 340 21 Jun 20:33 Database
    -rw-r--r-- 1 Schobsn Mac staff 1573 3 Jun 17:27 LCD.xml
    -rw-r--r-- 1 Schobsn Mac staff 391 3 Jun 17:27 RssFeeds.xml
    drwxr-xr-x 22 Schobsn Mac staff 748 20 Jun 18:38 Thumbnails
    drwxr-xr-x 5 Schobsn Mac staff 170 3 Jun 17:30 addon_data
    -rw-r--r-- 1 Schobsn Mac staff 24045 21 Jun 20:34 guisettings.xml
    drwxr-xr-x 2 Schobsn Mac staff 68 3 Jun 17:27 keymaps
    -rw-r--r-- 1 Schobsn Mac staff 134 17 Jun 17:14 mediasources.xml
    drwxr-xr-x 2 Schobsn Mac staff 68 3 Jun 17:27 peripheral_data
    drwxr-xr-x 6 Schobsn Mac staff 204 17 Jun 16:46 playlists
    -rw-r--r-- 1 Schobsn Mac staff 897 21 Jun 20:34 profiles.xml
    -rw-r--r-- 1 Schobsn Mac staff 1521 17 Jun 17:15 sources.xml
    Dominik-Schobers-MacBook-Pro:~ Schobsn Mac$

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!