{"action":"created","issue":{"url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/254","labels_url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/254/comments","events_url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/254/events","html_url":"https://github.com/YAMJ/yamj-v3/issues/254","id":104552811,"number":254,"title":"duplicated player return with api/player/list.json?","user":{"login":"jluc2808","id":3936741,"avatar_url":"https://avatars.githubusercontent.com/u/3936741?v=3","gravatar_id":"","url":"https://api.github.com/users/jluc2808","html_url":"https://github.com/jluc2808","followers_url":"https://api.github.com/users/jluc2808/followers","following_url":"https://api.github.com/users/jluc2808/following{/other_user}","gists_url":"https://api.github.com/users/jluc2808/gists{/gist_id}","starred_url":"https://api.github.com/users/jluc2808/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jluc2808/subscriptions","organizations_url":"https://api.github.com/users/jluc2808/orgs","repos_url":"https://api.github.com/users/jluc2808/repos","events_url":"https://api.github.com/users/jluc2808/events{/privacy}","received_events_url":"https://api.github.com/users/jluc2808/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/YAMJ/yamj-v3/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/YAMJ/yamj-v3/labels/YAMJ-API","name":"YAMJ-API","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-02T19:14:25Z","updated_at":"2015-09-03T02:31:32Z","closed_at":"2015-09-02T21:30:38Z","body":"with api/player/list.json?\r\n\r\nplayer return are duplicated as many time as there is path setted \r\n\"count\": 10,\r\n    \"totalCount\": 10,\r\n    \"queryDuration\": \"10ms\",\r\n    \"queryTime\": \"2015-09-02 21:09:34 +0200\",\r\n    \"status\": {\r\n        \"status\": 200,\r\n        \"message\": \"OK\"\r\n    },\r\n    \"options\": {\r\n        \"mode\": \"EXACT\"\r\n    },\r\n    \"baseArtworkUrl\": \"http://192.168.1.10:8888/artwork/\",\r\n    \"baseMediainfoUrl\": \"http://192.168.1.10:8888/mediainfo/\",\r\n    \"basePhotoUrl\": \"http://192.168.1.10:8888/photo/\",\r\n    \"baseTrailerUrl\": \"http://192.168.1.10:8888/trailer/\",\r\n    \"results\": [\r\n        {\r\n            \"id\": 1,\r\n            \"name\": \"C200\",\r\n            \"deviceType\": \"PCH\",\r\n            \"ipAddress\": \"192.168.1.30\",\r\n            \"paths\": [\r\n                {\r\n                    \"id\": 2,\r\n                    \"sourcePath\": \"U:\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/SATA_DISK\"\r\n                },\r\n                {\r\n                    \"id\": 3,\r\n                    \"sourcePath\": \"D:\\\\Mes films\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/NETWORK_SHARE/MYPC\"\r\n                },\r\n                {\r\n                    \"id\": 1,\r\n                    \"sourcePath\": \"T:\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/NETWORK_SHARE/SYNO\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": 1,\r\n            \"name\": \"C200\",\r\n            \"deviceType\": \"PCH\",\r\n            \"ipAddress\": \"192.168.1.30\",\r\n            \"paths\": [\r\n                {\r\n                    \"id\": 2,\r\n                    \"sourcePath\": \"U:\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/SATA_DISK\"\r\n                },\r\n                {\r\n                    \"id\": 3,\r\n                    \"sourcePath\": \"D:\\\\Mes films\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/NETWORK_SHARE/MYPC\"\r\n                },\r\n                {\r\n                    \"id\": 1,\r\n                    \"sourcePath\": \"T:\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/NETWORK_SHARE/SYNO\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": 1,\r\n            \"name\": \"C200\",\r\n            \"deviceType\": \"PCH\",\r\n            \"ipAddress\": \"192.168.1.30\",\r\n            \"paths\": [\r\n                {\r\n                    \"id\": 2,\r\n                    \"sourcePath\": \"U:\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/SATA_DISK\"\r\n                },\r\n                {\r\n                    \"id\": 3,\r\n                    \"sourcePath\": \"D:\\\\Mes films\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/NETWORK_SHARE/MYPC\"\r\n                },\r\n                {\r\n                    \"id\": 1,\r\n                    \"sourcePath\": \"T:\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/NETWORK_SHARE/SYNO\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": 2,\r\n            \"name\": \"PC-JLUC\",\r\n            \"deviceType\": \"PC\",\r\n            \"ipAddress\": \"192.168.1.19\",\r\n            \"paths\": [\r\n                {\r\n                    \"id\": 5,\r\n                    \"sourcePath\": \"/volume1/Media/\",\r\n                    \"targetPath\": \"file:///T:\"\r\n                },\r\n                {\r\n                    \"id\": 6,\r\n                    \"sourcePath\": \"D:\\\\Mes films\",\r\n                    \"targetPath\": \"file:///D:/Mes films\"\r\n                },\r\n                {\r\n                    \"id\": 4,\r\n                    \"sourcePath\": \"T:\",\r\n                    \"targetPath\": \"file:///T:\"\r\n                },\r\n                {\r\n                    \"id\": 7,\r\n                    \"sourcePath\": \"U:\",\r\n                    \"targetPath\": \"file:///U:\"\r\n                },\r\n                {\r\n                    \"id\": 8,\r\n                    \"sourcePath\": \"W:\",\r\n                    \"targetPath\": \"file:///W:\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": 2,\r\n            \"name\": \"PC-JLUC\",\r\n            \"deviceType\": \"PC\",\r\n            \"ipAddress\": \"192.168.1.19\",\r\n            \"paths\": [\r\n                {\r\n                    \"id\": 5,\r\n                    \"sourcePath\": \"/volume1/Media/\",\r\n                    \"targetPath\": \"file:///T:\"\r\n                },\r\n                {\r\n                    \"id\": 6,\r\n                    \"sourcePath\": \"D:\\\\Mes films\",\r\n                    \"targetPath\": \"file:///D:/Mes films\"\r\n                },\r\n                {\r\n                    \"id\": 4,\r\n                    \"sourcePath\": \"T:\",\r\n                    \"targetPath\": \"file:///T:\"\r\n                },\r\n                {\r\n                    \"id\": 7,\r\n                    \"sourcePath\": \"U:\",\r\n                    \"targetPath\": \"file:///U:\"\r\n                },\r\n                {\r\n                    \"id\": 8,\r\n                    \"sourcePath\": \"W:\",\r\n                    \"targetPath\": \"file:///W:\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": 2,\r\n            \"name\": \"PC-JLUC\",\r\n            \"deviceType\": \"PC\",\r\n            \"ipAddress\": \"192.168.1.19\",\r\n            \"paths\": [\r\n                {\r\n                    \"id\": 5,\r\n                    \"sourcePath\": \"/volume1/Media/\",\r\n                    \"targetPath\": \"file:///T:\"\r\n                },\r\n                {\r\n                    \"id\": 6,\r\n                    \"sourcePath\": \"D:\\\\Mes films\",\r\n                    \"targetPath\": \"file:///D:/Mes films\"\r\n                },\r\n                {\r\n                    \"id\": 4,\r\n                    \"sourcePath\": \"T:\",\r\n                    \"targetPath\": \"file:///T:\"\r\n                },\r\n                {\r\n                    \"id\": 7,\r\n                    \"sourcePath\": \"U:\",\r\n                    \"targetPath\": \"file:///U:\"\r\n                },\r\n                {\r\n                    \"id\": 8,\r\n                    \"sourcePath\": \"W:\",\r\n                    \"targetPath\": \"file:///W:\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": 2,\r\n            \"name\": \"PC-JLUC\",\r\n            \"deviceType\": \"PC\",\r\n            \"ipAddress\": \"192.168.1.19\",\r\n            \"paths\": [\r\n                {\r\n                    \"id\": 5,\r\n                    \"sourcePath\": \"/volume1/Media/\",\r\n                    \"targetPath\": \"file:///T:\"\r\n                },\r\n                {\r\n                    \"id\": 6,\r\n                    \"sourcePath\": \"D:\\\\Mes films\",\r\n                    \"targetPath\": \"file:///D:/Mes films\"\r\n                },\r\n                {\r\n                    \"id\": 4,\r\n                    \"sourcePath\": \"T:\",\r\n                    \"targetPath\": \"file:///T:\"\r\n                },\r\n                {\r\n                    \"id\": 7,\r\n                    \"sourcePath\": \"U:\",\r\n                    \"targetPath\": \"file:///U:\"\r\n                },\r\n                {\r\n                    \"id\": 8,\r\n                    \"sourcePath\": \"W:\",\r\n                    \"targetPath\": \"file:///W:\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": 2,\r\n            \"name\": \"PC-JLUC\",\r\n            \"deviceType\": \"PC\",\r\n            \"ipAddress\": \"192.168.1.19\",\r\n            \"paths\": [\r\n                {\r\n                    \"id\": 5,\r\n                    \"sourcePath\": \"/volume1/Media/\",\r\n                    \"targetPath\": \"file:///T:\"\r\n                },\r\n                {\r\n                    \"id\": 6,\r\n                    \"sourcePath\": \"D:\\\\Mes films\",\r\n                    \"targetPath\": \"file:///D:/Mes films\"\r\n                },\r\n                {\r\n                    \"id\": 4,\r\n                    \"sourcePath\": \"T:\",\r\n                    \"targetPath\": \"file:///T:\"\r\n                },\r\n                {\r\n                    \"id\": 7,\r\n                    \"sourcePath\": \"U:\",\r\n                    \"targetPath\": \"file:///U:\"\r\n                },\r\n                {\r\n                    \"id\": 8,\r\n                    \"sourcePath\": \"W:\",\r\n                    \"targetPath\": \"file:///W:\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": 3,\r\n            \"name\": \"C200-2\",\r\n            \"deviceType\": \"PCH\",\r\n            \"ipAddress\": \"192.168.1.25\",\r\n            \"paths\": [\r\n                {\r\n                    \"id\": 9,\r\n                    \"sourcePath\": \"T:\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/NETWORK_SHARE/SYNO\"\r\n                },\r\n                {\r\n                    \"id\": 10,\r\n                    \"sourcePath\": \"D:\\\\Mes films\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/NETWORK_SHARE/MYPC\"\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"id\": 3,\r\n            \"name\": \"C200-2\",\r\n            \"deviceType\": \"PCH\",\r\n            \"ipAddress\": \"192.168.1.25\",\r\n            \"paths\": [\r\n                {\r\n                    \"id\": 9,\r\n                    \"sourcePath\": \"T:\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/NETWORK_SHARE/SYNO\"\r\n                },\r\n                {\r\n                    \"id\": 10,\r\n                    \"sourcePath\": \"D:\\\\Mes films\",\r\n                    \"targetPath\": \"/opt/sybhttpd/localhost.drives/NETWORK_SHARE/MYPC\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}"},"comment":{"url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/comments/137304386","html_url":"https://github.com/YAMJ/yamj-v3/issues/254#issuecomment-137304386","issue_url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/254","id":137304386,"user":{"login":"jluc2808","id":3936741,"avatar_url":"https://avatars.githubusercontent.com/u/3936741?v=3","gravatar_id":"","url":"https://api.github.com/users/jluc2808","html_url":"https://github.com/jluc2808","followers_url":"https://api.github.com/users/jluc2808/followers","following_url":"https://api.github.com/users/jluc2808/following{/other_user}","gists_url":"https://api.github.com/users/jluc2808/gists{/gist_id}","starred_url":"https://api.github.com/users/jluc2808/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jluc2808/subscriptions","organizations_url":"https://api.github.com/users/jluc2808/orgs","repos_url":"https://api.github.com/users/jluc2808/repos","events_url":"https://api.github.com/users/jluc2808/events{/privacy}","received_events_url":"https://api.github.com/users/jluc2808/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T02:31:32Z","updated_at":"2015-09-03T02:31:32Z","body":"updated like specified \r\ntested OK after update and new version \r\n"}}